[Dev] [MB] Add TRACE level log on message receive
Hi, Related to Jira [1], we need to add a trace level log when every time a message is received. What information of the received message can be useful to include in the log message? [1] https://wso2.org/jira/browse/MB-803 -- Anuja Herath *Software Engineer* *WSO2, Inc.* Mobile : +94 (0)71 429 8861 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [MDM] [UX/UI] Pending UX/UI Tasks for WSO2 MDM 2.0.0
Sure Prabath, i'll attend to this. Cheers! Jerad On Fri, Jun 5, 2015 at 11:06 AM, Prabath Abeysekera praba...@wso2.com wrote: In addition to what Dilan's already listed down above, it would be great if we can have someone helping us with the UI/UX bits of the remaining operation implementations too. Cheers, Prabath On Thu, Jun 4, 2015 at 6:35 AM, Dilan Udara Ariyaratne dil...@wso2.com wrote: Adding Dulitha, PrabathA, ChaturaD and Sameera to the thread... *Dilan U. Ariyaratne* Software Engineer WSO2 Inc. http://wso2.com/ Mobile: +94775149066 lean . enterprise . middleware On Thu, Jun 4, 2015 at 10:53 AM, Dilan Udara Ariyaratne dil...@wso2.com wrote: Hi UX/UI Team, Here are the pending tasks where we need the help of you guys currently on completing Policy Manipulation. [1] Proper UI design to add/delete n number of input forms for a given profile feature. Configure multiple WIFI configurations + Install/Uninstall Multiple Applications as App Policy require this behavior. [2] With respect to Install Apps, proper UI to support listing and selecting Installable Apps hosted on WSO2 AppManager. [3] In Policy Creation Wizard step 2, i.e. configure profile, When a profile feature is in configured state, depending on the validity of user input, some informative way to emphasize that to the user through UI. (If atleast one configured feature has invalid input, user will not be allowed to move to next step, i.e. assign to groups). [4] Supporting ANY input by User(s) User-Role(s) where UI have to support either ANY or some-specific-value-set. [5] Policy View Wireframe Design and the corresponding HTML Design for implementation. - - - - - - - - - - - - - - - - - - - - - - - - Let's keep updating this thread on the upcoming UI tasks as well. Cheers. *Dilan U. Ariyaratne* Software Engineer WSO2 Inc. http://wso2.com/ Mobile: +94775149066 lean . enterprise . middleware -- Prabath Abeysekara Technical Lead WSO2 Inc. Email: praba...@wso2.com Mobile: +94774171471 -- *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] [ML] Please review and merge PR
Hi, Please review and merge [1] - fix for JIRA issue [2]. [1] https://github.com/wso2/product-ml/pull/161 [2] https://wso2.org/jira/browse/ML-65 Thanks -- Manorama Perera Software Engineer WSO2, Inc.; http://wso2.com/ Mobile : +94716436216 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] WSO2 Data Analytics Server 3.0.0 Alpha Released!
1. Gadget dashboard does not work on Mac ( tried with Firefox, Chrome, Saffari). Does not work means it does how show side icons at all. 2. persist tick box in save persist page is misleading in UX sens 3. What is a facet .. explain in message console or remove altogether. 4. When data type is int, I get the following error. [2015-05-31 12:13:46,594] ERROR {org.wso2.carbon.event.simulator.admin.EventSimulatorAdminService} - java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Long On Wed, May 27, 2015 at 6:09 PM, Gihan Anuruddha gi...@wso2.com wrote: Hi, The WSO2 DAS team is pleased to announce the alpha release of WSO2 DAS v3.0. The distribution is available at [1]. The release includes the following new features, improvements, and tasks. Improvement - [BAM-1993 https://wso2.org/jira/browse/BAM-1993] - upgrade to Spark 1.3.0 - [BAM-1994 https://wso2.org/jira/browse/BAM-1994] - enable multitenancy in the Spark environment - [BAM-2000 https://wso2.org/jira/browse/BAM-2000] - UI improvement for Message Console - [BAM-2003 https://wso2.org/jira/browse/BAM-2003] - Expose Analytics REST API over HTTPS only - [BAM-2005 https://wso2.org/jira/browse/BAM-2005] - Activity publishing with user name - [BAM-2009 https://wso2.org/jira/browse/BAM-2009] - Create a CApp deployer to deploy dashboard artifacts - [BAM-2012 https://wso2.org/jira/browse/BAM-2012] - Attach event sink dynamically based on the stream persistence configuration - [BAM-2013 https://wso2.org/jira/browse/BAM-2013] - Adding stream persistence capability to existing stream store - [BAM-2016 https://wso2.org/jira/browse/BAM-2016] - Global data purging configuration - [BAM-2017 https://wso2.org/jira/browse/BAM-2017] - Implement the Spark data sources API - [BAM-2018 https://wso2.org/jira/browse/BAM-2018] - Add a configuration file to load spark default configs New Feature - [BAM-2010 https://wso2.org/jira/browse/BAM-2010] - Rewrite activity monitoring dashboard - [BAM-2011 https://wso2.org/jira/browse/BAM-2011] - Carbon application support for event sink Task - [BAM-2015 https://wso2.org/jira/browse/BAM-2015] - Cassandra Datasource Support The documentation for DAS v3.0 can be found at [2]. Your feedback is most welcome, and any issues can be reported to the project at [3]. [1] https://svn.wso2.org/repos/wso2/people/sinthuja/DAS3.0/wso2das-3.0.0-SNAPSHOT.zip https://svn.wso2.org/repos/wso2/people/gihan/wso2das-3.0.0-ALPHA.zip [2] https://docs.wso2.com/display/DAS300/WSO2+Data+Analytics+Server+Documentation [3] https://wso2.org/jira/browse/BAM - WSO2 DAS Team. -- W.G. Gihan Anuruddha Senior Software Engineer | WSO2, Inc. M: +94772272595 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Srinath Perera, Ph.D. http://people.apache.org/~hemapani/ http://srinathsview.blogspot.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [ML] Please review and merge PR
Commented. On Fri, Jun 5, 2015 at 9:28 AM, Manorama Perera manor...@wso2.com wrote: Hi, Please review and merge [1] - fix for JIRA issue [2]. [1] https://github.com/wso2/product-ml/pull/161 [2] https://wso2.org/jira/browse/ML-65 Thanks -- Manorama Perera Software Engineer WSO2, Inc.; http://wso2.com/ Mobile : +94716436216 -- Thanks regards, Nirmal Associate Technical Lead - Data Technologies Team, WSO2 Inc. Mobile: +94715779733 Blog: http://nirmalfdo.blogspot.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] API-Everywhere - Deriving API Provider name
Hi, In api-everywhere impl, we create apis automatically without the actual logged in user to the server. So at the time we don't have a user. When creatingn the APIs a Provider name (user) is required which will be displayed in the API Store as the API creator. So far I have worked using admin as a hard coded value, but we cannot have it like that. One option is to get the underlying OS username for this, but its still not a nice solution. I checked with greg team and they have a user called system user for creating registry artifacts in the same manner. Let me know your thoughts on how to get a solution for this. This is a common issue for all api-everywere work. thanks, -- Supun Malinga, Senior Software Engineer, WSO2 Inc. http://wso2.com email: sup...@wso2.com sup...@wso2.com mobile: +94 (0)71 56 91 321 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Intermittent exceptions thrown in the backend during API publish via Firefox
Hi, Below 2 issues [1],[2] could be seen during the API creation process via Firefox 35.0.1. These issues are not reproducible via Chrome or private browser. What can be the reason for these issues? Exceptions are thrown from the backend. But when you try the same operation again in same api, it iwll be published successfully. [1] https://wso2.org/jira/browse/APIMANAGER-3731 [2] https://wso2.org/jira/browse/APIMANAGER-3742 Thanks! Ushani -- *Ushani Balasooriya* Senior Software Engineer - QA; WSO2 Inc; http://www.wso2.com/. Mobile; +94772636796 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Handling version change in C-App
Hi, We can check whether CApp is already deployed by getting the CApp list of a given tenant (please check ApplicationManager class).We check this during the deployment process as well. Will that be helpful during your requirement so you can figure out which operation is during deployment. Regards, Manoj *Manoj Kumara |* Senior Software Engineer Inc. *| **lean. enterprise. middleware.* #20, Palm Grove, Colombo 03, Sri Lanka *Mobile:* +94 713 448188 *|** Work:* +94 112 145345 On Fri, Jun 5, 2015 at 12:05 AM, Nandika Jayawardana nand...@wso2.com wrote: Hi Manoj, As Hasitha said, versioning is essential to processes as processes are supposed to be long running. Hence we cannot afford to un deploy the older version, when a new version is deployed. We need an enhancement in the AppDeploymentHandler interface to tell the deployer whether this is a new CAR deployment or a update of an existing car deployment. Then in the case of update, we can handle the logic such that versioning is preserved. Regards Nandika On Thu, Jun 4, 2015 at 11:57 PM, Hasitha Aravinda hasi...@wso2.com wrote: Hi Manoj and Hasitha, To preserve older versions of a BPEL artifact, BPS requires to replace exact same BPEL artifacts with an updated one. Currently when an updated Capp is uploaded, it will undeploy old BPEL process and deploy new one. This will cause to remove old BPEL versions. To avoid this, as himasha suggest, we required to know reason for Capp underemployment, ( Capp updated, or removed from management console etc) so that we can handle this on Capp BPEL undeploy logic. I think, this will apply for HumanTask, BPMN versioning as well. Since Capp deployer doesn't support this, we need to see another way to solve this problem. Otherwise Capp will not support BPS versioning feature. Thanks, Hasitha. Hasitha Aravinda, Senior Software Engineer, WSO2 Inc. Email: hasi...@wso2.com Mobile : +1 201 887 1971, +94 718 210 200 On Thu, Jun 4, 2015 at 12:38 PM, Hasitha Hiranya hasit...@wso2.com wrote: Hi, This is one of the solutions people are using. Name the CAR file as xxx-car-v-1.0 Name all the artifacts inside it as artifact-xxx-v-1.0 Then deploy CAR files. Old ones will not be replaced. The references in each artifact to one another should be updated. We can do this to endpoints. But doing this to all will be cumbersome. Thanks On Thu, Jun 4, 2015 at 8:11 AM, Manoj Kumara ma...@wso2.com wrote: Hi Himasha, Please see my inline comments, The scenario that we come across is as below. 1. Deploy a C-App containing BPEL artifacts 2. Invoke an instance (instance 1) 3. Redeploy the C-App with updated BPEL artifacts. 4.When redeploying the previous C-App is undeployed which removes the invoked instance (instance 1) as well. This is the expected behavior. Since CApp get redeployed previously deployed artifacts also get un-deployed. For our BPEL C-App deployer we have implemented AppDeploymentHandler. We are unable to identify whether the undeployment is a direct undeployment ( user undeploying the C-App from console) or if it is getting undeployed due to a new upload of the same C-App. We are unable to handle the version change since AppDeploymentHandler only provides deployArtifacts and undeployArtifacts methods. At the moment we don't have CApp version support. When an updated CApp get uploaded previous one get undeployed and new one will be deployed. Regards, Manoj ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Hasitha Abeykoon* Senior Software Engineer; WSO2, Inc.; http://wso2.com *cell:* *+94 719363063* *blog: **abeykoon.blogspot.com* http://abeykoon.blogspot.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Nandika Jayawardana WSO2 Inc ; http://wso2.com lean.enterprise.middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [MDM] [UX/UI] Pending UX/UI Tasks for WSO2 MDM 2.0.0
In addition to what Dilan's already listed down above, it would be great if we can have someone helping us with the UI/UX bits of the remaining operation implementations too. Cheers, Prabath On Thu, Jun 4, 2015 at 6:35 AM, Dilan Udara Ariyaratne dil...@wso2.com wrote: Adding Dulitha, PrabathA, ChaturaD and Sameera to the thread... *Dilan U. Ariyaratne* Software Engineer WSO2 Inc. http://wso2.com/ Mobile: +94775149066 lean . enterprise . middleware On Thu, Jun 4, 2015 at 10:53 AM, Dilan Udara Ariyaratne dil...@wso2.com wrote: Hi UX/UI Team, Here are the pending tasks where we need the help of you guys currently on completing Policy Manipulation. [1] Proper UI design to add/delete n number of input forms for a given profile feature. Configure multiple WIFI configurations + Install/Uninstall Multiple Applications as App Policy require this behavior. [2] With respect to Install Apps, proper UI to support listing and selecting Installable Apps hosted on WSO2 AppManager. [3] In Policy Creation Wizard step 2, i.e. configure profile, When a profile feature is in configured state, depending on the validity of user input, some informative way to emphasize that to the user through UI. (If atleast one configured feature has invalid input, user will not be allowed to move to next step, i.e. assign to groups). [4] Supporting ANY input by User(s) User-Role(s) where UI have to support either ANY or some-specific-value-set. [5] Policy View Wireframe Design and the corresponding HTML Design for implementation. - - - - - - - - - - - - - - - - - - - - - - - - Let's keep updating this thread on the upcoming UI tasks as well. Cheers. *Dilan U. Ariyaratne* Software Engineer WSO2 Inc. http://wso2.com/ Mobile: +94775149066 lean . enterprise . middleware -- Prabath Abeysekara Technical Lead WSO2 Inc. Email: praba...@wso2.com Mobile: +94774171471 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [EMM] Error while starting EMM 1.1.0 fresh pack
Hi Amalka, This log is questionable as username password prints null. If you go to the JAGH2 data-source configuration in master-data-source.xml, correct username is sa and password is simply empty string, . It seems that there is an issue in reading the configurations properly. Adding SameeraM Manu to the thread... *Dilan U. Ariyaratne* Software Engineer WSO2 Inc. http://wso2.com/ Mobile: +94775149066 lean . enterprise . middleware On Thu, Jun 4, 2015 at 4:59 PM, Amalka Subasinghe ama...@wso2.com wrote: logs [2015-06-04 16:53:44,694] INFO {JAGGERY.config.app:js} - Emitting event : tenantLoad [2015-06-04 16:53:44,846] INFO {debugging} - : config {dataSource : JAGH2} [2015-06-04 16:53:44,846] INFO {debugging} - : username null [2015-06-04 16:53:44,846] INFO {debugging} - : password null [2015-06-04 16:53:45,275] ERROR {org.jaggeryjs.hostobjects.db.DatabaseHostObject} - Failed to get connection org.h2.jdbc.JdbcSQLException: Wrong user name or password [8004-140] On Thu, Jun 4, 2015 at 4:39 PM, Dilan Udara Ariyaratne dil...@wso2.com wrote: Hi Amalka, Can you update your EMM server pack with following file, restart the server and send the startup logs to see what is going on in this specific case. File to replace (with attached driver.js) : wso2emm-1.1.0/repository/deployment/server/jaggeryapps/publisher/modules/data/driver.js Cheers, Dilan. *Dilan U. Ariyaratne* Software Engineer WSO2 Inc. http://wso2.com/ Mobile: +94775149066 lean . enterprise . middleware On Thu, Jun 4, 2015 at 2:52 PM, Amalka Subasinghe ama...@wso2.com wrote: I downloaded the pack from product page and started. didn't do any configuration changes. On Thu, Jun 4, 2015 at 2:33 PM, Dilan Udara Ariyaratne dil...@wso2.com wrote: Hi Amalka, Did you do any configuration changes or this is just a newly-unzipped-pack of EMM 1.1.0. If it was a newly-unzipped-pack of EMM 1.1.0, this is unlikely to happen. Cheers, Dilan. *Dilan U. Ariyaratne* Software Engineer WSO2 Inc. http://wso2.com/ Mobile: +94775149066 lean . enterprise . middleware On Wed, Jun 3, 2015 at 4:41 PM, Amalka Subasinghe ama...@wso2.com wrote: Hi, I got the following error when starting the EMM 1.1.0 fresh pack [2015-06-03 16:38:57,592] ERROR {org.jaggeryjs.hostobjects.db.DatabaseHostObject} - Failed to get connection org.h2.jdbc.JdbcSQLException: Wrong user name or password [8004-140] at org.h2.message.DbException.getJdbcSQLException(DbException.java:327) at org.h2.message.DbException.get(DbException.java:167) at org.h2.message.DbException.get(DbException.java:144) at org.h2.message.DbException.get(DbException.java:133) at org.h2.engine.Engine.validateUserAndPassword(Engine.java:277) at org.h2.engine.Engine.getSession(Engine.java:133) at org.h2.engine.Session.createSession(Session.java:122) at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:241) at org.h2.engine.SessionRemote.createSession(SessionRemote.java:219) at org.h2.jdbc.JdbcConnection.init(JdbcConnection.java:111) at org.h2.jdbc.JdbcConnection.init(JdbcConnection.java:95) at org.h2.Driver.connect(Driver.java:73) at org.apache.tomcat.jdbc.pool.PooledConnection.connectUsingDriver(PooledConnection.java:278) at org.apache.tomcat.jdbc.pool.PooledConnection.connect(PooledConnection.java:182) at org.apache.tomcat.jdbc.pool.ConnectionPool.createConnection(ConnectionPool.java:701) at org.apache.tomcat.jdbc.pool.ConnectionPool.borrowConnection(ConnectionPool.java:635) at org.apache.tomcat.jdbc.pool.ConnectionPool.getConnection(ConnectionPool.java:188) at org.apache.tomcat.jdbc.pool.DataSourceProxy.getConnection(DataSourceProxy.java:127) at org.jaggeryjs.hostobjects.db.DatabaseHostObject.jsConstructor(DatabaseHostObject.java:84) 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.FunctionObject.call(FunctionObject.java:392) at org.mozilla.javascript.BaseFunction.construct(BaseFunction.java:343) at org.mozilla.javascript.ScriptRuntime.newObject(ScriptRuntime.java:2349) at org.jaggeryjs.rhino.publisher.modules.data.c4._c_anonymous_4(/publisher/modules/data/driver.js:40) at org.jaggeryjs.rhino.publisher.modules.data.c4.call(/publisher/modules/data/driver.js) at org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:32) at
[Dev] Please review and merge
Hi, Please review and merge PR[1] for the fix for JIRA [2]. Thanks. [1] https://github.com/wso2/carbon-apimgt/pull/603 [2] https://wso2.org/jira/browse/APIMANAGER-3600 -- Malintha Amarasinghe Software Engineer *WSO2, Inc. - lean | enterprise | middleware* http://wso2.com/ Mobile : +94 712383306 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] api mgt intercepter and startuppublisher jars pack packages from apimgt.impl component
Ping.. On Wed, Jun 3, 2015 at 5:39 PM, Supun Malinga sup...@wso2.com wrote: Hi, In addition org.wso2.carbon.apimgt.startup.publisher.valve.internal package is missing in [2]. On Wed, Jun 3, 2015 at 1:53 PM, Supun Malinga sup...@wso2.com wrote: Hi, $subject. Released jars in [1] and [2] had this issue. This causes issues at runtime. Shall we fix this asap.. ?. [1] http://maven.wso2.org/nexus/content/groups/wso2-public/org/wso2/carbon/apimgt/org.wso2.carbon.apimgt.startup.publisher/1.4.0/org.wso2.carbon.apimgt.startup.publisher-1.4.0.jar [2] http://maven.wso2.org/nexus/content/groups/wso2-public/org/wso2/carbon/apimgt/org.wso2.carbon.apimgt.interceptor/1.4.0/org.wso2.carbon.apimgt.interceptor-1.4.0.jar thanks, -- Supun Malinga, Senior Software Engineer, WSO2 Inc. http://wso2.com email: sup...@wso2.com sup...@wso2.com mobile: +94 (0)71 56 91 321 -- Supun Malinga, Senior Software Engineer, WSO2 Inc. http://wso2.com email: sup...@wso2.com sup...@wso2.com mobile: +94 (0)71 56 91 321 -- Supun Malinga, Senior Software Engineer, WSO2 Inc. http://wso2.com email: sup...@wso2.com sup...@wso2.com mobile: +94 (0)71 56 91 321 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] App Factory UX/UI Incorporation
Hi Manisha/Hasitha, Please clone [1] which contains the UX/UI changes done by UX team. I have incorporated UX/UI changes to User home, Application creation/update process and committed to GitHub. Please proceed with the rest of the pages once they are completed by UX team. [1]https://github.com/wso2-dev-ux/product-cloud -- Thanks and Regards, Punnadi Gunarathna Senior Software Engineer, WSO2, Inc.; http://wso2.com http://wso2 Blog: http://hi-my-world.blogspot.com/ Tel : 94 11 214 5345 Fax :94 11 2145300 http://lalajisureshika.blogspot.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Intermittent exceptions thrown in the backend during API publish via Firefox
Adding Bhathiya On Fri, Jun 5, 2015 at 10:09 AM, Ushani Balasooriya ush...@wso2.com wrote: Hi, Below 2 issues [1],[2] could be seen during the API creation process via Firefox 35.0.1. These issues are not reproducible via Chrome or private browser. What can be the reason for these issues? Exceptions are thrown from the backend. But when you try the same operation again in same api, it iwll be published successfully. [1] https://wso2.org/jira/browse/APIMANAGER-3731 [2] https://wso2.org/jira/browse/APIMANAGER-3742 Thanks! Ushani -- *Ushani Balasooriya* Senior Software Engineer - QA; WSO2 Inc; http://www.wso2.com/. Mobile; +94772636796 -- *Ushani Balasooriya* Senior Software Engineer - QA; WSO2 Inc; http://www.wso2.com/. Mobile; +94772636796 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Handling version change in C-App
Hi Manoj and Hasitha, To preserve older versions of a BPEL artifact, BPS requires to replace exact same BPEL artifacts with an updated one. Currently when an updated Capp is uploaded, it will undeploy old BPEL process and deploy new one. This will cause to remove old BPEL versions. To avoid this, as himasha suggest, we required to know reason for Capp underemployment, ( Capp updated, or removed from management console etc) so that we can handle this on Capp BPEL undeploy logic. I think, this will apply for HumanTask, BPMN versioning as well. Since Capp deployer doesn't support this, we need to see another way to solve this problem. Otherwise Capp will not support BPS versioning feature. Thanks, Hasitha. Hasitha Aravinda, Senior Software Engineer, WSO2 Inc. Email: hasi...@wso2.com Mobile : +1 201 887 1971, +94 718 210 200 On Thu, Jun 4, 2015 at 12:38 PM, Hasitha Hiranya hasit...@wso2.com wrote: Hi, This is one of the solutions people are using. Name the CAR file as xxx-car-v-1.0 Name all the artifacts inside it as artifact-xxx-v-1.0 Then deploy CAR files. Old ones will not be replaced. The references in each artifact to one another should be updated. We can do this to endpoints. But doing this to all will be cumbersome. Thanks On Thu, Jun 4, 2015 at 8:11 AM, Manoj Kumara ma...@wso2.com wrote: Hi Himasha, Please see my inline comments, The scenario that we come across is as below. 1. Deploy a C-App containing BPEL artifacts 2. Invoke an instance (instance 1) 3. Redeploy the C-App with updated BPEL artifacts. 4.When redeploying the previous C-App is undeployed which removes the invoked instance (instance 1) as well. This is the expected behavior. Since CApp get redeployed previously deployed artifacts also get un-deployed. For our BPEL C-App deployer we have implemented AppDeploymentHandler. We are unable to identify whether the undeployment is a direct undeployment ( user undeploying the C-App from console) or if it is getting undeployed due to a new upload of the same C-App. We are unable to handle the version change since AppDeploymentHandler only provides deployArtifacts and undeployArtifacts methods. At the moment we don't have CApp version support. When an updated CApp get uploaded previous one get undeployed and new one will be deployed. Regards, Manoj ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Hasitha Abeykoon* Senior Software Engineer; WSO2, Inc.; http://wso2.com *cell:* *+94 719363063* *blog: **abeykoon.blogspot.com* http://abeykoon.blogspot.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Handling version change in C-App
Hi Manoj, As Hasitha said, versioning is essential to processes as processes are supposed to be long running. Hence we cannot afford to un deploy the older version, when a new version is deployed. We need an enhancement in the AppDeploymentHandler interface to tell the deployer whether this is a new CAR deployment or a update of an existing car deployment. Then in the case of update, we can handle the logic such that versioning is preserved. Regards Nandika On Thu, Jun 4, 2015 at 11:57 PM, Hasitha Aravinda hasi...@wso2.com wrote: Hi Manoj and Hasitha, To preserve older versions of a BPEL artifact, BPS requires to replace exact same BPEL artifacts with an updated one. Currently when an updated Capp is uploaded, it will undeploy old BPEL process and deploy new one. This will cause to remove old BPEL versions. To avoid this, as himasha suggest, we required to know reason for Capp underemployment, ( Capp updated, or removed from management console etc) so that we can handle this on Capp BPEL undeploy logic. I think, this will apply for HumanTask, BPMN versioning as well. Since Capp deployer doesn't support this, we need to see another way to solve this problem. Otherwise Capp will not support BPS versioning feature. Thanks, Hasitha. Hasitha Aravinda, Senior Software Engineer, WSO2 Inc. Email: hasi...@wso2.com Mobile : +1 201 887 1971, +94 718 210 200 On Thu, Jun 4, 2015 at 12:38 PM, Hasitha Hiranya hasit...@wso2.com wrote: Hi, This is one of the solutions people are using. Name the CAR file as xxx-car-v-1.0 Name all the artifacts inside it as artifact-xxx-v-1.0 Then deploy CAR files. Old ones will not be replaced. The references in each artifact to one another should be updated. We can do this to endpoints. But doing this to all will be cumbersome. Thanks On Thu, Jun 4, 2015 at 8:11 AM, Manoj Kumara ma...@wso2.com wrote: Hi Himasha, Please see my inline comments, The scenario that we come across is as below. 1. Deploy a C-App containing BPEL artifacts 2. Invoke an instance (instance 1) 3. Redeploy the C-App with updated BPEL artifacts. 4.When redeploying the previous C-App is undeployed which removes the invoked instance (instance 1) as well. This is the expected behavior. Since CApp get redeployed previously deployed artifacts also get un-deployed. For our BPEL C-App deployer we have implemented AppDeploymentHandler. We are unable to identify whether the undeployment is a direct undeployment ( user undeploying the C-App from console) or if it is getting undeployed due to a new upload of the same C-App. We are unable to handle the version change since AppDeploymentHandler only provides deployArtifacts and undeployArtifacts methods. At the moment we don't have CApp version support. When an updated CApp get uploaded previous one get undeployed and new one will be deployed. Regards, Manoj ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Hasitha Abeykoon* Senior Software Engineer; WSO2, Inc.; http://wso2.com *cell:* *+94 719363063* *blog: **abeykoon.blogspot.com* http://abeykoon.blogspot.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Nandika Jayawardana WSO2 Inc ; http://wso2.com lean.enterprise.middleware ___ 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 all, I am currently working on generating spark transformations related to the operations available in the data wrangler. Data wrangler provides sufficient parameters to re-create these at spark.I have successfully implemented delete and split operations of wrangler in spark. Once this phase is completed, I can either directly generate these scripts at wrangler or use the javascript output and convert it to spark depending on the implementation. 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 It would be great if I could get to know which wrangler operations are important for a user of the ML Thanks, Danula On Wed, Jun 3, 2015 at 8:30 AM, Nirmal Fernando nir...@wso2.com wrote: Hi Danula, Please send an update of your work thus far. On Sun, May 10, 2015 at 2:30 PM, Nirmal Fernando nir...@wso2.com wrote: Hi Danula, Welcome to GSoC 15' ! Can you do some research on directly generating spark transformations using Wrangler and come up with a summary ? On Fri, May 8, 2015 at 11:03 AM, Danula Eranjith hmdanu...@gmail.com wrote: Hi all, Thank you for selecting my proposal [1] https://docs.google.com/document/d/18NFa23CrhXqnHrkl_AuRz3sQ3Axg7SEmiA7l66Hl9_0/edit?usp=sharing for GSoC 2015. I am really looking forward to work with you all and contribute to WSO2. I have already completed my primary research on wrangler and would like to meet you to get feedback on the proposed architecture. I am planning to start working on the project before 25th of May. Thank you, Danula [1] - https://docs.google.com/document/d/18NFa23CrhXqnHrkl_AuRz3sQ3Axg7SEmiA7l66Hl9_0/edit?usp=sharing -- Thanks regards, Nirmal Associate Technical Lead - Data Technologies Team, WSO2 Inc. Mobile: +94715779733 Blog: http://nirmalfdo.blogspot.com/ -- Thanks regards, Nirmal Associate Technical Lead - Data Technologies Team, WSO2 Inc. Mobile: +94715779733 Blog: http://nirmalfdo.blogspot.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [AppM] Please review and merge PR
Hi Team, Please review and merge PR [1], which should fix JIRA issue [2]. [1] https://github.com/wso2/product-app-manager/pull/235 [2] https://wso2.org/jira/browse/APPM-946 Thanks Regards -- Sajith Ariyarathna Software Engineer; WSO2, Inc.; http://wso2.com/ mobile: +94 77 6602284, +94 71 3951048 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Handling version change in C-App
Hi, This is one of the solutions people are using. Name the CAR file as xxx-car-v-1.0 Name all the artifacts inside it as artifact-xxx-v-1.0 Then deploy CAR files. Old ones will not be replaced. The references in each artifact to one another should be updated. We can do this to endpoints. But doing this to all will be cumbersome. Thanks On Thu, Jun 4, 2015 at 8:11 AM, Manoj Kumara ma...@wso2.com wrote: Hi Himasha, Please see my inline comments, The scenario that we come across is as below. 1. Deploy a C-App containing BPEL artifacts 2. Invoke an instance (instance 1) 3. Redeploy the C-App with updated BPEL artifacts. 4.When redeploying the previous C-App is undeployed which removes the invoked instance (instance 1) as well. This is the expected behavior. Since CApp get redeployed previously deployed artifacts also get un-deployed. For our BPEL C-App deployer we have implemented AppDeploymentHandler. We are unable to identify whether the undeployment is a direct undeployment ( user undeploying the C-App from console) or if it is getting undeployed due to a new upload of the same C-App. We are unable to handle the version change since AppDeploymentHandler only provides deployArtifacts and undeployArtifacts methods. At the moment we don't have CApp version support. When an updated CApp get uploaded previous one get undeployed and new one will be deployed. Regards, Manoj ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Hasitha Abeykoon* Senior Software Engineer; WSO2, Inc.; http://wso2.com *cell:* *+94 719363063* *blog: **abeykoon.blogspot.com* http://abeykoon.blogspot.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [APIM] Please review and merge
Hi Team, please merge these further fixes for my application, my subscriptions etc.. [1] https://github.com/wso2/carbon-apimgt/pull/600 https://github.com/wso2/carbon-apimgt/pull/600 Regards, -- Thusitha Kalugamage *Software Engineer* Mobile : +94 (0) 774 074370 Tel : +94 (0) 112 145 345 thusi...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [IS] Findbugs Error : is provided externally to the method and not sanitized before use.
Hi Chamila, Some programs accept untrusted data originated from invalid sources and then passes to different trusted domains. Most of the times the data is in the form of a string with some internal syntactic structure, which the subsystem must parse. Such data must be sanitized both because the subsystem may be unprepared to handle the malformed input and because unsanitized input may include an injection attack. As an example: The problem: The sqlString, mentioned below accepts unsanitized input arguments. So it may permits a sql injection attack public void accessPermission(String username,char[] password)throws SQLException { String sqlString = SELECT * FROM db_user WHERE username = ' + username +' AND password =' + pwd + '; } The solution: public void accessPermission(String username, char[] password)throws SQLException{ String sqlString = select * from db_user whereusername=? and password=?; PreparedStatement stmt =connection.prepareStatement(sqlString); stmt.setString(1, username); stmt.setString(2, pwd); } This API can be used for building SQL commands that sanitize untrusted data Thanks and Reagards, Hasanthi Dissanayake Software Engineer | WSO2 E: hasan...@wso2.com nirosh...@wso2.com M :0718407133| http://wso2.com http://wso2.com/ On Thu, Jun 4, 2015 at 4:38 PM, Chamila Wijayarathna cham...@wso2.com wrote: Hi Rajeevan, Value of CHECK_EXIST_USER_DATA is SELECT + DATA_VALUE + FROM IDN_IDENTITY_USER_DATA + WHERE TENANT_ID = ? AND USER_NAME = ? AND DATA_KEY=?. I tried SELECT DATA_VALUE FROM IDN_IDENTITY_USER_DATA WHERE TENANT_ID = ? AND USER_NAME = ? AND DATA_KEY=? and SELECT DATA_VALUE FROM IDN_IDENTITY_USER_DATA WHERE TENANT_ID=? AND USER_NAME=? AND DATA_KEY=? as well. But getting the same result still. Thanks. On Thu, Jun 4, 2015 at 4:05 PM, Rajeevan Vimalanathan rajeev...@wso2.com wrote: Hi Chamila, What is the value of SQLQuery.CHECK_EXIST_USER_DATA? Is this a constant? You can find a similar issue reported at [1]. [1] http://stackoverflow.com/questions/398179/findbugs-not-finding-potential-sql-injection-vulnerability Thanks, Rajeevan On Wed, Jun 3, 2015 at 9:57 AM, Chamila Wijayarathna cham...@wso2.com wrote: Hello all, When profiling using Sonar, I'm getting error as in $subject (squid:S2077) from [1]. What is the reason for this warning? how can I solve this? 1. https://github.com/wso2/carbon-identity/blob/master/components/identity-mgt/org.wso2.carbon.identity.mgt/src/main/java/org/wso2/carbon/identity/mgt/store/JDBCIdentityDataStore.java#L92 Thank You! -- *Chamila Dilshan Wijayarathna,* Software Engineer Mobile:(+94)788193620 WSO2 Inc., http://wso2.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Vimalanathan Rajeevan Software Engineer WSO2 Inc.:http://wso2.com lean.enterprise.middleware Mobile : +94 773090875 -- *Chamila Dilshan Wijayarathna,* Software Engineer Mobile:(+94)788193620 WSO2 Inc., http://wso2.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Developer Studio 3.8.0 M3 Released!
Hi All, We have WSO2 Developer Studio 3.8.0 M3 ready to be downloaded at [1]. This release includes following improvements, tasks and bug fixes. Improvements: [TOOLS-2825] https://wso2.org/jira/browse/TOOLS-2825 - ESB Artifacts cannot be opened from registry perspective itself [TOOLS-2826] https://wso2.org/jira/browse/TOOLS-2826 - WS-Policy files cannot be opened from the registry perspective Tasks: [TOOLS-2827] https://wso2.org/jira/browse/TOOLS-2827 - Updating dependency jars with ESB 4.9.0 Alpha jars Bugs: [TOOLS-2773] https://wso2.org/jira/browse/TOOLS-2773 - When opening the Security Form Editor initially, it displays as it is not saved [TOOLS-2810] https://wso2.org/jira/browse/TOOLS-2810 - Issues in Security Form Editor on page change [TOOLS-2814] https://wso2.org/jira/browse/TOOLS-2814 - Validate text fields for Kerberos Authentication in Security Form Editor [TOOLS-2821] https://wso2.org/jira/browse/TOOLS-2821 - Select the radio button when selecting the security scenario via click on the link of the Security Form Editor Your feedback is most welcome. Please report issues at [2] and specify the affect version as 3.8.0 M3. [1] *https://svn.wso2.org/repos/wso2/scratch/DevS/ https://svn.wso2.org/repos/wso2/scratch/DevS/* [2] https://wso2.org/jira/browse/TOOLS Thanks and Regards, WSO2 Developer Studio Team Sohani Weerasinghe Software Engineer WSO2, Inc: http://wso2.com Mobile : +94 716439774 Blog :http://christinetechtips.blogspot.com/ Twitter : https://twitter.com/sohanichristine ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [MDM] [Android] Obtaining Device Storage Information Accurately
Hi Milan, Have you experimented with this[1] SDK method? It might solve the issue you are having. Ideally the usage of memory info retrieval would be, we can know if the devise has enough memory to install an application, prior to issuing an operation. [1]. http://developer.android.com/reference/android/os/Environment.html#isExternalStorageRemovable() Regards, Inosh On Thu, Jun 4, 2015 at 11:20 AM, Milan Perera mi...@wso2.com wrote: Hi Inosh, The Android's API suggested way of getting external storage details as follows. String storagePath = android.os.Environment.getExternalStorageDirectory().getPath(); // This gives the '/storage/emulated/0' StatFs directoryStatus = new StatFs(storagePath); So this is what we have used in our android agent as well. Even though the word 'external' is used here, it does not mean the external storage that we expect. Usually what we think as the external storage is the external SD/microSD card. However, as it mentioned in the API [1], 'external' is considered as media/shared storage. It is a filesystem that can hold a relatively large amount of data and that is shared across all applications (does not enforce permissions). Traditionally this is a SD card, but it may also be implemented as built-in storage in a device that is distinct from the protected internal storage and can be mounted as a filesystem on a device. Therefor even if we do the check *android.os.Environment.getExternalStorageState().equals(android.os.Environment.MEDIA_MOUNTED)*, it always returns true since nowadays almost all the android devices are shipped with built-in external storage. So my suggestion is to calculate internal and external memories as follows. String externalStorage = System.getenv(EXTERNAL_STORAGE); // returns '/storage/emulated/0' String secondaryStorage = System.getenv(SECONDARY_STORAGE); // returns 'null' if device does not support external-sd-card or returns '/storage/extSdCard' Then we will be able get the accurate mount point details for both in internal (externalStorage) and external (secondaryStorage) storage. [1] http://developer.android.com/reference/android/os/Environment.html#getExternalStorageDirectory%28%29 Regards, On Wed, Jun 3, 2015 at 3:10 PM, Inosh Perera ino...@wso2.com wrote: Hi Dilan/Milan, In Android, as EXTERNAL_MEMORY implies both INTERNAL+EXTERNAL Could you explain this statement bit more? Isn't external memory normally the externally mounted SD card. Regards, Inosh On Wed, Jun 3, 2015 at 2:50 PM, Dilan Udara Ariyaratne dil...@wso2.com wrote: Hi All, In Android, as EXTERNAL_MEMORY implies both INTERNAL+EXTERNAL, to accurately obtain information from the agent, let's do a small calculation at the agent side to retrieve correct values as follows. Current payload retrieved : { EXTERNAL_TOTAL_MEMORY: 4.92, INTERNAL_AVAILABLE_MEMORY: 4.78, EXTERNAL_AVAILABLE_MEMORY: 4.78, OPERATOR: Android, BATTERY_LEVEL: 51, INTERNAL_TOTAL_MEMORY: 4.92 } Here we can obtain the correct value for EXTERNAL_TOTAL_MEMORY as EXTERNAL_TOTAL_MEMORY = EXTERNAL_TOTAL_MEMORY - INTERNAL_TOTAL_MEMORY Similarly, the correct value for EXTERNAL_AVAILABLE_MEMORY as EXTERNAL_AVAILABLE_MEMORY = EXTERNAL_AVAILABLE_MEMORY - INTERNAL_AVAILABLE_MEMORY So the final outcome would look something similar to the following. { OPERATOR: Android, BATTERY_LEVEL: 51, INTERNAL_TOTAL_MEMORY: 4.92, INTERNAL_AVAILABLE_MEMORY: 4.78, EXTERNAL_TOTAL_MEMORY: 0.00, EXTERNAL_AVAILABLE_MEMORY: 0.00 } - - - - - - - - - - - - - - - - - - - - - - - - - - Cheers. *Dilan U. Ariyaratne* Software Engineer WSO2 Inc. http://wso2.com/ Mobile: +94775149066 lean . enterprise . middleware -- Inosh Perera Software Engineer, WSO2 Inc. Tel: 0785293686 -- Milan Harindu Perera Software Engineer *WSO2, Inc* (+94) 77 309 7088 lean . enterprise . middleware http://lk.linkedin.com/in/milanharinduperera -- Inosh Perera Software Engineer, WSO2 Inc. Tel: 0785293686 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Clarification on import swagger doc
Hi Lakmali, Thanks for the clarification. On Thu, Jun 4, 2015 at 12:17 PM, Lakmali Baminiwatta lakm...@wso2.com wrote: Hi Ushani, On 4 June 2015 at 11:58, Ushani Balasooriya ush...@wso2.com wrote: Hi Jo, Just to re confirm, all attributes include, context, tags, endpoints etc as well I suppose? Swagger documentation has the resource definition (paths, methods, auth types, tiers, scope), scope definition (name, key, roles) and API title version. It doesn't store any other information like endpoints, tags, context, etc. Thanks, Lakmali On Thu, Jun 4, 2015 at 11:29 AM, Joseph Fonseka jos...@wso2.com wrote: Hi Generally it should import the whole document but some of the attributes should be treated differently depending on the context ex. API Name should only get imported if the API is not saved. If the API is saved the designer should replace the name in swagger with the API's name. Cheers Jo On Thu, Jun 4, 2015 at 6:54 AM, Lakmali Baminiwatta lakm...@wso2.com wrote: Adding Jo and Madusanka. On 4 June 2015 at 11:09, Ushani Balasooriya ush...@wso2.com wrote: Hi APIm Team, When you import a swagger document, should it import only the swagger related resources (E.g., resource and scopes) or the whole API information? According to the issue [1] if it is only swagger information, it still imports the API name as well. Pls advice. [1] https://wso2.org/jira/browse/APIMANAGER-3722 Thanks! -- *Ushani Balasooriya* Senior Software Engineer - QA; WSO2 Inc; http://www.wso2.com/. -- Lakmali Baminiwatta Senior Software Engineer WSO2, Inc.: http://wso2.com lean.enterprise.middleware mobile: +94 71 2335936 blog : lakmali.com -- -- *Joseph Fonseka* WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: +94 772 512 430 skype: jpfonseka * http://lk.linkedin.com/in/rumeshbandara* -- *Ushani Balasooriya* Senior Software Engineer - QA; WSO2 Inc; http://www.wso2.com/. Mobile; +94772636796 -- Lakmali Baminiwatta Senior Software Engineer WSO2, Inc.: http://wso2.com lean.enterprise.middleware mobile: +94 71 2335936 blog : lakmali.com -- *Ushani Balasooriya* Senior Software Engineer - QA; WSO2 Inc; http://www.wso2.com/. Mobile; +94772636796 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Clarification on import swagger doc
Hi Jo, Just to re confirm, all attributes include, context, tags, endpoints etc as well I suppose? On Thu, Jun 4, 2015 at 11:29 AM, Joseph Fonseka jos...@wso2.com wrote: Hi Generally it should import the whole document but some of the attributes should be treated differently depending on the context ex. API Name should only get imported if the API is not saved. If the API is saved the designer should replace the name in swagger with the API's name. Cheers Jo On Thu, Jun 4, 2015 at 6:54 AM, Lakmali Baminiwatta lakm...@wso2.com wrote: Adding Jo and Madusanka. On 4 June 2015 at 11:09, Ushani Balasooriya ush...@wso2.com wrote: Hi APIm Team, When you import a swagger document, should it import only the swagger related resources (E.g., resource and scopes) or the whole API information? According to the issue [1] if it is only swagger information, it still imports the API name as well. Pls advice. [1] https://wso2.org/jira/browse/APIMANAGER-3722 Thanks! -- *Ushani Balasooriya* Senior Software Engineer - QA; WSO2 Inc; http://www.wso2.com/. -- Lakmali Baminiwatta Senior Software Engineer WSO2, Inc.: http://wso2.com lean.enterprise.middleware mobile: +94 71 2335936 blog : lakmali.com -- -- *Joseph Fonseka* WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: +94 772 512 430 skype: jpfonseka * http://lk.linkedin.com/in/rumeshbandara* -- *Ushani Balasooriya* Senior Software Engineer - QA; WSO2 Inc; http://www.wso2.com/. Mobile; +94772636796 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Clarification on import swagger doc
Hi Ushani, On 4 June 2015 at 11:58, Ushani Balasooriya ush...@wso2.com wrote: Hi Jo, Just to re confirm, all attributes include, context, tags, endpoints etc as well I suppose? Swagger documentation has the resource definition (paths, methods, auth types, tiers, scope), scope definition (name, key, roles) and API title version. It doesn't store any other information like endpoints, tags, context, etc. Thanks, Lakmali On Thu, Jun 4, 2015 at 11:29 AM, Joseph Fonseka jos...@wso2.com wrote: Hi Generally it should import the whole document but some of the attributes should be treated differently depending on the context ex. API Name should only get imported if the API is not saved. If the API is saved the designer should replace the name in swagger with the API's name. Cheers Jo On Thu, Jun 4, 2015 at 6:54 AM, Lakmali Baminiwatta lakm...@wso2.com wrote: Adding Jo and Madusanka. On 4 June 2015 at 11:09, Ushani Balasooriya ush...@wso2.com wrote: Hi APIm Team, When you import a swagger document, should it import only the swagger related resources (E.g., resource and scopes) or the whole API information? According to the issue [1] if it is only swagger information, it still imports the API name as well. Pls advice. [1] https://wso2.org/jira/browse/APIMANAGER-3722 Thanks! -- *Ushani Balasooriya* Senior Software Engineer - QA; WSO2 Inc; http://www.wso2.com/. -- Lakmali Baminiwatta Senior Software Engineer WSO2, Inc.: http://wso2.com lean.enterprise.middleware mobile: +94 71 2335936 blog : lakmali.com -- -- *Joseph Fonseka* WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: +94 772 512 430 skype: jpfonseka * http://lk.linkedin.com/in/rumeshbandara* -- *Ushani Balasooriya* Senior Software Engineer - QA; WSO2 Inc; http://www.wso2.com/. Mobile; +94772636796 -- Lakmali Baminiwatta Senior Software Engineer WSO2, Inc.: http://wso2.com lean.enterprise.middleware mobile: +94 71 2335936 blog : lakmali.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [EMM] Errors when creating secondary user store
Hi, I could see secondary domain and AD users with following config. But that config contains some properties with spaces. isn't this something we need to fix? UserStoreManager class=org.wso2.carbon.user.core.ldap.ActiveDirectoryUserStoreManager Property name=defaultRealmNameWSO2.ORG/Property Property name=Disabledfalse/Property *Property name=Diabledfalse/Property* Property name=kdcEnabledfalse/Property Property name=ConnectionNameCN=Administrator,CN=Users,DC=wso2,DC=test/Property * Property name=Connection NameCN=Administrator,CN=Users,DC=wso2,DC=test/Property* Property name=ConnectionURLldaps://192.168.18.13:636/Property *Property name=Connection URLldaps://192.168.18.13:636 http://192.168.18.13:636/Property* Property name=ConnectionPasswordpass#word2/Property * Property name=Connection Passwordpass#word2/Property* Property name=UserSearchBaseCN=Users,DC=wso2,DC=test/Property * Property name=User Search BaseCN=Users,DC=wso2,DC=test/Property* Property name=passwordHashMethodPLAIN_TEXT/Property * Property name=User Search Filter(amp;(objectClass=user)(cn=?))/PropertyProperty name=User Object Class(objectClass=user)/PropertyProperty name=User Entry Object Classuser/Property* Property name=UserEntryObjectClassuser/Property Property name=UserNameAttributecn/Property * Property name=Username Attributecn/Property* Property name=isADLDSRolefalse/Property Property name=userAccountControl512/Property Property name=UserNameListFilter(objectClass=user)/Property Property name=UserNameSearchFilter(amp;(objectClass=user)(cn=?))/Property Property name=UsernameJavaRegEx[a-zA-Z0-9._-|//]{3,30}$/Property Property name=UsernameJavaScriptRegEx^[\S]{3,30}$/Property Property name=PasswordJavaScriptRegEx^[\S]{5,30}$/Property Property name=RolenameJavaScriptRegEx^[\S]{3,30}$/Property Property name=RolenameJavaRegEx[a-zA-Z0-9._-|//]{3,30}$/Property Property name=ReadGroupstrue/Property Property name=WriteGroupstrue/Property Property name=EmptyRolesAllowedtrue/Property Property name=GroupSearchBaseCN=Users,DC=WSO2,DC=Com/Property Property name=GroupEntryObjectClassgroup/Property Property name=GroupNameAttributecn/Property Property name=SharedGroupNameAttributecn/Property Property name=SharedGroupSearchBaseou=SharedGroups,dc=wso2,dc=org/Property Property name=SharedGroupEntryObjectClassgroups/Property Property name=SharedTenantNameListFilter(object=organizationalUnit)/Property Property name=SharedTenantNameAttributeou/Property Property name=SharedTenantObjectClassorganizationalUnit/Property Property name=MembershipAttributemember/Property Property name=GroupNameListFilter(objectcategory=group)/Property Property name=GroupNameSearchFilter(amp;(objectClass=group)(cn=?))/Property Property name=UserRolesCacheEnabledtrue/Property Property name=Referralfollow/Property Property name=BackLinksEnabledtrue/Property Property name=MaxRoleNameListLength100/Property Property name=MaxUserNameListLength100/Property Property name=SCIMEnabledfalse/Property Property name=DomainNameAD2/Property /UserStoreManager On Thu, Jun 4, 2015 at 12:07 PM, Amalka Subasinghe ama...@wso2.com wrote: Hi, I'm trying to setup AD as secondary user store in EMM 1.1.0. When I try to create it via UI it creates the xml file as [1]. each property contains a space between words then the carbon log gives an error [2] saying Required ConnectionURL property is not set at the LDAP configurations Then I removed the space in between property Connection URL and save. Then carbon log gives another error [3] - Required mandatory property Connection URL is not defined! So I gave both Connection URL and ConnectionURL in xml file to solve the issue with ConnectionURL Same as above, I had to specify the same property with and without space to fix the errors in carbon log and there were some properties missing in the xml file too. had to add those manually. [4] shows the xml file after fixing all the errors. [missing properties shows in red color.] Still I can't see the Secondary user domain and users of the AD in users page. How can I fix this? [1] ?xml version=1.0 encoding=UTF-8?UserStoreManager class=org.wso2.carbon.user.core.ldap.ActiveDirectoryUserStoreManager Property name=*Connection Name* CN=Administrator,CN=Users,DC=wso2,DC=test/Property Property name=Connection URLldaps://192.168.18.13:636/Property Property name=Connection Passwordpass#word2/Property Property name=User Search BaseCN=Users,DC=wso2,DC=test/Property Property name=Diabledfalse/Property Property name=User Object Class(objectClass=user)/Property Property name=Username Attributecn/Property Property name=User Search Filter(amp;(objectClass=user)(cn=?))/Property Property name=User Entry Object Classuser/Property Property
[Dev] [EMM] Errors when creating secondary user store
Hi, I'm trying to setup AD as secondary user store in EMM 1.1.0. When I try to create it via UI it creates the xml file as [1]. each property contains a space between words then the carbon log gives an error [2] saying Required ConnectionURL property is not set at the LDAP configurations Then I removed the space in between property Connection URL and save. Then carbon log gives another error [3] - Required mandatory property Connection URL is not defined! So I gave both Connection URL and ConnectionURL in xml file to solve the issue with ConnectionURL Same as above, I had to specify the same property with and without space to fix the errors in carbon log and there were some properties missing in the xml file too. had to add those manually. [4] shows the xml file after fixing all the errors. [missing properties shows in red color.] Still I can't see the Secondary user domain and users of the AD in users page. How can I fix this? [1] ?xml version=1.0 encoding=UTF-8?UserStoreManager class=org.wso2.carbon.user.core.ldap.ActiveDirectoryUserStoreManager Property name=*Connection Name* CN=Administrator,CN=Users,DC=wso2,DC=test/Property Property name=Connection URLldaps://192.168.18.13:636/Property Property name=Connection Passwordpass#word2/Property Property name=User Search BaseCN=Users,DC=wso2,DC=test/Property Property name=Diabledfalse/Property Property name=User Object Class(objectClass=user)/Property Property name=Username Attributecn/Property Property name=User Search Filter(amp;(objectClass=user)(cn=?))/Property Property name=User Entry Object Classuser/Property Property name=Group Entry Object Classgroup/Property Property name=Maximum User List Length100/Property Property name=Maximum Role List Length100/Property Property name=Enable User Role Cachetrue/Property Property name=Enable SCIMfalse/Property Property name=ReadGroupstrue/Property Property name=Group Search BaseCN=Users,DC=WSO2,DC=Com/Property Property name=Group Object Class(objectcategory=group)/Property Property name=Group Name Attributecn/Property Property name=Membership Attributemember/Property Property name=Member Of Attribute/ Property name=Group Search Filter(amp;(objectClass=group)(cn=?))/Property Property name=Password Hashing AlgorithmPLAIN_TEXT/Property Property name=Password RegEx (Javascript)^[\S]{5,30}$/Property Property name=Username RegEx (Javascript)^[\S]{3,30}$/Property Property name=Username RegEx (Java)[a-zA-Z0-9._-|//]{3,30}$/Property Property name=Role Name RegEx (Javascript)^[\S]{3,30}$/Property Property name=Role Name RegEx (Java)[a-zA-Z0-9._-|//]{3,30}$/Property Property name=Enable Write Groupstrue/Property Property name=User DN Patternuid={0},ou=Users,dc=wso2,dc=org/Property Property name=Allow Empty Rolestrue/Property Property name=Default Realm NameWSO2.ORG/Property Property name=Enable KDCfalse/Property Property name=Display Name Attributecn/Property Property name=Is ADLDS Rolefalse/Property Property name=User Account Control512/Property Property name=Referralfollow/Property Property name=Enable Back Linkstrue/Property Property name=DomainNameAD/Property Property name=Description/ /UserStoreManager [2] [2015-06-04 11:32:59,024] ERROR {org.wso2.carbon.user.core.common.AbstractUserStoreManager} - Cannot create org.wso2.carbon.user.core.ldap.ActiveDirectoryUserStoreManager java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:526) at org.wso2.carbon.user.core.common.AbstractUserStoreManager.createSecondaryUserStoreManager(AbstractUserStoreManager.java:3469) at org.wso2.carbon.user.core.common.AbstractUserStoreManager.addSecondaryUserStoreManager(AbstractUserStoreManager.java:3525) at org.wso2.carbon.user.core.common.UserStoreDeploymentManager.deploy(UserStoreDeploymentManager.java:65) at org.wso2.carbon.identity.user.store.configuration.deployer.UserStoreConfigurationDeployer.deploy(UserStoreConfigurationDeployer.java:58) at org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136) at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:807) at org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144) at org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:377) at org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254) at
[Dev] Do we need to keep Embed-Dependency In carbon-apimgt 1.4.0 and 1.9.0
Hi Folks, Carbon team has raised some concerns regarding below Embed-Dependency [1] that we are using in few components of carbon-apimgt 1.4.0 and 1.9.0 branches. In fact I have added them in to 1.4.0 poms because of we were using it in SVN poms. Embed-Dependency scribe;scope=compile|runtime;inline=false; /Embed-Dependency Does any one has valid point to keep it? or can we remove it? What are the pros and cons? [1] https://github.com/wso2/carbon-apimgt/blob/master/components/apimgt/org.wso2.carbon.apimgt.interceptor/pom.xml Regards Roshan. -- Roshan Wijesena. Senior Software Engineer-WSO2 Inc. Mobile: *+94719154640* Email: ros...@wso2.com *WSO2, Inc. :** wso2.com http://wso2.com/* lean.enterprise.middleware. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [DEV] IDN tables can't be separate from UM tables due to foreign key constraints from IDN scripts
We need to separate two database schemas accordingly and based on that will need to change SQL queries and programs. *Dhanuka Ranasinghe* Senior Software Engineer WSO2 Inc. ; http://wso2.com lean . enterprise . middleware phone : +94 715381915 On Thu, Jun 4, 2015 at 3:37 PM, Harsha Kumara hars...@wso2.com wrote: Hi IS Team, During APIM 2.0.0 development activities, we have found that we can't separate UM tables from IDN tables due to having foreign key constraints. Had a offline regarding this matter and created a Jira in [1]. We will need this fixed in next milestone release which will be due in 15th June. [1] - https://wso2.org/jira/browse/IDENTITY-3335 Thanks, Harsha -- Harsha Kumara Software Engineer, WSO2 Inc. Mobile: +94775505618 Blog:harshcreationz.blogspot.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [DEV] IDN tables can't be separate from UM tables due to foreign key constraints from IDN scripts
We are working on to fix this. On Thu, Jun 4, 2015 at 3:37 PM, Harsha Kumara hars...@wso2.com wrote: Hi IS Team, During APIM 2.0.0 development activities, we have found that we can't separate UM tables from IDN tables due to having foreign key constraints. Had a offline regarding this matter and created a Jira in [1]. We will need this fixed in next milestone release which will be due in 15th June. [1] - https://wso2.org/jira/browse/IDENTITY-3335 Thanks, Harsha -- Harsha Kumara Software Engineer, WSO2 Inc. Mobile: +94775505618 Blog:harshcreationz.blogspot.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Prasad Tissera Software Engineer. Mobile : +94777223444 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [IS] Findbugs Error : is provided externally to the method and not sanitized before use.
Hi Rajeevan, Value of CHECK_EXIST_USER_DATA is SELECT + DATA_VALUE + FROM IDN_IDENTITY_USER_DATA + WHERE TENANT_ID = ? AND USER_NAME = ? AND DATA_KEY=?. I tried SELECT DATA_VALUE FROM IDN_IDENTITY_USER_DATA WHERE TENANT_ID = ? AND USER_NAME = ? AND DATA_KEY=? and SELECT DATA_VALUE FROM IDN_IDENTITY_USER_DATA WHERE TENANT_ID=? AND USER_NAME=? AND DATA_KEY=? as well. But getting the same result still. Thanks. On Thu, Jun 4, 2015 at 4:05 PM, Rajeevan Vimalanathan rajeev...@wso2.com wrote: Hi Chamila, What is the value of SQLQuery.CHECK_EXIST_USER_DATA? Is this a constant? You can find a similar issue reported at [1]. [1] http://stackoverflow.com/questions/398179/findbugs-not-finding-potential-sql-injection-vulnerability Thanks, Rajeevan On Wed, Jun 3, 2015 at 9:57 AM, Chamila Wijayarathna cham...@wso2.com wrote: Hello all, When profiling using Sonar, I'm getting error as in $subject (squid:S2077) from [1]. What is the reason for this warning? how can I solve this? 1. https://github.com/wso2/carbon-identity/blob/master/components/identity-mgt/org.wso2.carbon.identity.mgt/src/main/java/org/wso2/carbon/identity/mgt/store/JDBCIdentityDataStore.java#L92 Thank You! -- *Chamila Dilshan Wijayarathna,* Software Engineer Mobile:(+94)788193620 WSO2 Inc., http://wso2.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Vimalanathan Rajeevan Software Engineer WSO2 Inc.:http://wso2.com lean.enterprise.middleware Mobile : +94 773090875 -- *Chamila Dilshan Wijayarathna,* Software Engineer Mobile:(+94)788193620 WSO2 Inc., http://wso2.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [IS] Findbugs Error : is provided externally to the method and not sanitized before use.
Hi Chamila, What is the value of SQLQuery.CHECK_EXIST_USER_DATA? Is this a constant? You can find a similar issue reported at [1]. [1] http://stackoverflow.com/questions/398179/findbugs-not-finding-potential-sql-injection-vulnerability Thanks, Rajeevan On Wed, Jun 3, 2015 at 9:57 AM, Chamila Wijayarathna cham...@wso2.com wrote: Hello all, When profiling using Sonar, I'm getting error as in $subject (squid:S2077) from [1]. What is the reason for this warning? how can I solve this? 1. https://github.com/wso2/carbon-identity/blob/master/components/identity-mgt/org.wso2.carbon.identity.mgt/src/main/java/org/wso2/carbon/identity/mgt/store/JDBCIdentityDataStore.java#L92 Thank You! -- *Chamila Dilshan Wijayarathna,* Software Engineer Mobile:(+94)788193620 WSO2 Inc., http://wso2.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Vimalanathan Rajeevan Software Engineer WSO2 Inc.:http://wso2.com lean.enterprise.middleware Mobile : +94 773090875 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [EMM] Errors when creating secondary user store
Hi Amalka, But that config contains some properties with spaces. isn't this something we need to fix? Could you please highlight what these properties are exactly? Regards, Inosh On Thu, Jun 4, 2015 at 1:10 PM, Amalka Subasinghe ama...@wso2.com wrote: Hi, I could see secondary domain and AD users with following config. But that config contains some properties with spaces. isn't this something we need to fix? UserStoreManager class=org.wso2.carbon.user.core.ldap.ActiveDirectoryUserStoreManager Property name=defaultRealmNameWSO2.ORG/Property Property name=Disabledfalse/Property *Property name=Diabledfalse/Property* Property name=kdcEnabledfalse/Property Property name=ConnectionNameCN=Administrator,CN=Users,DC=wso2,DC=test/Property * Property name=Connection NameCN=Administrator,CN=Users,DC=wso2,DC=test/Property* Property name=ConnectionURLldaps://192.168.18.13:636/Property *Property name=Connection URLldaps://192.168.18.13:636 http://192.168.18.13:636/Property* Property name=ConnectionPasswordpass#word2/Property * Property name=Connection Passwordpass#word2/Property* Property name=UserSearchBaseCN=Users,DC=wso2,DC=test/Property * Property name=User Search BaseCN=Users,DC=wso2,DC=test/Property* Property name=passwordHashMethodPLAIN_TEXT/Property * Property name=User Search Filter(amp;(objectClass=user)(cn=?))/PropertyProperty name=User Object Class(objectClass=user)/PropertyProperty name=User Entry Object Classuser/Property* Property name=UserEntryObjectClassuser/Property Property name=UserNameAttributecn/Property * Property name=Username Attributecn/Property* Property name=isADLDSRolefalse/Property Property name=userAccountControl512/Property Property name=UserNameListFilter(objectClass=user)/Property Property name=UserNameSearchFilter(amp;(objectClass=user)(cn=?))/Property Property name=UsernameJavaRegEx[a-zA-Z0-9._-|//]{3,30}$/Property Property name=UsernameJavaScriptRegEx^[\S]{3,30}$/Property Property name=PasswordJavaScriptRegEx^[\S]{5,30}$/Property Property name=RolenameJavaScriptRegEx^[\S]{3,30}$/Property Property name=RolenameJavaRegEx[a-zA-Z0-9._-|//]{3,30}$/Property Property name=ReadGroupstrue/Property Property name=WriteGroupstrue/Property Property name=EmptyRolesAllowedtrue/Property Property name=GroupSearchBaseCN=Users,DC=WSO2,DC=Com/Property Property name=GroupEntryObjectClassgroup/Property Property name=GroupNameAttributecn/Property Property name=SharedGroupNameAttributecn/Property Property name=SharedGroupSearchBaseou=SharedGroups,dc=wso2,dc=org/Property Property name=SharedGroupEntryObjectClassgroups/Property Property name=SharedTenantNameListFilter(object=organizationalUnit)/Property Property name=SharedTenantNameAttributeou/Property Property name=SharedTenantObjectClassorganizationalUnit/Property Property name=MembershipAttributemember/Property Property name=GroupNameListFilter(objectcategory=group)/Property Property name=GroupNameSearchFilter(amp;(objectClass=group)(cn=?))/Property Property name=UserRolesCacheEnabledtrue/Property Property name=Referralfollow/Property Property name=BackLinksEnabledtrue/Property Property name=MaxRoleNameListLength100/Property Property name=MaxUserNameListLength100/Property Property name=SCIMEnabledfalse/Property Property name=DomainNameAD2/Property /UserStoreManager On Thu, Jun 4, 2015 at 12:07 PM, Amalka Subasinghe ama...@wso2.com wrote: Hi, I'm trying to setup AD as secondary user store in EMM 1.1.0. When I try to create it via UI it creates the xml file as [1]. each property contains a space between words then the carbon log gives an error [2] saying Required ConnectionURL property is not set at the LDAP configurations Then I removed the space in between property Connection URL and save. Then carbon log gives another error [3] - Required mandatory property Connection URL is not defined! So I gave both Connection URL and ConnectionURL in xml file to solve the issue with ConnectionURL Same as above, I had to specify the same property with and without space to fix the errors in carbon log and there were some properties missing in the xml file too. had to add those manually. [4] shows the xml file after fixing all the errors. [missing properties shows in red color.] Still I can't see the Secondary user domain and users of the AD in users page. How can I fix this? [1] ?xml version=1.0 encoding=UTF-8?UserStoreManager class=org.wso2.carbon.user.core.ldap.ActiveDirectoryUserStoreManager Property name=*Connection Name* CN=Administrator,CN=Users,DC=wso2,DC=test/Property Property name=Connection URLldaps://192.168.18.13:636 /Property Property name=Connection Passwordpass#word2/Property Property name=User Search
Re: [Dev] Error - Running Integration test for connector with ESB-4.9.0.ALPHA
Hi all, Still this error is there for getting the dependencies. Thank you. On Wed, Jun 3, 2015 at 5:27 PM, Saneth Dharmakeerthi sane...@wso2.com wrote: Hi Elilmatha, There is no 4.4.1 version for org.wso2.carbon.automation. Please update the test integration dependencies as bellow. carbon.automation.version4.3.1/carbon.automation.version carbon.automationutils.version4.3.0/carbon.automationutils.versio Thanks and Best Regards, Saneth Dharmakeerthi Senior Software Engineer WSO2, Inc. Mobile: +94772325511 On Wed, Jun 3, 2015 at 3:43 PM, Elilmatha Sivanesan elilma...@wso2.com wrote: adding integration team. On Wed, Jun 3, 2015 at 12:49 PM, Elilmatha Sivanesan elilma...@wso2.com wrote: I need to run the integration test for the connector , the same integration test works fine with esb-4.8.1 But not with $subject. I got the following error [2015-06-03 11:18:36,867] FATAL - CarbonServerManager WSO2 Carbon initialization Failed [2015-06-03 11:18:36,869] INFO {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} - java.lang.ClassFormatError: Illegal local variable table start_pc 48 in method org.apache.synapse.transport.passthru.PassThroughHttpSender.invoke(Lorg/apache/axis2/context/MessageContext;)Lorg/apache/axis2/engine/Handler$InvocationResponse; So i changed the the carbon platform version to 4.4.1. But now also I get the following error esb:org.wso2.carbon.connector elilmatha$ mvn clean install [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for org.wso2.carbon.connector:org.wso2.carbon.connector.proworkflow:jar:1.0.0 [WARNING] 'artifactId' contains an expression but should be a constant. @ org.wso2.carbon.connector:org.wso2.carbon.connector.${connector.name}:${connector.version}, /Users/elilmatha/Desktop/allReviewedConnectors/proworkflow/proworkflow-connector/proworkflow-connector-1.0.0/org.wso2.carbon.connector/pom.xml, line 29, column 16 [WARNING] 'version' contains an expression but should be a constant. @ org.wso2.carbon.connector:org.wso2.carbon.connector.${connector.name}:${connector.version}, /Users/elilmatha/Desktop/allReviewedConnectors/proworkflow/proworkflow-connector/proworkflow-connector-1.0.0/org.wso2.carbon.connector/pom.xml, line 30, column 13 [WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.maven.plugins:maven-dependency-plugin @ org.wso2.carbon.connector:org.wso2.carbon.connector.${connector.name}:${connector.version}, /Users/elilmatha/Desktop/allReviewedConnectors/proworkflow/proworkflow-connector/proworkflow-connector-1.0.0/org.wso2.carbon.connector/pom.xml, line 162, column 18 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] [INFO] [INFO] Building WSO2 Carbon - Mediation Library Connector For proworkflow 1.0.0 [INFO] [WARNING] The POM for org.apache.bsf:bsf-all:jar:3.0 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details [WARNING] The POM for org.wso2.carbon:org.wso2.carbon.mediation.library.stub:jar:4.4.1 is missing, no dependency information available [WARNING] The POM for org.eclipse.equinox:org.eclipse.equinox.http.servlet:jar:1.0.200.v20090520-1800 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details [WARNING] The POM for org.eclipse.osgi:org.eclipse.osgi.services:jar:3.2.0.v20090520-1800 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details [WARNING] The POM for org.eclipse.equinox:org.eclipse.equinox.simpleconfigurator:jar:1.0.100.v20090520-1905 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details [WARNING] The POM for org.eclipse.equinox:org.eclipse.equinox.util:jar:1.0.100.v20090520-1800 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details [WARNING] The POM for org.eclipse.equinox:org.eclipse.equinox.ds:jar:1.1.0.v20090520-1800 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details [WARNING] The POM for org.eclipse.equinox:org.eclipse.equinox.jsp.jasper:jar:1.0.200.v20090520-1800 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details [WARNING] The POM for org.eclipse.equinox:javax.servlet.jsp:jar:2.0.0.v200806031607 is invalid, transitive dependencies (if any) will not be
Re: [Dev] [EMM] Error while starting EMM 1.1.0 fresh pack
Hi Amalka, Did you do any configuration changes or this is just a newly-unzipped-pack of EMM 1.1.0. If it was a newly-unzipped-pack of EMM 1.1.0, this is unlikely to happen. Cheers, Dilan. *Dilan U. Ariyaratne* Software Engineer WSO2 Inc. http://wso2.com/ Mobile: +94775149066 lean . enterprise . middleware On Wed, Jun 3, 2015 at 4:41 PM, Amalka Subasinghe ama...@wso2.com wrote: Hi, I got the following error when starting the EMM 1.1.0 fresh pack [2015-06-03 16:38:57,592] ERROR {org.jaggeryjs.hostobjects.db.DatabaseHostObject} - Failed to get connection org.h2.jdbc.JdbcSQLException: Wrong user name or password [8004-140] at org.h2.message.DbException.getJdbcSQLException(DbException.java:327) at org.h2.message.DbException.get(DbException.java:167) at org.h2.message.DbException.get(DbException.java:144) at org.h2.message.DbException.get(DbException.java:133) at org.h2.engine.Engine.validateUserAndPassword(Engine.java:277) at org.h2.engine.Engine.getSession(Engine.java:133) at org.h2.engine.Session.createSession(Session.java:122) at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:241) at org.h2.engine.SessionRemote.createSession(SessionRemote.java:219) at org.h2.jdbc.JdbcConnection.init(JdbcConnection.java:111) at org.h2.jdbc.JdbcConnection.init(JdbcConnection.java:95) at org.h2.Driver.connect(Driver.java:73) at org.apache.tomcat.jdbc.pool.PooledConnection.connectUsingDriver(PooledConnection.java:278) at org.apache.tomcat.jdbc.pool.PooledConnection.connect(PooledConnection.java:182) at org.apache.tomcat.jdbc.pool.ConnectionPool.createConnection(ConnectionPool.java:701) at org.apache.tomcat.jdbc.pool.ConnectionPool.borrowConnection(ConnectionPool.java:635) at org.apache.tomcat.jdbc.pool.ConnectionPool.getConnection(ConnectionPool.java:188) at org.apache.tomcat.jdbc.pool.DataSourceProxy.getConnection(DataSourceProxy.java:127) at org.jaggeryjs.hostobjects.db.DatabaseHostObject.jsConstructor(DatabaseHostObject.java:84) 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.FunctionObject.call(FunctionObject.java:392) at org.mozilla.javascript.BaseFunction.construct(BaseFunction.java:343) at org.mozilla.javascript.ScriptRuntime.newObject(ScriptRuntime.java:2349) at org.jaggeryjs.rhino.publisher.modules.data.c4._c_anonymous_4(/publisher/modules/data/driver.js:40) at org.jaggeryjs.rhino.publisher.modules.data.c4.call(/publisher/modules/data/driver.js) at org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:32) at org.jaggeryjs.rhino.publisher.modules.data.c1._c_anonymous_10(/publisher/modules/data/model.manager.js:104) at org.jaggeryjs.rhino.publisher.modules.data.c1.call(/publisher/modules/data/model.manager.js) at org.mozilla.javascript.optimizer.OptRuntime.call0(OptRuntime.java:23) at org.mozilla.javascript.gen._store__server_js_3._c_anonymous_17([store]/server.js:271) at org.mozilla.javascript.gen._store__server_js_3.call([store]/server.js) at org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:42) at org.mozilla.javascript.gen._store__server_js_3._c_anonymous_16([store]/server.js:251) at org.mozilla.javascript.gen._store__server_js_3.call([store]/server.js) at org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:32) at org.jaggeryjs.rhino.publisher.modules.data.c1._c_anonymous_9(/publisher/modules/data/model.manager.js:103) at org.jaggeryjs.rhino.publisher.modules.data.c1.call(/publisher/modules/data/model.manager.js) at org.mozilla.javascript.optimizer.OptRuntime.callProp0(OptRuntime.java:85) at org.jaggeryjs.rhino.publisher.modules.data.c1._c_anonymous_17(/publisher/modules/data/model.manager.js:151) at org.jaggeryjs.rhino.publisher.modules.data.c1.call(/publisher/modules/data/model.manager.js) at org.mozilla.javascript.optimizer.OptRuntime.callProp0(OptRuntime.java:85) at org.jaggeryjs.rhino.publisher.modules.data.c1._c_anonymous_5(/publisher/modules/data/model.manager.js:76) at org.jaggeryjs.rhino.publisher.modules.data.c1.call(/publisher/modules/data/model.manager.js) at org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:32) at org.jaggeryjs.rhino.publisher.modules.data.c1._c_anonymous_4(/publisher/modules/data/model.manager.js:42) at org.jaggeryjs.rhino.publisher.modules.data.c1.call(/publisher/modules/data/model.manager.js) at org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:32) at
[Dev] [AppM] Please review and merge PR (APPM-903)
Hi Team, Please merge PR [1] This fixes the issue [2] [1] *https://github.com/wso2/carbon-appmgt/pull/62 https://github.com/wso2/carbon-appmgt/pull/62* [2] *https://wso2.org/jira/browse/APPM-903 https://wso2.org/jira/browse/APPM-903* *Sachith Ushan* Software Engineering intern WSO2 : http://wso2 http://goog_1352065705.com mobile :- +94 71 8853336 sachi...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Error - Running Integration test for connector with ESB-4.9.0.ALPHA
Hi Ellimatha, AFAIK, ESB team has developed connector test framework using our test framework. I don't know much about the new connector test framework. May be you can get help from ESB team on updating dependencies. Thanks, Krishantha. On Thu, Jun 4, 2015 at 2:10 PM, Elilmatha Sivanesan elilma...@wso2.com wrote: Hi all, Still this error is there for getting the dependencies. Thank you. On Wed, Jun 3, 2015 at 5:27 PM, Saneth Dharmakeerthi sane...@wso2.com wrote: Hi Elilmatha, There is no 4.4.1 version for org.wso2.carbon.automation. Please update the test integration dependencies as bellow. carbon.automation.version4.3.1/carbon.automation.version carbon.automationutils.version4.3.0/carbon.automationutils.versio Thanks and Best Regards, Saneth Dharmakeerthi Senior Software Engineer WSO2, Inc. Mobile: +94772325511 On Wed, Jun 3, 2015 at 3:43 PM, Elilmatha Sivanesan elilma...@wso2.com wrote: adding integration team. On Wed, Jun 3, 2015 at 12:49 PM, Elilmatha Sivanesan elilma...@wso2.com wrote: I need to run the integration test for the connector , the same integration test works fine with esb-4.8.1 But not with $subject. I got the following error [2015-06-03 11:18:36,867] FATAL - CarbonServerManager WSO2 Carbon initialization Failed [2015-06-03 11:18:36,869] INFO {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} - java.lang.ClassFormatError: Illegal local variable table start_pc 48 in method org.apache.synapse.transport.passthru.PassThroughHttpSender.invoke(Lorg/apache/axis2/context/MessageContext;)Lorg/apache/axis2/engine/Handler$InvocationResponse; So i changed the the carbon platform version to 4.4.1. But now also I get the following error esb:org.wso2.carbon.connector elilmatha$ mvn clean install [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for org.wso2.carbon.connector:org.wso2.carbon.connector.proworkflow:jar:1.0.0 [WARNING] 'artifactId' contains an expression but should be a constant. @ org.wso2.carbon.connector:org.wso2.carbon.connector.${connector.name}:${connector.version}, /Users/elilmatha/Desktop/allReviewedConnectors/proworkflow/proworkflow-connector/proworkflow-connector-1.0.0/org.wso2.carbon.connector/pom.xml, line 29, column 16 [WARNING] 'version' contains an expression but should be a constant. @ org.wso2.carbon.connector:org.wso2.carbon.connector.${connector.name}:${connector.version}, /Users/elilmatha/Desktop/allReviewedConnectors/proworkflow/proworkflow-connector/proworkflow-connector-1.0.0/org.wso2.carbon.connector/pom.xml, line 30, column 13 [WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.maven.plugins:maven-dependency-plugin @ org.wso2.carbon.connector:org.wso2.carbon.connector.${connector.name}:${connector.version}, /Users/elilmatha/Desktop/allReviewedConnectors/proworkflow/proworkflow-connector/proworkflow-connector-1.0.0/org.wso2.carbon.connector/pom.xml, line 162, column 18 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] [INFO] [INFO] Building WSO2 Carbon - Mediation Library Connector For proworkflow 1.0.0 [INFO] [WARNING] The POM for org.apache.bsf:bsf-all:jar:3.0 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details [WARNING] The POM for org.wso2.carbon:org.wso2.carbon.mediation.library.stub:jar:4.4.1 is missing, no dependency information available [WARNING] The POM for org.eclipse.equinox:org.eclipse.equinox.http.servlet:jar:1.0.200.v20090520-1800 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details [WARNING] The POM for org.eclipse.osgi:org.eclipse.osgi.services:jar:3.2.0.v20090520-1800 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details [WARNING] The POM for org.eclipse.equinox:org.eclipse.equinox.simpleconfigurator:jar:1.0.100.v20090520-1905 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details [WARNING] The POM for org.eclipse.equinox:org.eclipse.equinox.util:jar:1.0.100.v20090520-1800 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details [WARNING] The POM for org.eclipse.equinox:org.eclipse.equinox.ds:jar:1.1.0.v20090520-1800 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details [WARNING] The POM for
Re: [Dev] Error - Running Integration test for connector with ESB-4.9.0.ALPHA
Hi Elilmatha, Can you please refer the pom[1] for dependency information and update the test framework dependency accordingly. [1] https://github.com/wso2/product-esb/blob/master/pom.xml Thanks, Nuwanw On Thu, Jun 4, 2015 at 2:10 PM, Elilmatha Sivanesan elilma...@wso2.com wrote: Hi all, Still this error is there for getting the dependencies. Thank you. On Wed, Jun 3, 2015 at 5:27 PM, Saneth Dharmakeerthi sane...@wso2.com wrote: Hi Elilmatha, There is no 4.4.1 version for org.wso2.carbon.automation. Please update the test integration dependencies as bellow. carbon.automation.version4.3.1/carbon.automation.version carbon.automationutils.version4.3.0/carbon.automationutils.versio Thanks and Best Regards, Saneth Dharmakeerthi Senior Software Engineer WSO2, Inc. Mobile: +94772325511 On Wed, Jun 3, 2015 at 3:43 PM, Elilmatha Sivanesan elilma...@wso2.com wrote: adding integration team. On Wed, Jun 3, 2015 at 12:49 PM, Elilmatha Sivanesan elilma...@wso2.com wrote: I need to run the integration test for the connector , the same integration test works fine with esb-4.8.1 But not with $subject. I got the following error [2015-06-03 11:18:36,867] FATAL - CarbonServerManager WSO2 Carbon initialization Failed [2015-06-03 11:18:36,869] INFO {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} - java.lang.ClassFormatError: Illegal local variable table start_pc 48 in method org.apache.synapse.transport.passthru.PassThroughHttpSender.invoke(Lorg/apache/axis2/context/MessageContext;)Lorg/apache/axis2/engine/Handler$InvocationResponse; So i changed the the carbon platform version to 4.4.1. But now also I get the following error esb:org.wso2.carbon.connector elilmatha$ mvn clean install [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for org.wso2.carbon.connector:org.wso2.carbon.connector.proworkflow:jar:1.0.0 [WARNING] 'artifactId' contains an expression but should be a constant. @ org.wso2.carbon.connector:org.wso2.carbon.connector.${connector.name}:${connector.version}, /Users/elilmatha/Desktop/allReviewedConnectors/proworkflow/proworkflow-connector/proworkflow-connector-1.0.0/org.wso2.carbon.connector/pom.xml, line 29, column 16 [WARNING] 'version' contains an expression but should be a constant. @ org.wso2.carbon.connector:org.wso2.carbon.connector.${connector.name}:${connector.version}, /Users/elilmatha/Desktop/allReviewedConnectors/proworkflow/proworkflow-connector/proworkflow-connector-1.0.0/org.wso2.carbon.connector/pom.xml, line 30, column 13 [WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.maven.plugins:maven-dependency-plugin @ org.wso2.carbon.connector:org.wso2.carbon.connector.${connector.name}:${connector.version}, /Users/elilmatha/Desktop/allReviewedConnectors/proworkflow/proworkflow-connector/proworkflow-connector-1.0.0/org.wso2.carbon.connector/pom.xml, line 162, column 18 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] [INFO] [INFO] Building WSO2 Carbon - Mediation Library Connector For proworkflow 1.0.0 [INFO] [WARNING] The POM for org.apache.bsf:bsf-all:jar:3.0 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details [WARNING] The POM for org.wso2.carbon:org.wso2.carbon.mediation.library.stub:jar:4.4.1 is missing, no dependency information available [WARNING] The POM for org.eclipse.equinox:org.eclipse.equinox.http.servlet:jar:1.0.200.v20090520-1800 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details [WARNING] The POM for org.eclipse.osgi:org.eclipse.osgi.services:jar:3.2.0.v20090520-1800 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details [WARNING] The POM for org.eclipse.equinox:org.eclipse.equinox.simpleconfigurator:jar:1.0.100.v20090520-1905 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details [WARNING] The POM for org.eclipse.equinox:org.eclipse.equinox.util:jar:1.0.100.v20090520-1800 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details [WARNING] The POM for org.eclipse.equinox:org.eclipse.equinox.ds:jar:1.1.0.v20090520-1800 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details [WARNING] The POM for
[Dev] APIM tests fails due to Youtube API no longer available
Hi All, I have noticed some test fails due to youtube api[1] is no longer available. We are in the process of fixing it by replacing it by deploying a webapp with a simple rest service before test execution. According to the youtube api document[2] Youtube API v2 (which we are using) is deprecated . Since it returns status code 410 and message no longer available i checked the YoutubeFeeds sample as well it's also returning the same message for all three curl requests listed there. Please check on this. [1]http://gdata.youtube.com/feeds/api/standardfeeds/most_popular [2]https://developers.google.com/youtube/2.0/developers_guide_protocol Thanks, Iqbal -- Irham Iqbal Software Engineer - Test Automation WSO2, Inc.: http://wso2.com lean. enterprise. middleware phone: +94 777888452 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [AppM] Please review and merge PR (APPM-899)
Hi Team, Please merge PR [1] This fixes the issue [2] [1] *https://github.com/wso2/product-app-manager/pull/232 https://github.com/wso2/product-app-manager/pull/232* [2] *https://wso2.org/jira/browse/APPM-899 https://wso2.org/jira/browse/APPM-899* *Sachith Ushan* Software Engineering intern WSO2 : http://wso2 http://goog_1352065705.com mobile :- +94 71 8853336 sachi...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Please Review and Merge
Hi, Please review and merge the following PR[1]. This is to enable ui tests in jenkins server. [1] https://github.com/wso2/product-as/pull/72 Thanks, -- Waruna Perera Senior Software Engineer - Test Automation Mobile: +94 77 3867037 WSO2, Inc.; http://wso2.com/ lean . enterprise . middlewear. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [DEV] IDN tables can't be separate from UM tables due to foreign key constraints from IDN scripts
Hi IS Team, During APIM 2.0.0 development activities, we have found that we can't separate UM tables from IDN tables due to having foreign key constraints. Had a offline regarding this matter and created a Jira in [1]. We will need this fixed in next milestone release which will be due in 15th June. [1] - https://wso2.org/jira/browse/IDENTITY-3335 Thanks, Harsha -- Harsha Kumara Software Engineer, WSO2 Inc. Mobile: +94775505618 Blog:harshcreationz.blogspot.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Please Review and Merged the PR
Hi, Please review and merge the PR[1]. This is to create Tomcat 7.0.59wso2v3 bundle removing javax.annotation, javax.ejb and javax.persistance [1] - https://github.com/wso2/orbit/pull/100 Thanks /Thusitha -- Thusitha Dayaratne Software Engineer WSO2 Inc. - lean . enterprise . middleware | wso2.com Mobile +94712756809 Blog alokayasoya.blogspot.com Abouthttp://about.me/thusithathilina ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [EMM] Error while starting EMM 1.1.0 fresh pack
I downloaded the pack from product page and started. didn't do any configuration changes. On Thu, Jun 4, 2015 at 2:33 PM, Dilan Udara Ariyaratne dil...@wso2.com wrote: Hi Amalka, Did you do any configuration changes or this is just a newly-unzipped-pack of EMM 1.1.0. If it was a newly-unzipped-pack of EMM 1.1.0, this is unlikely to happen. Cheers, Dilan. *Dilan U. Ariyaratne* Software Engineer WSO2 Inc. http://wso2.com/ Mobile: +94775149066 lean . enterprise . middleware On Wed, Jun 3, 2015 at 4:41 PM, Amalka Subasinghe ama...@wso2.com wrote: Hi, I got the following error when starting the EMM 1.1.0 fresh pack [2015-06-03 16:38:57,592] ERROR {org.jaggeryjs.hostobjects.db.DatabaseHostObject} - Failed to get connection org.h2.jdbc.JdbcSQLException: Wrong user name or password [8004-140] at org.h2.message.DbException.getJdbcSQLException(DbException.java:327) at org.h2.message.DbException.get(DbException.java:167) at org.h2.message.DbException.get(DbException.java:144) at org.h2.message.DbException.get(DbException.java:133) at org.h2.engine.Engine.validateUserAndPassword(Engine.java:277) at org.h2.engine.Engine.getSession(Engine.java:133) at org.h2.engine.Session.createSession(Session.java:122) at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:241) at org.h2.engine.SessionRemote.createSession(SessionRemote.java:219) at org.h2.jdbc.JdbcConnection.init(JdbcConnection.java:111) at org.h2.jdbc.JdbcConnection.init(JdbcConnection.java:95) at org.h2.Driver.connect(Driver.java:73) at org.apache.tomcat.jdbc.pool.PooledConnection.connectUsingDriver(PooledConnection.java:278) at org.apache.tomcat.jdbc.pool.PooledConnection.connect(PooledConnection.java:182) at org.apache.tomcat.jdbc.pool.ConnectionPool.createConnection(ConnectionPool.java:701) at org.apache.tomcat.jdbc.pool.ConnectionPool.borrowConnection(ConnectionPool.java:635) at org.apache.tomcat.jdbc.pool.ConnectionPool.getConnection(ConnectionPool.java:188) at org.apache.tomcat.jdbc.pool.DataSourceProxy.getConnection(DataSourceProxy.java:127) at org.jaggeryjs.hostobjects.db.DatabaseHostObject.jsConstructor(DatabaseHostObject.java:84) 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.FunctionObject.call(FunctionObject.java:392) at org.mozilla.javascript.BaseFunction.construct(BaseFunction.java:343) at org.mozilla.javascript.ScriptRuntime.newObject(ScriptRuntime.java:2349) at org.jaggeryjs.rhino.publisher.modules.data.c4._c_anonymous_4(/publisher/modules/data/driver.js:40) at org.jaggeryjs.rhino.publisher.modules.data.c4.call(/publisher/modules/data/driver.js) at org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:32) at org.jaggeryjs.rhino.publisher.modules.data.c1._c_anonymous_10(/publisher/modules/data/model.manager.js:104) at org.jaggeryjs.rhino.publisher.modules.data.c1.call(/publisher/modules/data/model.manager.js) at org.mozilla.javascript.optimizer.OptRuntime.call0(OptRuntime.java:23) at org.mozilla.javascript.gen._store__server_js_3._c_anonymous_17([store]/server.js:271) at org.mozilla.javascript.gen._store__server_js_3.call([store]/server.js) at org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:42) at org.mozilla.javascript.gen._store__server_js_3._c_anonymous_16([store]/server.js:251) at org.mozilla.javascript.gen._store__server_js_3.call([store]/server.js) at org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:32) at org.jaggeryjs.rhino.publisher.modules.data.c1._c_anonymous_9(/publisher/modules/data/model.manager.js:103) at org.jaggeryjs.rhino.publisher.modules.data.c1.call(/publisher/modules/data/model.manager.js) at org.mozilla.javascript.optimizer.OptRuntime.callProp0(OptRuntime.java:85) at org.jaggeryjs.rhino.publisher.modules.data.c1._c_anonymous_17(/publisher/modules/data/model.manager.js:151) at org.jaggeryjs.rhino.publisher.modules.data.c1.call(/publisher/modules/data/model.manager.js) at org.mozilla.javascript.optimizer.OptRuntime.callProp0(OptRuntime.java:85) at org.jaggeryjs.rhino.publisher.modules.data.c1._c_anonymous_5(/publisher/modules/data/model.manager.js:76) at org.jaggeryjs.rhino.publisher.modules.data.c1.call(/publisher/modules/data/model.manager.js) at org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:32) at org.jaggeryjs.rhino.publisher.modules.data.c1._c_anonymous_4(/publisher/modules/data/model.manager.js:42) at
Re: [Dev] [EMM] Errors when creating secondary user store
The properties I have bolded On Thu, Jun 4, 2015 at 1:32 PM, Inosh Perera ino...@wso2.com wrote: Hi Amalka, But that config contains some properties with spaces. isn't this something we need to fix? Could you please highlight what these properties are exactly? Regards, Inosh On Thu, Jun 4, 2015 at 1:10 PM, Amalka Subasinghe ama...@wso2.com wrote: Hi, I could see secondary domain and AD users with following config. But that config contains some properties with spaces. isn't this something we need to fix? UserStoreManager class=org.wso2.carbon.user.core.ldap.ActiveDirectoryUserStoreManager Property name=defaultRealmNameWSO2.ORG/Property Property name=Disabledfalse/Property *Property name=Diabledfalse/Property* Property name=kdcEnabledfalse/Property Property name=ConnectionNameCN=Administrator,CN=Users,DC=wso2,DC=test/Property * Property name=Connection NameCN=Administrator,CN=Users,DC=wso2,DC=test/Property* Property name=ConnectionURLldaps://192.168.18.13:636/Property *Property name=Connection URLldaps://192.168.18.13:636 http://192.168.18.13:636/Property* Property name=ConnectionPasswordpass#word2/Property * Property name=Connection Passwordpass#word2/Property* Property name=UserSearchBaseCN=Users,DC=wso2,DC=test/Property * Property name=User Search BaseCN=Users,DC=wso2,DC=test/Property* Property name=passwordHashMethodPLAIN_TEXT/Property * Property name=User Search Filter(amp;(objectClass=user)(cn=?))/PropertyProperty name=User Object Class(objectClass=user)/PropertyProperty name=User Entry Object Classuser/Property* Property name=UserEntryObjectClassuser/Property Property name=UserNameAttributecn/Property * Property name=Username Attributecn/Property* Property name=isADLDSRolefalse/Property Property name=userAccountControl512/Property Property name=UserNameListFilter(objectClass=user)/Property Property name=UserNameSearchFilter(amp;(objectClass=user)(cn=?))/Property Property name=UsernameJavaRegEx[a-zA-Z0-9._-|//]{3,30}$/Property Property name=UsernameJavaScriptRegEx^[\S]{3,30}$/Property Property name=PasswordJavaScriptRegEx^[\S]{5,30}$/Property Property name=RolenameJavaScriptRegEx^[\S]{3,30}$/Property Property name=RolenameJavaRegEx[a-zA-Z0-9._-|//]{3,30}$/Property Property name=ReadGroupstrue/Property Property name=WriteGroupstrue/Property Property name=EmptyRolesAllowedtrue/Property Property name=GroupSearchBaseCN=Users,DC=WSO2,DC=Com/Property Property name=GroupEntryObjectClassgroup/Property Property name=GroupNameAttributecn/Property Property name=SharedGroupNameAttributecn/Property Property name=SharedGroupSearchBaseou=SharedGroups,dc=wso2,dc=org/Property Property name=SharedGroupEntryObjectClassgroups/Property Property name=SharedTenantNameListFilter(object=organizationalUnit)/Property Property name=SharedTenantNameAttributeou/Property Property name=SharedTenantObjectClassorganizationalUnit/Property Property name=MembershipAttributemember/Property Property name=GroupNameListFilter(objectcategory=group)/Property Property name=GroupNameSearchFilter(amp;(objectClass=group)(cn=?))/Property Property name=UserRolesCacheEnabledtrue/Property Property name=Referralfollow/Property Property name=BackLinksEnabledtrue/Property Property name=MaxRoleNameListLength100/Property Property name=MaxUserNameListLength100/Property Property name=SCIMEnabledfalse/Property Property name=DomainNameAD2/Property /UserStoreManager On Thu, Jun 4, 2015 at 12:07 PM, Amalka Subasinghe ama...@wso2.com wrote: Hi, I'm trying to setup AD as secondary user store in EMM 1.1.0. When I try to create it via UI it creates the xml file as [1]. each property contains a space between words then the carbon log gives an error [2] saying Required ConnectionURL property is not set at the LDAP configurations Then I removed the space in between property Connection URL and save. Then carbon log gives another error [3] - Required mandatory property Connection URL is not defined! So I gave both Connection URL and ConnectionURL in xml file to solve the issue with ConnectionURL Same as above, I had to specify the same property with and without space to fix the errors in carbon log and there were some properties missing in the xml file too. had to add those manually. [4] shows the xml file after fixing all the errors. [missing properties shows in red color.] Still I can't see the Secondary user domain and users of the AD in users page. How can I fix this? [1] ?xml version=1.0 encoding=UTF-8?UserStoreManager class=org.wso2.carbon.user.core.ldap.ActiveDirectoryUserStoreManager Property name=*Connection Name* CN=Administrator,CN=Users,DC=wso2,DC=test/Property Property name=Connection URLldaps://192.168.18.13:636 /Property
Re: [Dev] [EMM] Error while starting EMM 1.1.0 fresh pack
logs [2015-06-04 16:53:44,694] INFO {JAGGERY.config.app:js} - Emitting event : tenantLoad [2015-06-04 16:53:44,846] INFO {debugging} - : config {dataSource : JAGH2} [2015-06-04 16:53:44,846] INFO {debugging} - : username null [2015-06-04 16:53:44,846] INFO {debugging} - : password null [2015-06-04 16:53:45,275] ERROR {org.jaggeryjs.hostobjects.db.DatabaseHostObject} - Failed to get connection org.h2.jdbc.JdbcSQLException: Wrong user name or password [8004-140] On Thu, Jun 4, 2015 at 4:39 PM, Dilan Udara Ariyaratne dil...@wso2.com wrote: Hi Amalka, Can you update your EMM server pack with following file, restart the server and send the startup logs to see what is going on in this specific case. File to replace (with attached driver.js) : wso2emm-1.1.0/repository/deployment/server/jaggeryapps/publisher/modules/data/driver.js Cheers, Dilan. *Dilan U. Ariyaratne* Software Engineer WSO2 Inc. http://wso2.com/ Mobile: +94775149066 lean . enterprise . middleware On Thu, Jun 4, 2015 at 2:52 PM, Amalka Subasinghe ama...@wso2.com wrote: I downloaded the pack from product page and started. didn't do any configuration changes. On Thu, Jun 4, 2015 at 2:33 PM, Dilan Udara Ariyaratne dil...@wso2.com wrote: Hi Amalka, Did you do any configuration changes or this is just a newly-unzipped-pack of EMM 1.1.0. If it was a newly-unzipped-pack of EMM 1.1.0, this is unlikely to happen. Cheers, Dilan. *Dilan U. Ariyaratne* Software Engineer WSO2 Inc. http://wso2.com/ Mobile: +94775149066 lean . enterprise . middleware On Wed, Jun 3, 2015 at 4:41 PM, Amalka Subasinghe ama...@wso2.com wrote: Hi, I got the following error when starting the EMM 1.1.0 fresh pack [2015-06-03 16:38:57,592] ERROR {org.jaggeryjs.hostobjects.db.DatabaseHostObject} - Failed to get connection org.h2.jdbc.JdbcSQLException: Wrong user name or password [8004-140] at org.h2.message.DbException.getJdbcSQLException(DbException.java:327) at org.h2.message.DbException.get(DbException.java:167) at org.h2.message.DbException.get(DbException.java:144) at org.h2.message.DbException.get(DbException.java:133) at org.h2.engine.Engine.validateUserAndPassword(Engine.java:277) at org.h2.engine.Engine.getSession(Engine.java:133) at org.h2.engine.Session.createSession(Session.java:122) at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:241) at org.h2.engine.SessionRemote.createSession(SessionRemote.java:219) at org.h2.jdbc.JdbcConnection.init(JdbcConnection.java:111) at org.h2.jdbc.JdbcConnection.init(JdbcConnection.java:95) at org.h2.Driver.connect(Driver.java:73) at org.apache.tomcat.jdbc.pool.PooledConnection.connectUsingDriver(PooledConnection.java:278) at org.apache.tomcat.jdbc.pool.PooledConnection.connect(PooledConnection.java:182) at org.apache.tomcat.jdbc.pool.ConnectionPool.createConnection(ConnectionPool.java:701) at org.apache.tomcat.jdbc.pool.ConnectionPool.borrowConnection(ConnectionPool.java:635) at org.apache.tomcat.jdbc.pool.ConnectionPool.getConnection(ConnectionPool.java:188) at org.apache.tomcat.jdbc.pool.DataSourceProxy.getConnection(DataSourceProxy.java:127) at org.jaggeryjs.hostobjects.db.DatabaseHostObject.jsConstructor(DatabaseHostObject.java:84) 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.FunctionObject.call(FunctionObject.java:392) at org.mozilla.javascript.BaseFunction.construct(BaseFunction.java:343) at org.mozilla.javascript.ScriptRuntime.newObject(ScriptRuntime.java:2349) at org.jaggeryjs.rhino.publisher.modules.data.c4._c_anonymous_4(/publisher/modules/data/driver.js:40) at org.jaggeryjs.rhino.publisher.modules.data.c4.call(/publisher/modules/data/driver.js) at org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:32) at org.jaggeryjs.rhino.publisher.modules.data.c1._c_anonymous_10(/publisher/modules/data/model.manager.js:104) at org.jaggeryjs.rhino.publisher.modules.data.c1.call(/publisher/modules/data/model.manager.js) at org.mozilla.javascript.optimizer.OptRuntime.call0(OptRuntime.java:23) at org.mozilla.javascript.gen._store__server_js_3._c_anonymous_17([store]/server.js:271) at org.mozilla.javascript.gen._store__server_js_3.call([store]/server.js) at org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:42) at
[Dev] [AppM] Please Review and Merge PR
Hi Team, I have implemented the feature Improving app versioning support in App Manager [1] and following pull requests [2], [3] have been created. Please review and merge. [1] [Architecture] Improving app versioning support in App Manager - (Next release) [2] https://github.com/wso2/carbon-appmgt/pull/63 [3] https://github.com/wso2/product-app-manager/pull/234 Thanks Regards. -- Sajith Ariyarathna Software Engineer; WSO2, Inc.; http://wso2.com/ mobile: +94 77 6602284, +94 71 3951048 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Handling version change in C-App
Hi Sameera, The scenario that we come across is as below. 1. Deploy a C-App containing BPEL artifacts 2. Invoke an instance (instance 1) 3. Redeploy the C-App with updated BPEL artifacts. 4.When redeploying the previous C-App is undeployed which removes the invoked instance (instance 1) as well. For our BPEL C-App deployer we have implemented AppDeploymentHandler. We are unable to identify whether the undeployment is a direct undeployment ( user undeploying the C-App from console) or if it is getting undeployed due to a new upload of the same C-App. We are unable to handle the version change since AppDeploymentHandler only provides deployArtifacts and undeployArtifacts methods. Appreciate your suggestions on how to handle this. Thanks, Himasha Guruge *Software Engineer* WS*O2* *Inc.* Mobile: +94 777459299 himas...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Handling version change in C-App
Hi Himasha, Please see my inline comments, The scenario that we come across is as below. 1. Deploy a C-App containing BPEL artifacts 2. Invoke an instance (instance 1) 3. Redeploy the C-App with updated BPEL artifacts. 4.When redeploying the previous C-App is undeployed which removes the invoked instance (instance 1) as well. This is the expected behavior. Since CApp get redeployed previously deployed artifacts also get un-deployed. For our BPEL C-App deployer we have implemented AppDeploymentHandler. We are unable to identify whether the undeployment is a direct undeployment ( user undeploying the C-App from console) or if it is getting undeployed due to a new upload of the same C-App. We are unable to handle the version change since AppDeploymentHandler only provides deployArtifacts and undeployArtifacts methods. At the moment we don't have CApp version support. When an updated CApp get uploaded previous one get undeployed and new one will be deployed. Regards, Manoj ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [APIM] Please review and merge
Hi Team, please merge the ribbon style overriding issue fix. [1] [1] https://github.com/wso2/carbon-apimgt/pull/596 https://github.com/wso2/carbon-apimgt/pull/596 Thanks! Regards, -- Thusitha Kalugamage *Software Engineer* Mobile : +94 (0) 774 074370 Tel : +94 (0) 112 145 345 thusi...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev