Re: [Dev] [BAM] Minimom Memory for BAM
Found the reason for bam not able to execute the summarisation script. this was due to less disk space on server. Even though there was 7GB disk space available on the server, it had only 700 inode for filesystem. I deleted the files that not needed. This solved the issue. *Ayyoob Hamza* *Software Engineer* WSO2 Inc.; http://wso2.com email: ayy...@wso2.com cell: +94 77 1681010 %2B94%2077%207779495 On Sun, Jul 19, 2015 at 10:37 AM, Ayyoob Hamza ayy...@wso2.com wrote: Hi, We are working on pushing sensor data into the BAM. Suddenly bam summarisation stopped working after a while, however still the sensor events are being pushed into Cassandra. I just wanted to know, if the number of data points increases then does it requires more of a reasonable amount of memory(RAM) to summarise. is that the default behaviour of BAM ?. If that is the case, what is the minimum requirement for the memory needed for an instance to be run on a production environment. Or wanted to know having a machine more than the pre requisite[1] is sufficient ? https://docs.wso2.com/display/BAM250/Installation+Prerequisites Thanks, *Ayyoob Hamza* *Software Engineer* WSO2 Inc.; http://wso2.com email: ayy...@wso2.com cell: +94 77 1681010 %2B94%2077%207779495 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] AS platform test automation for clustering
Hi, We are running a cluster test automation for an AS cluster to test the Dep Sync functionality. In AS cluster we have a manger node and two worker nodes fronted by an Nginx load balancer. When testing the web app undeployment, we are following the below steps. 1. Undeploy the webapp from the manager node; webapp removed from svn repo and cluster message is sent. 2. Worker node receive the cluster message and undeploy the web app with an svn update. 3. At this point, we are sending an HTTP request to the webapp in a worker node to see whether the undeployment has taken place as expected in worker nodes. 4. We are expecting an HTTP 404 (Not Found) response from the worker node. This test was passing initially and now got failed the reason being that worker node response sending the HTTP 302 (Moved Temporarily) response instead of HTTP 404. What should be the correct behaviour? After undeploying the webapp and further HTTP requests are received to the removed webapp, what should be the node response; HTTP 302 or HTTP 404? Thanks, Suhan -- Suhan Dharmasuriya Software Engineer - Test Automation *WSO2, Inc. * lean . enterprise . middleware Tel: +94 112 145345 Mob: +94 779 869138 Blog: http://suhan-opensource.blogspot.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Can't login as tenant in publisher
Hi Udara, We didn't test the tenant scenarios yet as those are decided to move with APIM 2.0.0. However I checked tenant login in publisher store and getting the same issue as Shazni mentioned. Thanks; On Sat, Jul 18, 2015 at 1:42 AM, Udara Rathnayake uda...@wso2.com wrote: Hi Lalaji/Dhanuka/Harsha, Have you guys tried out tenant scenarios with the new extension model? Asking this to narrow down possible issues since we haven't encounted this issue within ES pack. Regards, UdaraR On Sat, Jul 18, 2015 at 5:33 AM, Shazni Nazeer sha...@wso2.com wrote: Hi Sameera, Thanks for the response. The problem in concern is to have the ability to login into tenants in the default pack. Setting useTenantKey true manually also solves the problem of inability to login to tenants (But not the issue of inability to login to publisher after an unsuccessful attempt, needing a restart) Therefore, appreciate if this could be incorporated into es-feature by default, so that either the above mentioned useTenantKey attribute set to true or with your above mentioned work around. Shazni Nazeer Mob : +94 37331 LinkedIn : http://lk.linkedin.com/in/shazninazeer Blog : http://shazninazeer.blogspot.com On Fri, Jul 17, 2015 at 9:12 PM, Sameera Medagammaddegedara samee...@wso2.com wrote: Hi Shazni, As a temporary work around please set the active authentication method to basic in order to continue with development and QA. You can do this by: 1. Edit the publisher.json and change activeMethod to basic [1] 2. Edit the store.json and change activeMethod to basic [2] *Reference* [1] https://github.com/wso2/carbon-store/blob/master/apps/publisher/config/publisher.json#L50 [2] https://github.com/wso2/carbon-store/blob/master/apps/store/config/store.json#L27 On Fri, Jul 17, 2015 at 10:34 AM, Shazni Nazeer sha...@wso2.com wrote: Hi ES-team, In G-Reg publisher default pack, we are unable to login as a tenant. We get the exception shown in [3] in the console. And subsequently it's not possible to login to publisher by any means unless restarting the server. This turned out be due to useTenantKey attribute in repository/deployment/server/jaggeryapps/publisher/config/publisher.json and repository/deployment/server/jaggeryapps/store/config/store.json in publisher and store respectively being false. Unable to login into publisher and store as tenants in default pack is an issue for us. Further, after a failed attempt to login as a tenant, needing a restart is also an issue [1] Appreciate we could get this resolved so that a tenant can login in the default pack? [1] https://wso2.org/jira/browse/STORE-922 [2] https://wso2.org/jira/browse/REGISTRY-2687 [3] org.opensaml.xml.validation.ValidationException: Signature did not validate against the credential's key at org.opensaml.xml.signature.SignatureValidator.validate(SignatureValidator.java:78) at org.jaggeryjs.modules.sso.common.util.Util.validateSignature(Util.java:290) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:126) at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:225) at org.mozilla.javascript.optimizer.OptRuntime.callN(OptRuntime.java:52) at org.jaggeryjs.rhino.sso.scripts.c0._c_anonymous_3(sso/scripts/sso.client.js:55) at org.jaggeryjs.rhino.sso.scripts.c0.call(sso/scripts/sso.client.js) at org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:42) at org.jaggeryjs.rhino.publisher.controllers.c2._c_anonymous_1(/publisher/controllers/acs.jag:68) at org.jaggeryjs.rhino.publisher.controllers.c2.call(/publisher/controllers/acs.jag) at org.mozilla.javascript.optimizer.OptRuntime.call0(OptRuntime.java:23) at org.jaggeryjs.rhino.publisher.controllers.c2._c_script_0(/publisher/controllers/acs.jag:20) at org.jaggeryjs.rhino.publisher.controllers.c2.call(/publisher/controllers/acs.jag) at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:394) at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3091) at org.jaggeryjs.rhino.publisher.controllers.c2.call(/publisher/controllers/acs.jag) at org.jaggeryjs.rhino.publisher.controllers.c2.exec(/publisher/controllers/acs.jag) at org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:567) at org.jaggeryjs.scriptengine.engine.RhinoEngine.exec(RhinoEngine.java:273) at org.jaggeryjs.jaggery.core.manager.WebAppManager.exec(WebAppManager.java:587) at org.jaggeryjs.jaggery.core.manager.WebAppManager.execute(WebAppManager.java:507) at org.jaggeryjs.jaggery.core.JaggeryServlet.doPost(JaggeryServlet.java:29) at javax.servlet.http.HttpServlet.service(HttpServlet.java:646) at
Re: [Dev] [AF] Problem with building CAR files in jenkins with custom repo location
Hi Danushka, You have to set the class attribute of the localRepository element of the job config to org.wso2.carbon.appfactory.jenkins.extentions.AFLocalRepositoryLocator to use the tenant specific m2 Repo as in [1]. Then when a build is triggered, locate[2][3] method of the AFLocalRepositoryLocator will be invoked and it will choose the .m2 repo location accordingly [1] https://github.com/wso2/product-af/blob/master/modules/components/org.wso2.carbon.appfactory.core/src/main/resources/jenkins-config.xml#L104 [2] https://github.com/wso2/product-af/blob/master/modules/webapps/appfactory-plugin/src/main/java/org/wso2/carbon/appfactory/jenkins/extentions/AFLocalRepositoryLocator.java#L49 [3] http://buddycode.blogspot.com/2015/06/jenkins-deployment-in-wso2-appfactory.html Regards, Samith On Sat, Jul 18, 2015 at 6:30 PM, Danushka Fernando danush...@wso2.com wrote: Hi All Currently I am working on [1]. While working on it I faced $subject. In AF we are using jenkins as the default build server and for each tenant we point to a custom repository (maven repository) location so all tenant artifacts are installed their own repository. But when I build the Resources Project with these settings it install the artifacts to the basic .m2 folder of the afpuppet user (owner of the jenkins process). I guess this is a bug in some plugin we developed. Can some one shed some light on this since I am stuck on this. [1] [Architecture] [AF] Adding CAR application type to App Factory Thanks Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Best Regards Samith Dassanayake Software Engineer | Cloud TG WSO2, Inc. | http://wso2.com lean. enterprise. middleware Mobile : +947 76207351 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] charon-v2.0.0-wso2v4 released to staging
Thanks ... Sent from my mobile On Jul 19, 2015 10:55 AM, KasunG Gajasinghe kas...@wso2.com wrote: Hi Prasad, Released the repo. Thanks. On Sat, Jul 18, 2015 at 1:18 PM, Prasad Tissera pras...@wso2.com wrote: charon-v2.0.0-wso2v4 released to staging [1] and verified the fixes. Please review and move to public. [1]. http://maven.wso2.org/nexus/content/repositories/orgwso2charon-005/ Regards, Prasad. -- Prasad Tissera Software Engineer. Mobile : +94777223444 -- *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc. email: kasung AT spamfree wso2.com linked-in: http://lk.linkedin.com/in/gajasinghe blog: http://kasunbg.org ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] AS platform test automation for clustering
It should be 404, but since the management console is registered as the ROOT webapp, the requests to non-existing webapps gets redirected to that. Hence, you are seeing a 302 redirect rather than a 404. If you need to get rid of this behavior, you need to set the WebContextRoot under carbon.xml to change the context of the mgt console webapp. On Sun, Jul 19, 2015 at 3:46 PM, Suhan Dharmasuriya suh...@wso2.com wrote: Hi, We are running a cluster test automation for an AS cluster to test the Dep Sync functionality. In AS cluster we have a manger node and two worker nodes fronted by an Nginx load balancer. When testing the web app undeployment, we are following the below steps. 1. Undeploy the webapp from the manager node; webapp removed from svn repo and cluster message is sent. 2. Worker node receive the cluster message and undeploy the web app with an svn update. 3. At this point, we are sending an HTTP request to the webapp in a worker node to see whether the undeployment has taken place as expected in worker nodes. 4. We are expecting an HTTP 404 (Not Found) response from the worker node. This test was passing initially and now got failed the reason being that worker node response sending the HTTP 302 (Moved Temporarily) response instead of HTTP 404. What should be the correct behaviour? After undeploying the webapp and further HTTP requests are received to the removed webapp, what should be the node response; HTTP 302 or HTTP 404? Thanks, Suhan -- Suhan Dharmasuriya Software Engineer - Test Automation *WSO2, Inc. * lean . enterprise . middleware Tel: +94 112 145345 Mob: +94 779 869138 Blog: http://suhan-opensource.blogspot.com/ -- *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc. email: kasung AT spamfree wso2.com linked-in: http://lk.linkedin.com/in/gajasinghe blog: http://kasunbg.org ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [AF] Problem with building CAR files in jenkins with custom repo location
Hi Samith I am using AF dev setup. So its using the custom location as repo. Problem is wso2 project plugin installs the artifact to .m2 rather than to the custom repo. So when it's building the car its looking for the artifact in custom repo and its not there so build fails. So if I copy .m2 artifact and trigger Jenkins build its building without an issue. Problem is with the plugin. Setup is working correctly. Thanks Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Jul 19, 2015 5:57 PM, Samith Dassanayake sam...@wso2.com wrote: Hi Danushka, You have to set the class attribute of the localRepository element of the job config to org.wso2.carbon.appfactory.jenkins.extentions.AFLocalRepositoryLocator to use the tenant specific m2 Repo as in [1]. Then when a build is triggered, locate[2][3] method of the AFLocalRepositoryLocator will be invoked and it will choose the .m2 repo location accordingly [1] https://github.com/wso2/product-af/blob/master/modules/components/org.wso2.carbon.appfactory.core/src/main/resources/jenkins-config.xml#L104 [2] https://github.com/wso2/product-af/blob/master/modules/webapps/appfactory-plugin/src/main/java/org/wso2/carbon/appfactory/jenkins/extentions/AFLocalRepositoryLocator.java#L49 [3] http://buddycode.blogspot.com/2015/06/jenkins-deployment-in-wso2-appfactory.html Regards, Samith On Sat, Jul 18, 2015 at 6:30 PM, Danushka Fernando danush...@wso2.com wrote: Hi All Currently I am working on [1]. While working on it I faced $subject. In AF we are using jenkins as the default build server and for each tenant we point to a custom repository (maven repository) location so all tenant artifacts are installed their own repository. But when I build the Resources Project with these settings it install the artifacts to the basic .m2 folder of the afpuppet user (owner of the jenkins process). I guess this is a bug in some plugin we developed. Can some one shed some light on this since I am stuck on this. [1] [Architecture] [AF] Adding CAR application type to App Factory Thanks Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Best Regards Samith Dassanayake Software Engineer | Cloud TG WSO2, Inc. | http://wso2.com lean. enterprise. middleware Mobile : +947 76207351 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [AF] Problem with building CAR files in jenkins with custom repo location
Hi Danushka, By setting localRepository value as I have mentioned above, jenkins will set the Dmaven.repo.local(local repository location) option using the above method. I think in your case, wso2 project plugin is using the localRepository[1] defined in the the global configuration($M2_HOME/conf/setting.xml) even it is passed as a maven option Dmaven.repo.local. [1] https://maven.apache.org/guides/mini/guide-configuring-maven.html Regards, Samith On Sun, Jul 19, 2015 at 6:34 PM, Danushka Fernando danush...@wso2.com wrote: Hi Samith I am using AF dev setup. So its using the custom location as repo. Problem is wso2 project plugin installs the artifact to .m2 rather than to the custom repo. So when it's building the car its looking for the artifact in custom repo and its not there so build fails. So if I copy .m2 artifact and trigger Jenkins build its building without an issue. Problem is with the plugin. Setup is working correctly. Thanks Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Jul 19, 2015 5:57 PM, Samith Dassanayake sam...@wso2.com wrote: Hi Danushka, You have to set the class attribute of the localRepository element of the job config to org.wso2.carbon.appfactory.jenkins.extentions.AFLocalRepositoryLocator to use the tenant specific m2 Repo as in [1]. Then when a build is triggered, locate[2][3] method of the AFLocalRepositoryLocator will be invoked and it will choose the .m2 repo location accordingly [1] https://github.com/wso2/product-af/blob/master/modules/components/org.wso2.carbon.appfactory.core/src/main/resources/jenkins-config.xml#L104 [2] https://github.com/wso2/product-af/blob/master/modules/webapps/appfactory-plugin/src/main/java/org/wso2/carbon/appfactory/jenkins/extentions/AFLocalRepositoryLocator.java#L49 [3] http://buddycode.blogspot.com/2015/06/jenkins-deployment-in-wso2-appfactory.html Regards, Samith On Sat, Jul 18, 2015 at 6:30 PM, Danushka Fernando danush...@wso2.com wrote: Hi All Currently I am working on [1]. While working on it I faced $subject. In AF we are using jenkins as the default build server and for each tenant we point to a custom repository (maven repository) location so all tenant artifacts are installed their own repository. But when I build the Resources Project with these settings it install the artifacts to the basic .m2 folder of the afpuppet user (owner of the jenkins process). I guess this is a bug in some plugin we developed. Can some one shed some light on this since I am stuck on this. [1] [Architecture] [AF] Adding CAR application type to App Factory Thanks Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Best Regards Samith Dassanayake Software Engineer | Cloud TG WSO2, Inc. | http://wso2.com lean. enterprise. middleware Mobile : +947 76207351 -- Best Regards Samith Dassanayake Software Engineer | Cloud TG WSO2, Inc. | http://wso2.com lean. enterprise. middleware Mobile : +947 76207351 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Fetch Email Id from Wso2 Store buser signup section/b
Hello All, Can anyone please guide me on how to fetch the email id from the Wso2 Store user sign up section. A generic way so that every time user signs up that id can be captured and can be provided in the workflow-extensions.xml in wso2 API Manager. Thanks in advance! -- View this message in context: http://wso2-oxygen-tank.10903.n7.nabble.com/Fetch-Email-Id-from-Wso2-Store-b-user-signup-section-b-tp121955.html Sent from the WSO2 Development mailing list archive at Nabble.com. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [GSoC-2015] Data Wrangler extension for WSO2 Machine Learner
Hi Nirmal, Would it be possible to get some sample data sets which are more likely to be pre-processed using wrangler. I am currently testing my implementations against small and more general data sets. I have checked datasets available at [1] https://github.com/wso2/product-ml/tree/master/modules/samples as well. But there is nothing much to be processed as they are ready to be fed to ML. [1] - https://github.com/wso2/product-ml/tree/master/modules/samples Thanks, Danula On Thu, Jul 16, 2015 at 10:15 PM, Nirmal Fernando nir...@wso2.com wrote: Thanks Danula. On Thu, Jul 16, 2015 at 10:07 PM, Danula Eranjith hmdanu...@gmail.com wrote: Hi all, Sorry for not keeping you in the loop. After considering and experimenting with several options. I am using the javascript code generated by wrangler to implement them using spark. I have used regular expressions to extract the operations, parameters and values and mapped them to spark transformations I previously developed. The code generated by wrangler for certain functions have nested operations. (1) /* Fill split3 with values from above */ w.add(dw.fill().column([split3]) .table(0) .status(active) .drop(false) .direction(down) .method(copy) .row(undefined) ) (2) /* Delete rows where split1 is null */ w.add(dw.filter().column([]) .table(0) .status(active) .drop(false) .row(dw.row().column([]) .table(0) .status(active) .drop(false) .conditions([dw.is_null().column([]) .table(0) .status(active) .drop(false) .lcol(split1) .value(undefined) .op_str(is null) ]) ) ) I have succeeded in parsing the operations similar to (1) above and currently working on extending it to work on operations similar to (2). Next step would be automating the process of spark transformation generation. Thanks, Danula On Wed, Jul 15, 2015 at 7:32 PM, Nirmal Fernando nir...@wso2.com wrote: Hi Danula, Please send an update at least every week. On Wed, Jul 15, 2015 at 5:51 PM, Supun Sethunga sup...@wso2.com wrote: Hi Danula, Any update on the progress? Were you managed to integrate the transformations with the wrangler? Thanks, On Thu, Jul 2, 2015 at 11:38 AM, Danula Eranjith hmdanu...@gmail.com wrote: Hi all, Update on the current progress of the project and future activities as we discussed at the recent meeting. *Current Progress* I have completed the phase of creating spark transformations relevant to operations available in wrangler. Operations implemented - Fill - Split - Drop - Delete - Extract *Future activities* - Modify the wrangler interface to suit the current implementation - Automate the process of generating Spark transformations - Integrating wrangler to the ML workflow Thanks, Danula On Sun, Jun 28, 2015 at 9:31 AM, Danula Eranjith hmdanu...@gmail.com wrote: Hi all, No, We haven't done a review yet. It would be great if we could have one so that I can discuss with you all and clarify the next steps of the implementation as you mentioned. Thanks Danula On Sun, Jun 28, 2015 at 9:25 AM, Supun Sethunga sup...@wso2.com wrote: Hi Danula, Did we have a review for the work done so far? If not, shall we have a one? We can clear out any doubts and issues as well.. Thanks, Supun On Wed, Jun 24, 2015 at 6:42 AM, Nirmal Fernando nir...@wso2.com wrote: Hi Danula, Thanks for the update, keep them coming. On a JavaRDD you can perform a collect() to get a list, AFAIR. Yes, this is costly, since it would load whole dataset into memory. So, is this an operation which involves multiple rows? On Tue, Jun 23, 2015 at 2:15 PM, Danula Eranjith hmdanu...@gmail.com wrote: Hi Supun, I modified the Fill operation to add what you mentioned. I used a workaround to to implement certain parts of the operations such as filling with values from rows above and below. I created a List Implementation using toArray() method in JavaRDD and then converted it back to a JavaRDD after the operation. This will be inefficient (in terms of both memory and time) when working with very large data sets. But I think its important to have these features included. Otherwise a user would be left with very limited set of operations. Please let me know if you have a different opinion on this. Thanks, Danula On Tue, Jun 16, 2015 at 9:44 AM, Supun Sethunga sup...@wso2.com wrote: Somehow there are issues in implementing certain wrangler functions due to limitations in JavaRDD used in spark e.g. - Fill operation - when filling with values from rows above and below Fold operation Agree, since rows will get executed randomly with spark, inter-row operations are not very meaningful. But you can slightly modify the implementation of the Fill operation, such as, to fill values based on an expression/static-value/mean etc. (not depending on other rows).. Thanks, Supun On Tue, Jun 16, 2015 at 9:27 AM, Supun Sethunga sup...@wso2.com wrote: Hi
Re: [Dev] [AppM] App manager-1.1.0 with Carbon 4.4.0 upgrade status
Hi Prabath, The problem is isolated. Issue is having wadl and jaxb jars as bundles. Removing one of the bundles causes the problem disappear. I will work with governance/carbon teams to get a resolution. Cheers, Ruwan On Sat, Jul 18, 2015 at 11:18 AM, Prabath Abeysekera praba...@wso2.com wrote: Hi Ruwan, Did we manage to fix this? Cheers, Prabath On Wed, Jul 15, 2015 at 7:54 PM, Ruwan Abeykoon ruw...@wso2.com wrote: Hi All, Yet another update on $subject The intermittent classloader issue could not be resolved yet. Here are few observations. The jaggery application calls the CarbonWebappClassloader to lookup a class in governance API bundle. This fails. However the same class is properly loaded via different bundle (Say WebappManagment) classloader which is not initially loaded via Tomcat/Jaggary app. No issue found in launch.ini. No apparent conflicting bundles or unsatisfied dependencies. There were few duplicate packaged exported by different bundles, but seems they are not causing the issue. I am working with Sameera to find the underlying cause. I am unable to create a PR with the version change due to above issue. Cheers, Ruwan On Wed, Jul 8, 2015 at 11:28 AM, Ruwan Abeykoon ruw...@wso2.com wrote: Hi Team, I would like to update you on $subject 1. All the module versions are bumped up to 1.1.0-SNAPSHOT 2. Removed all the carbon 4.2.0 and related features which depend on C 4.2.0 and added Carbon 4.4.0 kernel and other features compatible with Carbon 4.4.0 (registry, governance, mediation, Jaggery, etc). 3. Forked ES for C 4.4.0 version bump up, upgraded the dependencies, Had to change few classes in ES to be able to get it compatible with governance 4.5.1. 4. Changed few classes and jaggery files which needed to be changed due to method signature changes in registry (e.g. GenericArtifact.invokeAction(...)). Current Status with Carbon 4.4.0 1. AppM builds and starts successfully 2. Can create web applications, publish and subscribe. Present Issues which I am working on. 1. Intermittent, Classloader or similar issue in loading org.wso2.carbon.governance.api.generic [1] 2. Need to test most of other areas(mobile apps, policy, throttling) 3. At the moment, update synapse config to the gateway is failing. 4. Clean up the code which had experimental/debug code 5. Remove unwanted/duplicate jaggery modules [2] None of the changes are committed to any public repository yet. [1] Mail thread [Dev]Class Loading issue in Jaggery, Carbon 4.4.0 [2] Mail thread [Dev][AppM] Removing multiple modules directories -- *Ruwan Abeykoon* *Architect,* *WSO2, Inc. http://wso2.com http://wso2.com/ * *lean.enterprise.middleware.* email: ruw...@wso2.com phone:(+94) 39736 -- *Ruwan Abeykoon* *Architect,* *WSO2, Inc. http://wso2.com http://wso2.com/ * *lean.enterprise.middleware.* email: ruw...@wso2.com phone:(+94) 39736 -- Prabath Abeysekara Technical Lead WSO2 Inc. Email: praba...@wso2.com Mobile: +94774171471 -- *Ruwan Abeykoon* *Architect,* *WSO2, Inc. http://wso2.com http://wso2.com/ * *lean.enterprise.middleware.* email: ruw...@wso2.com phone:(+94) 39736 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Please review and merge
Hi Prabath, Please arrange a code review with the team such that we can quickly go through the code and put more eyes to catch any issues if there are. Thanks, Chanaka On Mon, Jul 20, 2015 at 9:22 AM, Prabath Ariyarathna prabat...@wso2.com wrote: Hi All. Please review and merge following PRs[1][2] for the public jira[3]. [1] = https://github.com/wso2/wso2-synapse/pull/269 [2] = https://github.com/wso2/carbon-mediation/pull/296 [3] = https://wso2.org/jira/browse/ESBJAVA-3852 Thanks. -- *Prabath Ariyarathna* *Associate Technical Lead* *WSO2, Inc. * *lean . enterprise . middleware * *Email: prabat...@wso2.com prabat...@wso2.com* *Blog: http://prabu-lk.blogspot.com http://prabu-lk.blogspot.com* *Flicker : https://www.flickr.com/photos/47759189@N08 https://www.flickr.com/photos/47759189@N08* *Mobile: +94 77 699 4730 * -- -- Chanaka Fernando Senior Technical Lead WSO2, Inc.; http://wso2.com lean.enterprise.middleware mobile: +94 773337238 Blog : http://soatutorials.blogspot.com LinkedIn:http://www.linkedin.com/pub/chanaka-fernando/19/a20/5b0 Twitter:https://twitter.com/chanakaudaya Wordpress:http://chanakaudaya.wordpress.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Please review and merge
Hi All. Please review and merge following PRs[1][2] for the public jira[3]. [1] = https://github.com/wso2/wso2-synapse/pull/269 [2] = https://github.com/wso2/carbon-mediation/pull/296 [3] = https://wso2.org/jira/browse/ESBJAVA-3852 Thanks. -- *Prabath Ariyarathna* *Associate Technical Lead* *WSO2, Inc. * *lean . enterprise . middleware * *Email: prabat...@wso2.com prabat...@wso2.com* *Blog: http://prabu-lk.blogspot.com http://prabu-lk.blogspot.com* *Flicker : https://www.flickr.com/photos/47759189@N08 https://www.flickr.com/photos/47759189@N08* *Mobile: +94 77 699 4730 * ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [ES] UX team feedback on social UI
sent from my nexus4, ignore any typos On Jul 20, 2015 09:08, Jerad Rutnam je...@wso2.com wrote: Hi Udara, So there is an use case where users rate and like/dislike comments. Just for clarifications, Is it necessary for giving a feature for users to rate comments? Just like/dislike no way to rate a comment. And I believe in this use case each comments can have many likes and dislikes. But any particular reason that we indicates the user that a person who liked or disliked is online? You got it wrong I think. This is to indicate I like this comment or I dislike this comment. Regards, Jerad On Sat, Jul 18, 2015 at 8:52 PM, Udara Rathnayake uda...@wso2.com wrote: Hi Jerad, On Sat, Jul 18, 2015 at 8:41 PM, Jerad Rutnam je...@wso2.com wrote: Hi Udara, I think something like this would be nice if it's for the asset. This(like or dislike) is not for a asset(gadget or site) but for a user review on a asset. And i'm not sure where that green icons are showing. I think we can have some simple single color like grey and give a low prominence to it. Because I believe it's not anything to highlight/prominent. WDYT? At the moment we use a green colored thumbs up/down image to indicate whether the logged in user liked or disliked particular user review. Regards, Jerad On Sat, Jul 18, 2015 at 7:15 PM, Udara Rathnayake uda...@wso2.com wrote: Hi UX team, There are two jiras[1][2] reported by QA team. These are more like UI/UX improvements hence we are looking for your input. I'm +1 to change the thumbs down image color. But I believe we don't need to bring complexity by putting a tooltip on these two simple yet self expressive icons. WDYT? [1] https://wso2.org/jira/browse/STORE-826 [2] https://wso2.org/jira/browse/STORE-803 Regards, UdaraR ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Jerad Rutnam Software Engineer WSO2 Inc. lean | enterprise | middleware M : +94 77 959 1609 | E : je...@wso2.com | W : www.wso2.com -- Jerad Rutnam Software Engineer WSO2 Inc. lean | enterprise | middleware M : +94 77 959 1609 | E : je...@wso2.com | W : www.wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] kafka UI improvement (ESBJAVA-3915)
Hi Malaka, I have modified the code according to your comment. Please find the PR [1]. [1] https://github.com/wso2/carbon-mediation/pull/294 Thank you On Fri, Jul 17, 2015 at 5:21 PM, Malaka Silva mal...@wso2.com wrote: Hi Shakila, Added some comments. Did you check other inbound protocols with this change? Don't we need to apply the same for update page as well? On Fri, Jul 17, 2015 at 4:55 PM, Shakila Sivagnanarajah shak...@wso2.com wrote: Hi Malaka, Please review and merge PR[1] for $subject. [1] https://github.com/wso2/carbon-mediation/pull/294 Thank you -- Shakila Sivagnanarajah Associate Software Engineer Mobile :+94 (0) 770 760240 shak...@wso2.com -- Best Regards, Malaka Silva Senior Tech Lead M: +94 777 219 791 Tel : 94 11 214 5345 Fax :94 11 2145300 Skype : malaka.sampath.silva LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77 Blog : http://mrmalakasilva.blogspot.com/ WSO2, Inc. lean . enterprise . middleware http://www.wso2.com/ http://www.wso2.com/about/team/malaka-silva/ http://wso2.com/about/team/malaka-silva/ Save a tree -Conserve nature Save the world for your future. Print this email only if it is absolutely necessary. -- Shakila Sivagnanarajah Associate Software Engineer Mobile :+94 (0) 770 760240 shak...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [ES] UX team feedback on social UI
Hi Udara, So there is an use case where users rate and like/dislike comments. Just for clarifications, Is it necessary for giving a feature for users to rate comments? And I believe in this use case each comments can have many likes and dislikes. But any particular reason that we indicates the user that a person who liked or disliked is online? Regards, Jerad On Sat, Jul 18, 2015 at 8:52 PM, Udara Rathnayake uda...@wso2.com wrote: Hi Jerad, On Sat, Jul 18, 2015 at 8:41 PM, Jerad Rutnam je...@wso2.com wrote: Hi Udara, I think something like this would be nice if it's for the asset. This(like or dislike) is not for a asset(gadget or site) but for a user review on a asset. And i'm not sure where that green icons are showing. I think we can have some simple single color like grey and give a low prominence to it. Because I believe it's not anything to highlight/prominent. WDYT? At the moment we use a green colored thumbs up/down image to indicate whether the logged in user liked or disliked particular user review. Regards, Jerad On Sat, Jul 18, 2015 at 7:15 PM, Udara Rathnayake uda...@wso2.com wrote: Hi UX team, There are two jiras[1][2] reported by QA team. These are more like UI/UX improvements hence we are looking for your input. I'm +1 to change the thumbs down image color. But I believe we don't need to bring complexity by putting a tooltip on these two simple yet self expressive icons. WDYT? [1] https://wso2.org/jira/browse/STORE-826 [2] https://wso2.org/jira/browse/STORE-803 Regards, UdaraR ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Jerad Rutnam* *Software Engineer* WSO2 Inc. lean | enterprise | middleware M : +94 77 959 1609 | E : je...@wso2.com | W : www.wso2.com -- *Jerad Rutnam* *Software Engineer* WSO2 Inc. lean | enterprise | middleware M : +94 77 959 1609 | E : je...@wso2.com | W : www.wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Please review and merge
Hi Chanaka. Sure. I will arrange the code review. Thanks. On Mon, Jul 20, 2015 at 9:26 AM, Chanaka Fernando chana...@wso2.com wrote: Hi Prabath, Please arrange a code review with the team such that we can quickly go through the code and put more eyes to catch any issues if there are. Thanks, Chanaka On Mon, Jul 20, 2015 at 9:22 AM, Prabath Ariyarathna prabat...@wso2.com wrote: Hi All. Please review and merge following PRs[1][2] for the public jira[3]. [1] = https://github.com/wso2/wso2-synapse/pull/269 [2] = https://github.com/wso2/carbon-mediation/pull/296 [3] = https://wso2.org/jira/browse/ESBJAVA-3852 Thanks. -- *Prabath Ariyarathna* *Associate Technical Lead* *WSO2, Inc. * *lean . enterprise . middleware * *Email: prabat...@wso2.com prabat...@wso2.com* *Blog: http://prabu-lk.blogspot.com http://prabu-lk.blogspot.com* *Flicker : https://www.flickr.com/photos/47759189@N08 https://www.flickr.com/photos/47759189@N08* *Mobile: +94 77 699 4730 * -- -- Chanaka Fernando Senior Technical Lead WSO2, Inc.; http://wso2.com lean.enterprise.middleware mobile: +94 773337238 Blog : http://soatutorials.blogspot.com LinkedIn:http://www.linkedin.com/pub/chanaka-fernando/19/a20/5b0 Twitter:https://twitter.com/chanakaudaya Wordpress:http://chanakaudaya.wordpress.com -- *Prabath Ariyarathna* *Associate Technical Lead* *WSO2, Inc. * *lean . enterprise . middleware * *Email: prabat...@wso2.com prabat...@wso2.com* *Blog: http://prabu-lk.blogspot.com http://prabu-lk.blogspot.com* *Flicker : https://www.flickr.com/photos/47759189@N08 https://www.flickr.com/photos/47759189@N08* *Mobile: +94 77 699 4730 * ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [ES] UX team feedback on social UI
Hi Udara, Then it's ok. We can just have blue (theme color) for like active state and red/black etc ... color for dislike state. :) Cheers, Jerad -- *Jerad Rutnam* *Software Engineer* WSO2 Inc. lean | enterprise | middleware M : +94 77 959 1609 | E : je...@wso2.com | W : www.wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [IS] Is it mandatory to send Assertion Consumer Service URL in a Passive Auth request?
Hi all. According to my understanding, Passive Auth requests can be used to allow a user to access some specified pages anonymously. For that I've tried to send the request [1] but got the error [2] from the IS side. According to the error it's required to send the ACS url with auth request. The request [3] after adding the ACS url was succeeded. Is it mandatory to send ACS url when sending a Passive auth request? Thanks Regards. MalinthaA. [1] ?xml version=1.0 encoding=UTF-8?saml2p:AuthnRequest xmlns:saml2p=urn:oasis:names:tc:SAML:2.0:protocol ID=gmcbgpmehhgneimmbjajbjdbdblglbnbaphhcgln IsPassive=true IssueInstant=2015-07-20T05:15:06.224Z Version=2.0 saml2:Issuer xmlns:saml2=urn:oasis:names:tc:SAML:2.0:assertionSOME_ISSUER/saml2:Issuer saml2p:NameIDPolicy AllowCreate=true Format=urn:oasis:names:tc:SAML:2.0:nameid-format:undefined //saml2p:AuthnRequest [2] [2015-07-20 10:13:46,984] ERROR {org.wso2.carbon.identity.sso.saml.servlet.SAMLSSOProviderServlet} - ACS Url is Null [2015-07-20 10:13:46,984] ERROR {org.wso2.carbon.identity.sso.saml.servlet.SAMLSSOProviderServlet} - Error when processing the authentication request! org.wso2.carbon.identity.base.IdentityException: Unexpected error in sending message out at org.wso2.carbon.identity.sso.saml.servlet.SAMLSSOProviderServlet.sendResponse(SAMLSSOProviderServlet.java:480) at org.wso2.carbon.identity.sso.saml.servlet.SAMLSSOProviderServlet.handleAuthenticationReponseFromFramework(SAMLSSOProviderServlet.java:587) at org.wso2.carbon.identity.sso.saml.servlet.SAMLSSOProviderServlet.handleRequest(SAMLSSOProviderServlet.java:174) at org.wso2.carbon.identity.sso.saml.servlet.SAMLSSOProviderServlet.doGet(SAMLSSOProviderServlet.java:93) at javax.servlet.http.HttpServlet.service(HttpServlet.java:735) at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) at org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37) at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61) at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128) at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:60) at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) at org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:178) at org.wso2.carbon.tomcat.ext.valves.CarbonTomcatValve$1.invoke(CarbonTomcatValve.java:47) at org.wso2.carbon.webapp.mgt.TenantLazyLoaderValve.invoke(TenantLazyLoaderValve.java:56) at org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:47) at org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:141) at org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:156) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936) at org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:52) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1653) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) [3] ?xml version=1.0 encoding=UTF-8?saml2p:AuthnRequest xmlns:saml2p=urn:oasis:names:tc:SAML:2.0:protocol AssertionConsumerServiceURL=https://localhost/someapp/acs.jag; ID=ahpdbphlocicklighkgcnhnfmfgcemegknlojohp IsPassive=true IssueInstant=2015-07-20T04:53:44.704Z Version=2.0
Re: [Dev] [ES] UX team feedback on social UI
Hi Jerad/Udara, I agree with the colors Jerad suggested, Regarding the tooltip thing I prefer what Jerad suggested. Anyway the thumbs up is for I like this that's obvious. But the tooltip makes it more clear and looks more clickable/descriptive as per my view. Just saw the exact thing in YouTube videos. [image: Inline image 1] Regards, Nadeesha On Mon, Jul 20, 2015 at 10:03 AM, Jerad Rutnam je...@wso2.com wrote: Hi Udara, Then it's ok. We can just have blue (theme color) for like active state and red/black etc ... color for dislike state. :) Cheers, Jerad -- *Jerad Rutnam* *Software Engineer* WSO2 Inc. lean | enterprise | middleware M : +94 77 959 1609 | E : je...@wso2.com | W : www.wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Nadeesha Meegoda* Software Engineer - QA WSO2 Inc.; http://wso2.com lean.enterprise.middleware email : nadees...@wso2.com mobile: +94783639540 %2B94%2077%202273555 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [AF] Problem with building CAR files in jenkins with custom repo location
Hi Samith Ad I previously mentioned I am using the default AF dev setup (jenkins configurations) so its already there. This is an issue with the wso2-genaral-project-plugin AFAIU. Because all other artifacts are there in the custom repo and when building the car its looking in the correct place but its installed in to wrong location. Thanks Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Sun, Jul 19, 2015 at 7:38 PM, Samith Dassanayake sam...@wso2.com wrote: Hi Danushka, By setting localRepository value as I have mentioned above, jenkins will set the Dmaven.repo.local(local repository location) option using the above method. I think in your case, wso2 project plugin is using the localRepository[1] defined in the the global configuration($M2_HOME/conf/setting.xml) even it is passed as a maven option Dmaven.repo.local. [1] https://maven.apache.org/guides/mini/guide-configuring-maven.html Regards, Samith On Sun, Jul 19, 2015 at 6:34 PM, Danushka Fernando danush...@wso2.com wrote: Hi Samith I am using AF dev setup. So its using the custom location as repo. Problem is wso2 project plugin installs the artifact to .m2 rather than to the custom repo. So when it's building the car its looking for the artifact in custom repo and its not there so build fails. So if I copy .m2 artifact and trigger Jenkins build its building without an issue. Problem is with the plugin. Setup is working correctly. Thanks Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Jul 19, 2015 5:57 PM, Samith Dassanayake sam...@wso2.com wrote: Hi Danushka, You have to set the class attribute of the localRepository element of the job config to org.wso2.carbon.appfactory.jenkins.extentions.AFLocalRepositoryLocator to use the tenant specific m2 Repo as in [1]. Then when a build is triggered, locate[2][3] method of the AFLocalRepositoryLocator will be invoked and it will choose the .m2 repo location accordingly [1] https://github.com/wso2/product-af/blob/master/modules/components/org.wso2.carbon.appfactory.core/src/main/resources/jenkins-config.xml#L104 [2] https://github.com/wso2/product-af/blob/master/modules/webapps/appfactory-plugin/src/main/java/org/wso2/carbon/appfactory/jenkins/extentions/AFLocalRepositoryLocator.java#L49 [3] http://buddycode.blogspot.com/2015/06/jenkins-deployment-in-wso2-appfactory.html Regards, Samith On Sat, Jul 18, 2015 at 6:30 PM, Danushka Fernando danush...@wso2.com wrote: Hi All Currently I am working on [1]. While working on it I faced $subject. In AF we are using jenkins as the default build server and for each tenant we point to a custom repository (maven repository) location so all tenant artifacts are installed their own repository. But when I build the Resources Project with these settings it install the artifacts to the basic .m2 folder of the afpuppet user (owner of the jenkins process). I guess this is a bug in some plugin we developed. Can some one shed some light on this since I am stuck on this. [1] [Architecture] [AF] Adding CAR application type to App Factory Thanks Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Best Regards Samith Dassanayake Software Engineer | Cloud TG WSO2, Inc. | http://wso2.com lean. enterprise. middleware Mobile : +947 76207351 -- Best Regards Samith Dassanayake Software Engineer | Cloud TG WSO2, Inc. | http://wso2.com lean. enterprise. middleware Mobile : +947 76207351 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev