Re: [Dev] Cannot identify EPR of data service deployed in cloud

2015-05-19 Thread Pirinthapan Mahendran
Hi Sabra,

The endpoints are listed in the wsdl under the element wsdl:service. You
can use one one of these endpoints.
i.e:
https://appserver.dev.cloud.wso2.com/services/t/sabra8339/dataservice1-default-SNAPSHOT.SecureHTTPEndpoint
.

or You can just remove the ?wsdl part from your wsdl url and use it as
endpoint.
i.e:
https://appserver.dev.cloud.wso2.com/services/t/sabra8339/dataservice1-default-SNAPSHOT

Thanks.



Mahendran Pirinthapan
Software Engineer | WSO2 Inc.
Mobile +94772378732.

On Tue, May 19, 2015 at 10:50 AM, Dimuthu Leelarathne dimut...@wso2.com
wrote:

 Hi Sabra,

 Is this secured?

 thanks,
 dimuthu


 On Mon, May 18, 2015 at 5:26 PM, Sabra Ossen sabra...@gmail.com wrote:

 Hi All,

 I have deployed a data service in cloud and I am trying to push data to a
 database in cloud through the data service. I am having a hard time
 figuring out the end point where I have to push data to. I tested the data
 service using soap ui and it successfully pushes data.

 The wsdl for the data service can be seen in [1].

 The code to push data is as follows(I have created the client stub using
 the wsdl mentioned above).

 *String epr =
 https://appserver.dev.cloud.wso2.com/services/t/sabra8339/Dataservice1DefaultSNAPSHOT
 https://appserver.dev.cloud.wso2.com/services/t/sabra8339/Dataservice1DefaultSNAPSHOT;*

 System.setProperty(javax.net.ssl.trustStore, (new
 File(TRUST_STORE_PATH)).getAbsolutePath());
 System.setProperty(javax.net.ssl.trustStorePassword,
 TRUST_STORE_PASSWORD);

 ConfigurationContext ctx =
 ConfigurationContextFactory.createConfigurationContextFromFileSystem(/home/sabra/repository,
 null);

 Dataservice1DefaultSNAPSHOTStub stub = new
 Dataservice1DefaultSNAPSHOTStub(ctx,epr);
 ServiceClient client = stub._getServiceClient();
 Options options = client.getOptions();
 client.engageModule(rampart);
 options.setUserName(admin);
 options.setPassword(admin);

 options.setProperty(RampartMessageData.KEY_RAMPART_POLICY,
 loadPolicy(POLICY_FILE_PATH));

 Dataservice1DefaultSNAPSHOTStub.InsertRawLeadsPerWeek request = new
 Dataservice1DefaultSNAPSHOTStub.InsertRawLeadsPerWeek();

 request.setStart_date(2092-04-09);
 request.setEnd_date(2092-04-8);
 request.setTotal_users();
 request.setEu_users();
 request.setNa_users();
 request.setRow_users();
 request.setUnclassified_users();

 stub.insertRawLeadsPerWeek(request);

 I have no clue as to what is missing. Any help on this issue is highly
 appreciated. If any further clarification is needed please let me know.

 [1]
 https://appserver.dev.cloud.wso2.com/services/t/sabra8339/dataservice1-default-SNAPSHOT?wsdl

 Regards.
 --
 Sabra Ossen http://lk.linkedin.com/in/sabraossen
 Undergraduate | Department of Computer Science and Engineering
 University of Moratuwa
 Sri Lanka

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Dimuthu Leelarathne
 Architect  Product Lead of App Factory

 WSO2, Inc. (http://wso2.com)
 email: dimut...@wso2.com
 Mobile : 0773661935

 Lean . Enterprise . Middleware

 ___
 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] Review and merge PR APIMANAGER-3550

2015-05-19 Thread Abimaran Kugathasan
OK, What if ON_HOLD subscription was blocked through API Publisher before
it get approved via admin-workflow? Even it's blocked, I guess, admin can
approve or reject the subscription. That will be the staus of the
subscription.

Depends on the order of execution whether admin-workflow or API publisher
blocking runs first, previous status will be overridn by the other. So,
there won't be a consistent state.

It's OK to show ON_HOLD subscription, but, admin sholdn't be able to block
until the subscription approved/rejected via admin-workflow.



On Tue, May 19, 2015 at 11:21 AM, Kasun Gunasekara kas...@wso2.com wrote:

 Hi Abimaran,

 I noticed that earlier. But ON_HOLD status is already handled in API
 Publisher using a tip saying that the subscription is pending for approval.
 Does it still has to be removed? If yes I will do the necessary changes.


 Kasun Gunasekara
 Software Engineering Intern - WSO2
 Mobile : +94 77 6986482
 Twitter https://twitter.com/KaluMallii | Google+
 https://plus.google.com/+KaZGunasekara/ | LinkedIn
 http://www.linkedin.com/in/kasun32

 On Tue, May 19, 2015 at 11:17 AM, Abimaran Kugathasan abima...@wso2.com
 wrote:

 Hi Kasun,

 Following are status' of API subscription

 public static class SubscriptionStatus {
 public static final String BLOCKED = BLOCKED;
 public static final String PROD_ONLY_BLOCKED = PROD_ONLY_BLOCKED;
 public static final String UNBLOCKED = UNBLOCKED;
 public static final String ON_HOLD = ON_HOLD;
 public static final String REJECTED = REJECTED;
 }


 Only subscription with BLOCKED, PROD_ONLY_BLOCKED, UNBLOCKED status
 should be listed in subscription tab of the API Publisher. REJECTED,
 ON_HOLD staus cann't be considered as successfull subscriptions.

 Can you please filer ON_HOLD status also here with addition to REJECTED?

 I'm reopning the bug.


 On Fri, May 15, 2015 at 4:41 PM, Kasun Gunasekara kas...@wso2.com
 wrote:

 Hi Abimaran,

 I had some misunderstanding about the issue and the earlier PR was for
 the API Store. Did revert the earlier commit and updated the PR with
 relevant changes to the API Publisher.

 Please review and merge PR[1]

 [1] https://github.com/wso2/carbon-apimgt/pull/383



 Kasun Gunasekara
 Software Engineering Intern - WSO2
 Mobile : +94 77 6986482
 Twitter https://twitter.com/KaluMallii | Google+
 https://plus.google.com/+KaZGunasekara/ | LinkedIn
 http://www.linkedin.com/in/kasun32

 On Fri, May 15, 2015 at 2:38 PM, Abimaran Kugathasan abima...@wso2.com
 wrote:

 Hi Kasun,

 What is the status of this issue?

 On Wed, May 13, 2015 at 4:55 PM, Kasun Gunasekara kas...@wso2.com
 wrote:

 Hi Abimaran,

 I checked on this and found out that API Provider's Subscriptions page
 uses getAllAPIUsageByProvider() to load subscriptions and I have only
 changed getPaginatedSubscribedAPIs() which is used by API Store.

 This change doesn't affect API Provider as far as I understand.


 Kasun Gunasekara
 Software Engineering Intern - WSO2
 Mobile : +94 77 6986482
 Twitter https://twitter.com/KaluMallii | Google+
 https://plus.google.com/+KaZGunasekara/ | LinkedIn
 http://www.linkedin.com/in/kasun32

 On Wed, May 13, 2015 at 2:52 PM, Abimaran Kugathasan 
 abima...@wso2.com wrote:

 Hi Kasun,

 In the Subscription page of the API Publisher, We have to show,
 BLOCKED, UNBLOCKED API Subscription. But, with this pull request, you 
 made
 changes to list on the UNBLOCKED API Subscription.

 It we don't show the BLOCKED API Subscription, we won't be able to
 unblock them through the publisher.

 On Wed, May 13, 2015 at 2:47 PM, Kasun Gunasekara kas...@wso2.com
 wrote:

 Hi,

 Please review and merge PR [1] for jira [2].

 [1] https://github.com/wso2/carbon-apimgt/pull/383
 [2] https://wso2.org/jira/browse/APIMANAGER-3550

 Regards.

 Kasun Gunasekara
 Software Engineering Intern - WSO2
 Mobile : +94 77 6986482
 Twitter https://twitter.com/KaluMallii | Google+
 https://plus.google.com/+KaZGunasekara/ | LinkedIn
 http://www.linkedin.com/in/kasun32




 --
 Thanks
 Abimaran Kugathasan

 Software Engineer | WSO2 Inc
 Data  APIs Technologies Team
 Mobile : +94 773922820

 http://stackoverflow.com/users/515034
 http://lk.linkedin.com/in/abimaran
 http://www.lkabimaran.blogspot.com/  https://github.com/abimarank
   https://twitter.com/abimaran





 --
 Thanks
 Abimaran Kugathasan

 Software Engineer | WSO2 Inc
 Data  APIs Technologies Team
 Mobile : +94 773922820

 http://stackoverflow.com/users/515034
 http://lk.linkedin.com/in/abimaran
 http://www.lkabimaran.blogspot.com/  https://github.com/abimarank
 https://twitter.com/abimaran





 --
 Thanks
 Abimaran Kugathasan

 Software Engineer | WSO2 Inc
 Data  APIs Technologies Team
 Mobile : +94 773922820

 http://stackoverflow.com/users/515034
 http://lk.linkedin.com/in/abimaran
 http://www.lkabimaran.blogspot.com/  https://github.com/abimarank
 https://twitter.com/abimaran





-- 
Thanks
Abimaran Kugathasan

Software Engineer | WSO2 Inc
Data  APIs Technologies Team
Mobile : 

Re: [Dev] Review and merge PR APIMANAGER-3550

2015-05-19 Thread Abimaran Kugathasan
Then fine. I haven't tested this.

On Tue, May 19, 2015 at 12:19 PM, Kasun Gunasekara kas...@wso2.com wrote:

 Block is un-clickable in API Publisher when a subscription is in ON_HOLD
 state. So the subscription is only allowed to be blocked if approved by the
 admin-workflow. If rejected it'll be disappeared from the publisher.


 Kasun Gunasekara
 Software Engineering Intern - WSO2
 Mobile : +94 77 6986482
 Twitter https://twitter.com/KaluMallii | Google+
 https://plus.google.com/+KaZGunasekara/ | LinkedIn
 http://www.linkedin.com/in/kasun32

 On Tue, May 19, 2015 at 12:14 PM, Abimaran Kugathasan abima...@wso2.com
 wrote:

 OK, What if ON_HOLD subscription was blocked through API Publisher before
 it get approved via admin-workflow? Even it's blocked, I guess, admin can
 approve or reject the subscription. That will be the staus of the
 subscription.

 Depends on the order of execution whether admin-workflow or API publisher
 blocking runs first, previous status will be overridn by the other. So,
 there won't be a consistent state.

 It's OK to show ON_HOLD subscription, but, admin sholdn't be able to
 block until the subscription approved/rejected via admin-workflow.



 On Tue, May 19, 2015 at 11:21 AM, Kasun Gunasekara kas...@wso2.com
 wrote:

 Hi Abimaran,

 I noticed that earlier. But ON_HOLD status is already handled in API
 Publisher using a tip saying that the subscription is pending for approval.
 Does it still has to be removed? If yes I will do the necessary changes.


 Kasun Gunasekara
 Software Engineering Intern - WSO2
 Mobile : +94 77 6986482
 Twitter https://twitter.com/KaluMallii | Google+
 https://plus.google.com/+KaZGunasekara/ | LinkedIn
 http://www.linkedin.com/in/kasun32

 On Tue, May 19, 2015 at 11:17 AM, Abimaran Kugathasan abima...@wso2.com
  wrote:

 Hi Kasun,

 Following are status' of API subscription

 public static class SubscriptionStatus {
 public static final String BLOCKED = BLOCKED;
 public static final String PROD_ONLY_BLOCKED = PROD_ONLY_BLOCKED;
 public static final String UNBLOCKED = UNBLOCKED;
 public static final String ON_HOLD = ON_HOLD;
 public static final String REJECTED = REJECTED;
 }


 Only subscription with BLOCKED, PROD_ONLY_BLOCKED, UNBLOCKED status
 should be listed in subscription tab of the API Publisher. REJECTED,
 ON_HOLD staus cann't be considered as successfull subscriptions.

 Can you please filer ON_HOLD status also here with addition to REJECTED?

 I'm reopning the bug.


 On Fri, May 15, 2015 at 4:41 PM, Kasun Gunasekara kas...@wso2.com
 wrote:

 Hi Abimaran,

 I had some misunderstanding about the issue and the earlier PR was for
 the API Store. Did revert the earlier commit and updated the PR with
 relevant changes to the API Publisher.

 Please review and merge PR[1]

 [1] https://github.com/wso2/carbon-apimgt/pull/383



 Kasun Gunasekara
 Software Engineering Intern - WSO2
 Mobile : +94 77 6986482
 Twitter https://twitter.com/KaluMallii | Google+
 https://plus.google.com/+KaZGunasekara/ | LinkedIn
 http://www.linkedin.com/in/kasun32

 On Fri, May 15, 2015 at 2:38 PM, Abimaran Kugathasan 
 abima...@wso2.com wrote:

 Hi Kasun,

 What is the status of this issue?

 On Wed, May 13, 2015 at 4:55 PM, Kasun Gunasekara kas...@wso2.com
 wrote:

 Hi Abimaran,

 I checked on this and found out that API Provider's Subscriptions
 page uses getAllAPIUsageByProvider() to load subscriptions and I have 
 only
 changed getPaginatedSubscribedAPIs() which is used by API Store.

 This change doesn't affect API Provider as far as I understand.


 Kasun Gunasekara
 Software Engineering Intern - WSO2
 Mobile : +94 77 6986482
 Twitter https://twitter.com/KaluMallii | Google+
 https://plus.google.com/+KaZGunasekara/ | LinkedIn
 http://www.linkedin.com/in/kasun32

 On Wed, May 13, 2015 at 2:52 PM, Abimaran Kugathasan 
 abima...@wso2.com wrote:

 Hi Kasun,

 In the Subscription page of the API Publisher, We have to show,
 BLOCKED, UNBLOCKED API Subscription. But, with this pull request, you 
 made
 changes to list on the UNBLOCKED API Subscription.

 It we don't show the BLOCKED API Subscription, we won't be able to
 unblock them through the publisher.

 On Wed, May 13, 2015 at 2:47 PM, Kasun Gunasekara kas...@wso2.com
 wrote:

 Hi,

 Please review and merge PR [1] for jira [2].

 [1] https://github.com/wso2/carbon-apimgt/pull/383
 [2] https://wso2.org/jira/browse/APIMANAGER-3550

 Regards.

 Kasun Gunasekara
 Software Engineering Intern - WSO2
 Mobile : +94 77 6986482
 Twitter https://twitter.com/KaluMallii | Google+
 https://plus.google.com/+KaZGunasekara/ | LinkedIn
 http://www.linkedin.com/in/kasun32




 --
 Thanks
 Abimaran Kugathasan

 Software Engineer | WSO2 Inc
 Data  APIs Technologies Team
 Mobile : +94 773922820

 http://stackoverflow.com/users/515034
 http://lk.linkedin.com/in/abimaran
 http://www.lkabimaran.blogspot.com/
 https://github.com/abimarank  https://twitter.com/abimaran





 --
 Thanks
 Abimaran Kugathasan

 Software 

Re: [Dev] Test Automation Framework Support for MQTT Server

2015-05-19 Thread Krishantha Samaraweera
Hi Mohan,

On Tue, May 19, 2015 at 10:49 AM, Mohanadarshan Vivekanandalingam 
mo...@wso2.com wrote:



 On Thu, May 14, 2015 at 12:18 PM, Nuwan Wimalasekara nuw...@wso2.com
 wrote:

 Hi Mohan,
 We are planning to release the test-automation-framework 4.3.2 by end of
 tomorrow(Friday).


 @ Nuwan, Whether above is released ?


This is not yet released publicly, but in staging -
http://maven.wso2.org/nexus/content/repositories/orgwso2carbonautomation-010/org/wso2/carbon/automation/

Version - 4.4.0

Thanks,
Krishantha.




 Thanks,
 Nuwanw

 On Thu, May 14, 2015 at 12:04 PM, Mohanadarshan Vivekanandalingam 
 mo...@wso2.com wrote:

 By the Nuwan, when you guys planning to release the 4.3.2 automation
 framework ?

 Thanks,
 Mohan


 On Wed, May 13, 2015 at 5:44 PM, Mohanadarshan Vivekanandalingam 
 mo...@wso2.com wrote:

 Thanks Nuwan, I'll check that...

 Regards,
 Mohan


 On Wed, May 13, 2015 at 4:54 PM, Nuwan Wimalasekara nuw...@wso2.com
 wrote:

 Hi Mohan,
 We have enabled the MQTT transport in Embedded ActiveMQ server started
 by Test Framework. Now you can use mqtt transport in integration test. 
 This
 feature is available in test-automation-framework 4.3.2-SNAPSHOT.

 Transport is enabled on mqtt://localhost:1883

 Use below code to start the server with MQTT transport and TCP
 transport

 JMSBrokerController  activeMqBroker = new
 JMSBrokerController(localhost,
  JMSBrokerConfigurationProvider.getInstance().getTransportConnectors());

 activeMqBroker.start()


 Thanks,
 Nuwanw

 On Mon, May 11, 2015 at 5:51 PM, Mohanadarshan Vivekanandalingam 
 mo...@wso2.com wrote:



 On Mon, May 11, 2015 at 3:38 PM, Nuwan Wimalasekara nuw...@wso2.com
 wrote:

 Hi Mohan,
 Embedded broker only enable the tcp connector currently. We have to
 add the mqtt connector when the server is started.
 I am working on enabling the mqtt for embedded activeMQ server
 started by test framework. I will update the thread once implementation 
 is
 done.


 Great.. Thanks Nuwan for looking into this..


 Thanks,
 Nuwanw

 On Thu, May 7, 2015 at 10:15 PM, Mohanadarshan Vivekanandalingam 
 mo...@wso2.com wrote:

 Thanks Krishantha...

 @Waruna, please let us know if you found any option..

 Thanks,
 Mohan


 On Thu, May 7, 2015 at 11:57 AM, Waruna Perera waru...@wso2.com
 wrote:

 HI Krishantha,

 Will check on that.

 Thanks,

 On Thu, May 7, 2015 at 11:54 AM, Krishantha Samaraweera 
 krishan...@wso2.com wrote:

 Hi Waruna,

 I don't think we have enabled ActiveMQ broker for MQTT.  Can you
 check whether MQTT endpoint is exposed.  And any workaround to get it
 started.

 The version we used is 5.9.1 and it should support for MQTT.

 Thanks,
 Krishantha.



 On Tue, May 5, 2015 at 6:29 PM, Mohanadarshan Vivekanandalingam 
 mo...@wso2.com wrote:

 Hi All,

 We are planning to ship MQTT event adapter support with CEP
 4.0.0. We are done with the implementation but facing some issues in
 writing integration tests.. To test this functionality, we have 
 used the
 ActiveMQ as the MQTT server. ActiveMQ version 5.9.0 and upwards 
 contains a
 mqtt endpoint. Based on [1], Automation framework has activemq 5.9.1
 support. But when I am trying-out, I haven't seen a mqtt endpoint. 
 It only
 has below endpoint,

 INFO
  [org.apache.activemq.transport.TransportServerThreadSupport] - 
 Listening
 for connections at: tcp://localhost:61616
 INFO  [org.apache.activemq.broker.TransportConnector] -
 Connector tcp://127.0.0.1:61616 started
 INFO  [org.apache.activemq.broker.BrokerService] - Apache
 ActiveMQ 5.9.1 (testBroker, 
 ID:mohan-ThinkPad-T530-35747-1430828992894-0:1)
 started
 INFO  [org.apache.activemq.broker.BrokerService] - For help or
 more information please see: http://activemq.apache.org

 By default, ActiveMQ has mqtt endpoint in port 1883.. Can
 someone from Automation team help on this.. This is a blocker to 
 consider
 the feature as done-done ..

 [1] https://wso2.org/jira/browse/TA-901

 Thanks,
 Mohan


 --
 *V. Mohanadarshan*
 *Software Engineer,*
 *Data Technologies Team,*
 *WSO2, Inc. http://wso2.com http://wso2.com *
 *lean.enterprise.middleware.*

 email: mo...@wso2.com
 phone:(+94) 771117673




 --
 Krishantha Samaraweera
 Senior Technical Lead - Test Automation
 Mobile: +94 77 7759918
 WSO2, Inc.; http://wso2.com/
 lean . enterprise . middlewear.




 --
 Waruna Perera
 Senior Software Engineer - Test Automation
 Mobile: +94 77 3867037
 WSO2, Inc.; http://wso2.com/
 lean . enterprise . middlewear.




 --
 *V. Mohanadarshan*
 *Software Engineer,*
 *Data Technologies Team,*
 *WSO2, Inc. http://wso2.com http://wso2.com *
 *lean.enterprise.middleware.*

 email: mo...@wso2.com
 phone:(+94) 771117673

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Nuwan Wimalasekara
 Senior Software Engineer - Test Automation
 WSO2, Inc.: http://wso2.com
 lean. enterprise. middleware

 phone: +94 71 668 4620






 --
 *V. Mohanadarshan*
 *Senior Software 

Re: [Dev] Review and merge PR APIMANAGER-3550

2015-05-19 Thread Kasun Gunasekara
Block is un-clickable in API Publisher when a subscription is in ON_HOLD
state. So the subscription is only allowed to be blocked if approved by the
admin-workflow. If rejected it'll be disappeared from the publisher.


Kasun Gunasekara
Software Engineering Intern - WSO2
Mobile : +94 77 6986482
Twitter https://twitter.com/KaluMallii | Google+
https://plus.google.com/+KaZGunasekara/ | LinkedIn
http://www.linkedin.com/in/kasun32

On Tue, May 19, 2015 at 12:14 PM, Abimaran Kugathasan abima...@wso2.com
wrote:

 OK, What if ON_HOLD subscription was blocked through API Publisher before
 it get approved via admin-workflow? Even it's blocked, I guess, admin can
 approve or reject the subscription. That will be the staus of the
 subscription.

 Depends on the order of execution whether admin-workflow or API publisher
 blocking runs first, previous status will be overridn by the other. So,
 there won't be a consistent state.

 It's OK to show ON_HOLD subscription, but, admin sholdn't be able to block
 until the subscription approved/rejected via admin-workflow.



 On Tue, May 19, 2015 at 11:21 AM, Kasun Gunasekara kas...@wso2.com
 wrote:

 Hi Abimaran,

 I noticed that earlier. But ON_HOLD status is already handled in API
 Publisher using a tip saying that the subscription is pending for approval.
 Does it still has to be removed? If yes I will do the necessary changes.


 Kasun Gunasekara
 Software Engineering Intern - WSO2
 Mobile : +94 77 6986482
 Twitter https://twitter.com/KaluMallii | Google+
 https://plus.google.com/+KaZGunasekara/ | LinkedIn
 http://www.linkedin.com/in/kasun32

 On Tue, May 19, 2015 at 11:17 AM, Abimaran Kugathasan abima...@wso2.com
 wrote:

 Hi Kasun,

 Following are status' of API subscription

 public static class SubscriptionStatus {
 public static final String BLOCKED = BLOCKED;
 public static final String PROD_ONLY_BLOCKED = PROD_ONLY_BLOCKED;
 public static final String UNBLOCKED = UNBLOCKED;
 public static final String ON_HOLD = ON_HOLD;
 public static final String REJECTED = REJECTED;
 }


 Only subscription with BLOCKED, PROD_ONLY_BLOCKED, UNBLOCKED status
 should be listed in subscription tab of the API Publisher. REJECTED,
 ON_HOLD staus cann't be considered as successfull subscriptions.

 Can you please filer ON_HOLD status also here with addition to REJECTED?

 I'm reopning the bug.


 On Fri, May 15, 2015 at 4:41 PM, Kasun Gunasekara kas...@wso2.com
 wrote:

 Hi Abimaran,

 I had some misunderstanding about the issue and the earlier PR was for
 the API Store. Did revert the earlier commit and updated the PR with
 relevant changes to the API Publisher.

 Please review and merge PR[1]

 [1] https://github.com/wso2/carbon-apimgt/pull/383



 Kasun Gunasekara
 Software Engineering Intern - WSO2
 Mobile : +94 77 6986482
 Twitter https://twitter.com/KaluMallii | Google+
 https://plus.google.com/+KaZGunasekara/ | LinkedIn
 http://www.linkedin.com/in/kasun32

 On Fri, May 15, 2015 at 2:38 PM, Abimaran Kugathasan abima...@wso2.com
  wrote:

 Hi Kasun,

 What is the status of this issue?

 On Wed, May 13, 2015 at 4:55 PM, Kasun Gunasekara kas...@wso2.com
 wrote:

 Hi Abimaran,

 I checked on this and found out that API Provider's Subscriptions
 page uses getAllAPIUsageByProvider() to load subscriptions and I have 
 only
 changed getPaginatedSubscribedAPIs() which is used by API Store.

 This change doesn't affect API Provider as far as I understand.


 Kasun Gunasekara
 Software Engineering Intern - WSO2
 Mobile : +94 77 6986482
 Twitter https://twitter.com/KaluMallii | Google+
 https://plus.google.com/+KaZGunasekara/ | LinkedIn
 http://www.linkedin.com/in/kasun32

 On Wed, May 13, 2015 at 2:52 PM, Abimaran Kugathasan 
 abima...@wso2.com wrote:

 Hi Kasun,

 In the Subscription page of the API Publisher, We have to show,
 BLOCKED, UNBLOCKED API Subscription. But, with this pull request, you 
 made
 changes to list on the UNBLOCKED API Subscription.

 It we don't show the BLOCKED API Subscription, we won't be able to
 unblock them through the publisher.

 On Wed, May 13, 2015 at 2:47 PM, Kasun Gunasekara kas...@wso2.com
 wrote:

 Hi,

 Please review and merge PR [1] for jira [2].

 [1] https://github.com/wso2/carbon-apimgt/pull/383
 [2] https://wso2.org/jira/browse/APIMANAGER-3550

 Regards.

 Kasun Gunasekara
 Software Engineering Intern - WSO2
 Mobile : +94 77 6986482
 Twitter https://twitter.com/KaluMallii | Google+
 https://plus.google.com/+KaZGunasekara/ | LinkedIn
 http://www.linkedin.com/in/kasun32




 --
 Thanks
 Abimaran Kugathasan

 Software Engineer | WSO2 Inc
 Data  APIs Technologies Team
 Mobile : +94 773922820

 http://stackoverflow.com/users/515034
 http://lk.linkedin.com/in/abimaran
 http://www.lkabimaran.blogspot.com/
 https://github.com/abimarank  https://twitter.com/abimaran





 --
 Thanks
 Abimaran Kugathasan

 Software Engineer | WSO2 Inc
 Data  APIs Technologies Team
 Mobile : +94 773922820

 http://stackoverflow.com/users/515034
 

Re: [Dev] Cannot identify EPR of data service deployed in cloud

2015-05-19 Thread Sabra Ossen
Hi Pirinthapan,

The issue is now resolved. Thank you very much.

Regards.

On Tue, May 19, 2015 at 11:53 AM, Pirinthapan Mahendran 
pirintha...@wso2.com wrote:

 Hi Sabra,

 The endpoints are listed in the wsdl under the element wsdl:service. You
 can use one one of these endpoints.
 i.e:
 https://appserver.dev.cloud.wso2.com/services/t/sabra8339/dataservice1-default-SNAPSHOT.SecureHTTPEndpoint
 .

 or You can just remove the ?wsdl part from your wsdl url and use it as
 endpoint.
 i.e:
 https://appserver.dev.cloud.wso2.com/services/t/sabra8339/dataservice1-default-SNAPSHOT

 Thanks.



 Mahendran Pirinthapan
 Software Engineer | WSO2 Inc.
 Mobile +94772378732.

 On Tue, May 19, 2015 at 10:50 AM, Dimuthu Leelarathne dimut...@wso2.com
 wrote:

 Hi Sabra,

 Is this secured?

 thanks,
 dimuthu


 On Mon, May 18, 2015 at 5:26 PM, Sabra Ossen sabra...@gmail.com wrote:

 Hi All,

 I have deployed a data service in cloud and I am trying to push data to
 a database in cloud through the data service. I am having a hard time
 figuring out the end point where I have to push data to. I tested the data
 service using soap ui and it successfully pushes data.

 The wsdl for the data service can be seen in [1].

 The code to push data is as follows(I have created the client stub using
 the wsdl mentioned above).

 *String epr =
 https://appserver.dev.cloud.wso2.com/services/t/sabra8339/Dataservice1DefaultSNAPSHOT
 https://appserver.dev.cloud.wso2.com/services/t/sabra8339/Dataservice1DefaultSNAPSHOT;*

 System.setProperty(javax.net.ssl.trustStore, (new
 File(TRUST_STORE_PATH)).getAbsolutePath());
 System.setProperty(javax.net.ssl.trustStorePassword,
 TRUST_STORE_PASSWORD);

 ConfigurationContext ctx =
 ConfigurationContextFactory.createConfigurationContextFromFileSystem(/home/sabra/repository,
 null);

 Dataservice1DefaultSNAPSHOTStub stub = new
 Dataservice1DefaultSNAPSHOTStub(ctx,epr);
 ServiceClient client = stub._getServiceClient();
 Options options = client.getOptions();
 client.engageModule(rampart);
 options.setUserName(admin);
 options.setPassword(admin);

 options.setProperty(RampartMessageData.KEY_RAMPART_POLICY,
 loadPolicy(POLICY_FILE_PATH));

 Dataservice1DefaultSNAPSHOTStub.InsertRawLeadsPerWeek request = new
 Dataservice1DefaultSNAPSHOTStub.InsertRawLeadsPerWeek();

 request.setStart_date(2092-04-09);
 request.setEnd_date(2092-04-8);
 request.setTotal_users();
 request.setEu_users();
 request.setNa_users();
 request.setRow_users();
 request.setUnclassified_users();

 stub.insertRawLeadsPerWeek(request);

 I have no clue as to what is missing. Any help on this issue is highly
 appreciated. If any further clarification is needed please let me know.

 [1]
 https://appserver.dev.cloud.wso2.com/services/t/sabra8339/dataservice1-default-SNAPSHOT?wsdl

 Regards.
 --
 Sabra Ossen http://lk.linkedin.com/in/sabraossen
 Undergraduate | Department of Computer Science and Engineering
 University of Moratuwa
 Sri Lanka

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Dimuthu Leelarathne
 Architect  Product Lead of App Factory

 WSO2, Inc. (http://wso2.com)
 email: dimut...@wso2.com
 Mobile : 0773661935

 Lean . Enterprise . Middleware

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev





-- 
Sabra Ossen http://lk.linkedin.com/in/sabraossen
Undergraduate | Department of Computer Science and Engineering
University of Moratuwa
Sri Lanka
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Updated Invitation: [Code Review][CEP] Javascript library which works with UI... @ Wed May 20, 2015 2pm - 3pm (dami...@wso2.com)

2015-05-19 Thread dami...@wso2.com
BEGIN:VCALENDAR
PRODID:-//Google Inc//Google Calendar 70.9054//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:REQUEST
BEGIN:VEVENT
DTSTART:20150520T083000Z
DTEND:20150520T093000Z
DTSTAMP:20150519T071002Z
ORGANIZER;CN=Damith Wickramasinghe:mailto:dami...@wso2.com
UID:pb033stf2nrld52g4941vbu...@google.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Ramindu De Silva;X-NUM-GUESTS=0:mailto:ramin...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Sachini Jayasekara;X-NUM-GUESTS=0:mailto:sachi...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Mohanadarshan Vivekanandalingam;X-NUM-GUESTS=0:mailto:mo...@wso2.co
 m
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Sriskandarajah Suhothayan;X-NUM-GUESTS=0:mailto:s...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Tharik Kanaka;X-NUM-GUESTS=0:mailto:tha...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=Damith Wickramasinghe;X-NUM-GUESTS=0:mailto:dami...@wso2.com
ATTENDEE;CUTYPE=RESOURCE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TR
 UE;CN=LK Trace Ground Floor Meeting Room - Moria Ext:1036214;X-NUM-GUESTS
 =0:mailto:wso2.com_2d37373732303132382d393...@resource.calendar.google.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Lasantha Fernando;X-NUM-GUESTS=0:mailto:lasan...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Rajeev Sampath;X-NUM-GUESTS=0:mailto:raje...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Thilini Anoratna;X-NUM-GUESTS=0:mailto:thili...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=dev@wso2.org;X-NUM-GUESTS=0:mailto:dev@wso2.org
CREATED:20150518T084730Z
DESCRIPTION:View your event at https://www.google.com/calendar/event?action
 =VIEWeid=cGIwMzNzdGYybnJsZDUyZzQ5NDF2YnV1b3MgZGV2QHdzbzIub3Jntok=MTYjZGFt
 aXRobkB3c28yLmNvbTRmYmRmMmFmMTU3NmRkZGVkZWUxY2YwYjY4YmJhMjcxMGE1NGFkOWQctz
 =Asia/Colombohl=en.
LAST-MODIFIED:20150519T071002Z
LOCATION:LK Trace Ground Floor Meeting Room - Moria Ext:1036214
SEQUENCE:1
STATUS:CONFIRMED
SUMMARY:[Code Review][CEP] Javascript library which works with UI event out
 put adapter
TRANSP:OPAQUE
END:VEVENT
END:VCALENDAR


invite.ics
Description: application/ics
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Please review and release carbon-identity-4.4.1

2015-05-19 Thread Isuru Udana
On Mon, May 18, 2015 at 4:42 PM, Kasun Indrasiri ka...@wso2.com wrote:

 Can we get a new release of carbon-identity before Wed? I think we have
 sent all the required PRs.

 On Mon, May 18, 2015 at 4:36 PM, Isuru Udana isu...@wso2.com wrote:

 Hi,

 In ESB we are installing org.wso2.carbon.security.mgt.server.feature
 coming from carbon-identity.

 org.wso2.carbon.identity.sts.store is also getting packed from the same
 feature.

 In sts store IdentityException is used in DBStsDAO class. That exception
 class is located in org.wso2.carbon.identity.base package which is packing
 from org.wso2.carbon.identity.core.server.feature.
 So we have to ship that feature with ESB.
 But since identity.core is also getting packed from that feature, there
 are lot of unnecessary files like identity.xml getting added to the ESB
 server. And also I noticed a significant delay in server start-up.

 So can we please create a more lightweight feature which packs only the
 org.wso2.carbon.identity.base, so that we can ship that with ESB ?

 We have the option to pack the identity.base with security.mgt.server
feature too. Please evaluate the available options and release the
carbon-identity asap.

Thanks.


 This is applicable to other servers like AS,DSS as well.

 Thanks.

 On Mon, May 18, 2015 at 3:07 PM, Isuru Udana isu...@wso2.com wrote:

 Hi,

 Few more issues.

 1.

 Installation failed.
 An error occurred while configuring the installed items
  session context was:(profile=worker,
 phase=org.eclipse.equinox.internal.p2.engine.phases.Configure, operand=null
 -- [R]org.wso2.carbon.security.mgt.server.feature.group 4.4.1,
 action=org.eclipse.equinox.internal.p2.touchpoint.natives.actions.CopyAction).
  I/O Error while copying
 /Users/isuruu/wso2/source/public/git/isudana/product-esb/modules/p2-profile/target/wso2carbon-core-4.4.0/repository/components/worker/../features/org.wso2.carbon.security.mgt.server_4.4.1/conf/jaas.conf
 - see details.
 Caused by:  java.io.IOException: Source:
 /Users/isuruu/wso2/source/public/git/isudana/product-esb/modules/p2-profile/target/wso2carbon-core-4.4.0/repository/components/worker/../features/org.wso2.carbon.security.mgt.server_4.4.1/conf/jaas.confdoes
 not exists
 Application failed, log file location:
 /Users/isuruu/.m2/repository/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/configuration/1431939984331.log

 2.

 !MESSAGE session context was:(profile=worker,
 phase=org.eclipse.equinox.internal.p2.engine.phases.Configure, operand=null
 -- [R]org.wso2.carbon.identity.core.server.feature.group 4.4.1,
 action=org.eclipse.equinox.internal.p2.touchpoint.natives.actions.CopyAction).
 !SUBENTRY 1 org.eclipse.equinox.p2.touchpoint.natives 4 0 2015-05-18
 14:13:26.117
 !MESSAGE I/O Error while copying
 /Users/isuruu/wso2/source/public/git/isudana/product-esb/modules/p2-profile/target/wso2carbon-core-4.4.0/repository/components/worker/../features/org.wso2.carbon.identity.core.server_4.4.1/identity.xml
 - see details.
 !STACK 0
 java.io.IOException: Source:
 /Users/isuruu/wso2/source/public/git/isudana/product-esb/modules/p2-profile/target/wso2carbon-core-4.4.0/repository/components/worker/../features/org.wso2.carbon.identity.core.server_4.4.1/identity.xmldoes
 not exists

 This is something related to following commit.


 https://github.com/wso2/carbon-identity/commit/2e4316d253df5068eb20696663de483629b5ad47

 Error went away by reverting changes made to the following files in the
 above commit.


 features/identity-core/org.wso2.carbon.identity.core.server.feature/resources/p2.inf

 features/security-mgt/org.wso2.carbon.security.mgt.server.feature/src/main/resources/p2.inf

 Please have a look on this as well.

 Thanks.

 On Mon, May 18, 2015 at 1:18 PM, Malithi Edirisinghe malit...@wso2.com
 wrote:

 Hi Isuru,

 Thank you for pointing this out. We will release the next
 carbon-identity version with above fixed, by Wednesday.

 Thanks,
 Malithi.

 On Mon, May 18, 2015 at 12:31 PM, Isuru Udana isu...@wso2.com wrote:

 Hi Johann/Prasad,

 We are getting lot of build errors when build p2-profile of product
 ESB.
 It looks to me massive refactoring made in the pom files has caused
 this.

 Most of them got fixed by packing the missing dependancies from
 Entitlement mediator feature. But we cannot do anything from our end for
 following error.


 Installation failed.
 Cannot complete the install because one or more required items could
 not be found.
  Software being installed: WSO2 Carbon - XACML Mediation Feature
 4.4.1.SNAPSHOT (org.wso2.carbon.identity.xacml.mediator.feature.group
 4.4.1.SNAPSHOT)
  Missing requirement: org.wso2.carbon.identity.entitlement.proxy 4.4.1
 (org.wso2.carbon.identity.entitlement.proxy 4.4.1) requires 'package
 javax.cache [4.4.0,4.5.0)' but it could not be found
  Cannot satisfy dependency:
   From: org.wso2.carbon.identity.entitlement.mediator 4.4.1.SNAPSHOT
 (org.wso2.carbon.identity.entitlement.mediator 4.4.1.SNAPSHOT)
   To: package 

Re: [Dev] Please review and release carbon-identity-4.4.1

2015-05-19 Thread Johann Nallathamby
Lets go with packing it into security.mgt.server feature. Having feature
for just one bundle doesn't seem right.

On Tue, May 19, 2015 at 1:49 PM, Isuru Udana isu...@wso2.com wrote:



 On Mon, May 18, 2015 at 4:42 PM, Kasun Indrasiri ka...@wso2.com wrote:

 Can we get a new release of carbon-identity before Wed? I think we have
 sent all the required PRs.

 On Mon, May 18, 2015 at 4:36 PM, Isuru Udana isu...@wso2.com wrote:

 Hi,

 In ESB we are installing org.wso2.carbon.security.mgt.server.feature
 coming from carbon-identity.

 org.wso2.carbon.identity.sts.store is also getting packed from the same
 feature.

 In sts store IdentityException is used in DBStsDAO class. That exception
 class is located in org.wso2.carbon.identity.base package which is packing
 from org.wso2.carbon.identity.core.server.feature.
 So we have to ship that feature with ESB.
 But since identity.core is also getting packed from that feature, there
 are lot of unnecessary files like identity.xml getting added to the ESB
 server. And also I noticed a significant delay in server start-up.

 So can we please create a more lightweight feature which packs only the
 org.wso2.carbon.identity.base, so that we can ship that with ESB ?

 We have the option to pack the identity.base with security.mgt.server
 feature too. Please evaluate the available options and release the
 carbon-identity asap.

 Thanks.


 This is applicable to other servers like AS,DSS as well.

 Thanks.

 On Mon, May 18, 2015 at 3:07 PM, Isuru Udana isu...@wso2.com wrote:

 Hi,

 Few more issues.

 1.

 Installation failed.
 An error occurred while configuring the installed items
  session context was:(profile=worker,
 phase=org.eclipse.equinox.internal.p2.engine.phases.Configure, operand=null
 -- [R]org.wso2.carbon.security.mgt.server.feature.group 4.4.1,
 action=org.eclipse.equinox.internal.p2.touchpoint.natives.actions.CopyAction).
  I/O Error while copying
 /Users/isuruu/wso2/source/public/git/isudana/product-esb/modules/p2-profile/target/wso2carbon-core-4.4.0/repository/components/worker/../features/org.wso2.carbon.security.mgt.server_4.4.1/conf/jaas.conf
 - see details.
 Caused by:  java.io.IOException: Source:
 /Users/isuruu/wso2/source/public/git/isudana/product-esb/modules/p2-profile/target/wso2carbon-core-4.4.0/repository/components/worker/../features/org.wso2.carbon.security.mgt.server_4.4.1/conf/jaas.confdoes
 not exists
 Application failed, log file location:
 /Users/isuruu/.m2/repository/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/configuration/1431939984331.log

 2.

 !MESSAGE session context was:(profile=worker,
 phase=org.eclipse.equinox.internal.p2.engine.phases.Configure, operand=null
 -- [R]org.wso2.carbon.identity.core.server.feature.group 4.4.1,
 action=org.eclipse.equinox.internal.p2.touchpoint.natives.actions.CopyAction).
 !SUBENTRY 1 org.eclipse.equinox.p2.touchpoint.natives 4 0 2015-05-18
 14:13:26.117
 !MESSAGE I/O Error while copying
 /Users/isuruu/wso2/source/public/git/isudana/product-esb/modules/p2-profile/target/wso2carbon-core-4.4.0/repository/components/worker/../features/org.wso2.carbon.identity.core.server_4.4.1/identity.xml
 - see details.
 !STACK 0
 java.io.IOException: Source:
 /Users/isuruu/wso2/source/public/git/isudana/product-esb/modules/p2-profile/target/wso2carbon-core-4.4.0/repository/components/worker/../features/org.wso2.carbon.identity.core.server_4.4.1/identity.xmldoes
 not exists

 This is something related to following commit.


 https://github.com/wso2/carbon-identity/commit/2e4316d253df5068eb20696663de483629b5ad47

 Error went away by reverting changes made to the following files in the
 above commit.


 features/identity-core/org.wso2.carbon.identity.core.server.feature/resources/p2.inf

 features/security-mgt/org.wso2.carbon.security.mgt.server.feature/src/main/resources/p2.inf

 Please have a look on this as well.

 Thanks.

 On Mon, May 18, 2015 at 1:18 PM, Malithi Edirisinghe malit...@wso2.com
  wrote:

 Hi Isuru,

 Thank you for pointing this out. We will release the next
 carbon-identity version with above fixed, by Wednesday.

 Thanks,
 Malithi.

 On Mon, May 18, 2015 at 12:31 PM, Isuru Udana isu...@wso2.com wrote:

 Hi Johann/Prasad,

 We are getting lot of build errors when build p2-profile of product
 ESB.
 It looks to me massive refactoring made in the pom files has caused
 this.

 Most of them got fixed by packing the missing dependancies from
 Entitlement mediator feature. But we cannot do anything from our end for
 following error.


 Installation failed.
 Cannot complete the install because one or more required items could
 not be found.
  Software being installed: WSO2 Carbon - XACML Mediation Feature
 4.4.1.SNAPSHOT (org.wso2.carbon.identity.xacml.mediator.feature.group
 4.4.1.SNAPSHOT)
  Missing requirement: org.wso2.carbon.identity.entitlement.proxy
 4.4.1 (org.wso2.carbon.identity.entitlement.proxy 4.4.1) requires 
 'package
 javax.cache [4.4.0,4.5.0)' but it could not be found
  Cannot 

Re: [Dev] Please review the PR for ESBJAVA-2509

2015-05-19 Thread Shakila Sivagnanarajah
Hi Malaka,

I am not using transport.vfs.MoveTimestampFormat on this feature. But
VFSConstants.TRANSPORT_FILE_MOVE_TIMESTAMP_FORMAT is used in [1]. There is
no way to add this property via UI.

[1]
https://github.com/Shakila/carbon-mediation/blob/develop/components/inbound-endpoints/org.wso2.carbon.inbound.endpoint/src/main/java/org/wso2/carbon/inbound/endpoint/protocol/file/FilePollingConsumer.java

Thank you.

On Tue, May 19, 2015 at 2:23 PM, Malaka Silva mal...@wso2.com wrote:

 Hi Shakila,

 Where are you using transport.vfs.MoveTimestampFormat parameter?

 According to the PR it seems you are giving the functinality
 when transport.vfs.CreateFolder is true.


 - if (strSubfoldertimestamp != null) {+ if(vfsProperties.getProperty(
 VFSConstants.FORCE_CREATE_FOLDER).toLowerCase().equals(true)) {

 On Tue, May 19, 2015 at 2:07 PM, Shakila Sivagnanarajah shak...@wso2.com
 wrote:

 Hi Malaka,

 I am not using transport.vfs.MoveTimestampFormat. But this property is
 missing from UI. So I added. [1] is the new pull request. And I will do
 this for axis2.

 [1] https://github.com/wso2/carbon-mediation/pull/162

 Thank you

 On Tue, May 19, 2015 at 9:44 AM, Malaka Silva mal...@wso2.com wrote:

 Hi Shakila,

 Yes Please do so.

 So basically your fix should only include
 transport.vfs.MoveTimestampFormat parameter?

 I guess they are referring to axis2 VFS in the jira. We may need to do
 the same for both. (Inbound and VFS)

 On Tue, May 19, 2015 at 9:28 AM, Shakila Sivagnanarajah 
 shak...@wso2.com wrote:

 Hi,

 Yes I have done that with transport.vfs.SubFolderTimestampFormat,
 transport.vfs.CreateFolder parameters only. And added one another
 parameter. But the feature that already written will create only one
 sub-folder with date. But the expected feature from the JIRA is creating
 sub-folders with year, month and date like,

 2013
 09
 29
 File1
 File2
 File3
 30
 File4
 File5
 File6

 So I moderated that accordingly. Can I give the PR again?

 Thank you



 On Tue, May 19, 2015 at 9:06 AM, Malaka Silva mal...@wso2.com wrote:

 Hi Shakila,

 I have reviewed your fix.

 Basically their requirement is to create a folder for the date to move
 the processed file.

 I think we can do the same by using following parameter combination.
 WDYT? We may not need to patch it?

1. transport.vfs.SubFolderTimestampFormat
2. transport.vfs.CreateFolder

 Also observed that the PR you send does not contain the latest from
 develop branch. If we merge this we may loose some commits already done.
 eg:-
 PR says,
 *-file.optional=20*
 +file.optional=23

 But actually in develop branch,
 *file.optional=22*

 On Mon, May 18, 2015 at 12:47 PM, Shakila Sivagnanarajah 
 shak...@wso2.com wrote:

 Hi,

 I added the feature mentioned in ESBJAVA-2509 and added one missing
 vfs parameter. Please find the pull request at [1].

 [1] https://github.com/wso2/carbon-mediation/pull/159/

 Thank you
 --
 Shakila Sivagnanarajah
 Associate Software Engineer
 Mobile :+94 (0) 770 760240
 shak...@wso2.com




 --

 Best Regards,

 Malaka Silva
 Senior Tech Lead
 M: +94 777 219 791
 Tel : 94 11 214 5345
 Fax :94 11 2145300
 Skype : malaka.sampath.silva
 LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
 Blog : http://mrmalakasilva.blogspot.com/

 WSO2, Inc.
 lean . enterprise . middleware
 http://www.wso2.com/
 http://www.wso2.com/about/team/malaka-silva/
 http://wso2.com/about/team/malaka-silva/

 Save a tree -Conserve nature  Save the world for your future. Print
 this email only if it is absolutely necessary.




 --
 Shakila Sivagnanarajah
 Associate Software Engineer
 Mobile :+94 (0) 770 760240
 shak...@wso2.com




 --

 Best Regards,

 Malaka Silva
 Senior Tech Lead
 M: +94 777 219 791
 Tel : 94 11 214 5345
 Fax :94 11 2145300
 Skype : malaka.sampath.silva
 LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
 Blog : http://mrmalakasilva.blogspot.com/

 WSO2, Inc.
 lean . enterprise . middleware
 http://www.wso2.com/
 http://www.wso2.com/about/team/malaka-silva/
 http://wso2.com/about/team/malaka-silva/

 Save a tree -Conserve nature  Save the world for your future. Print
 this email only if it is absolutely necessary.




 --
 Shakila Sivagnanarajah
 Associate Software Engineer
 Mobile :+94 (0) 770 760240
 shak...@wso2.com




 --

 Best Regards,

 Malaka Silva
 Senior Tech Lead
 M: +94 777 219 791
 Tel : 94 11 214 5345
 Fax :94 11 2145300
 Skype : malaka.sampath.silva
 LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
 Blog : http://mrmalakasilva.blogspot.com/

 WSO2, Inc.
 lean . enterprise . middleware
 http://www.wso2.com/
 http://www.wso2.com/about/team/malaka-silva/
 http://wso2.com/about/team/malaka-silva/

 Save a tree -Conserve nature  Save the world for your future. Print this
 email only if it is absolutely necessary.




-- 
Shakila Sivagnanarajah
Associate Software Engineer
Mobile :+94 (0) 770 760240
shak...@wso2.com
___
Dev mailing list
Dev@wso2.org

Re: [Dev] Please review and release carbon-identity-4.4.1

2015-05-19 Thread Prasad Tissera
added identity.base component to security.mgt.server feature.

[1].https://github.com/wso2/carbon-identity/pull/303

On Tue, May 19, 2015 at 1:52 PM, Johann Nallathamby joh...@wso2.com wrote:

 Lets go with packing it into security.mgt.server feature. Having feature
 for just one bundle doesn't seem right.

 On Tue, May 19, 2015 at 1:49 PM, Isuru Udana isu...@wso2.com wrote:



 On Mon, May 18, 2015 at 4:42 PM, Kasun Indrasiri ka...@wso2.com wrote:

 Can we get a new release of carbon-identity before Wed? I think we have
 sent all the required PRs.

 On Mon, May 18, 2015 at 4:36 PM, Isuru Udana isu...@wso2.com wrote:

 Hi,

 In ESB we are installing org.wso2.carbon.security.mgt.server.feature
 coming from carbon-identity.

 org.wso2.carbon.identity.sts.store is also getting packed from the same
 feature.

 In sts store IdentityException is used in DBStsDAO class. That
 exception class is located in org.wso2.carbon.identity.base package which
 is packing from org.wso2.carbon.identity.core.server.feature.
 So we have to ship that feature with ESB.
 But since identity.core is also getting packed from that feature, there
 are lot of unnecessary files like identity.xml getting added to the ESB
 server. And also I noticed a significant delay in server start-up.

 So can we please create a more lightweight feature which packs only the
 org.wso2.carbon.identity.base, so that we can ship that with ESB ?

 We have the option to pack the identity.base with security.mgt.server
 feature too. Please evaluate the available options and release the
 carbon-identity asap.

 Thanks.


 This is applicable to other servers like AS,DSS as well.

 Thanks.

 On Mon, May 18, 2015 at 3:07 PM, Isuru Udana isu...@wso2.com wrote:

 Hi,

 Few more issues.

 1.

 Installation failed.
 An error occurred while configuring the installed items
  session context was:(profile=worker,
 phase=org.eclipse.equinox.internal.p2.engine.phases.Configure, 
 operand=null
 -- [R]org.wso2.carbon.security.mgt.server.feature.group 4.4.1,
 action=org.eclipse.equinox.internal.p2.touchpoint.natives.actions.CopyAction).
  I/O Error while copying
 /Users/isuruu/wso2/source/public/git/isudana/product-esb/modules/p2-profile/target/wso2carbon-core-4.4.0/repository/components/worker/../features/org.wso2.carbon.security.mgt.server_4.4.1/conf/jaas.conf
 - see details.
 Caused by:  java.io.IOException: Source:
 /Users/isuruu/wso2/source/public/git/isudana/product-esb/modules/p2-profile/target/wso2carbon-core-4.4.0/repository/components/worker/../features/org.wso2.carbon.security.mgt.server_4.4.1/conf/jaas.confdoes
 not exists
 Application failed, log file location:
 /Users/isuruu/.m2/repository/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/configuration/1431939984331.log

 2.

 !MESSAGE session context was:(profile=worker,
 phase=org.eclipse.equinox.internal.p2.engine.phases.Configure, 
 operand=null
 -- [R]org.wso2.carbon.identity.core.server.feature.group 4.4.1,
 action=org.eclipse.equinox.internal.p2.touchpoint.natives.actions.CopyAction).
 !SUBENTRY 1 org.eclipse.equinox.p2.touchpoint.natives 4 0 2015-05-18
 14:13:26.117
 !MESSAGE I/O Error while copying
 /Users/isuruu/wso2/source/public/git/isudana/product-esb/modules/p2-profile/target/wso2carbon-core-4.4.0/repository/components/worker/../features/org.wso2.carbon.identity.core.server_4.4.1/identity.xml
 - see details.
 !STACK 0
 java.io.IOException: Source:
 /Users/isuruu/wso2/source/public/git/isudana/product-esb/modules/p2-profile/target/wso2carbon-core-4.4.0/repository/components/worker/../features/org.wso2.carbon.identity.core.server_4.4.1/identity.xmldoes
 not exists

 This is something related to following commit.


 https://github.com/wso2/carbon-identity/commit/2e4316d253df5068eb20696663de483629b5ad47

 Error went away by reverting changes made to the following files in
 the above commit.


 features/identity-core/org.wso2.carbon.identity.core.server.feature/resources/p2.inf

 features/security-mgt/org.wso2.carbon.security.mgt.server.feature/src/main/resources/p2.inf

 Please have a look on this as well.

 Thanks.

 On Mon, May 18, 2015 at 1:18 PM, Malithi Edirisinghe 
 malit...@wso2.com wrote:

 Hi Isuru,

 Thank you for pointing this out. We will release the next
 carbon-identity version with above fixed, by Wednesday.

 Thanks,
 Malithi.

 On Mon, May 18, 2015 at 12:31 PM, Isuru Udana isu...@wso2.com
 wrote:

 Hi Johann/Prasad,

 We are getting lot of build errors when build p2-profile of product
 ESB.
 It looks to me massive refactoring made in the pom files has caused
 this.

 Most of them got fixed by packing the missing dependancies from
 Entitlement mediator feature. But we cannot do anything from our end for
 following error.


 Installation failed.
 Cannot complete the install because one or more required items could
 not be found.
  Software being installed: WSO2 Carbon - XACML Mediation Feature
 4.4.1.SNAPSHOT (org.wso2.carbon.identity.xacml.mediator.feature.group
 4.4.1.SNAPSHOT)
  

[Dev] Please review and merge PR for APIMANAGER-3595

2015-05-19 Thread Kasun Gunasekara
Hi,

Please review and merge PR [1] for Jira [2]

[1] https://github.com/wso2/carbon-apimgt/pull/417
[2] https://wso2.org/jira/browse/APIMANAGER-3595

Thank you.

Kasun Gunasekara
Software Engineering Intern - WSO2
Mobile : +94 77 6986482
Twitter https://twitter.com/KaluMallii | Google+
https://plus.google.com/+KaZGunasekara/ | LinkedIn
http://www.linkedin.com/in/kasun32
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Please review and merge PR for APIMANAGER-3573

2015-05-19 Thread Nuwan Dias
Merged in e5a6583a9c77ed3792dd66fac2c9969f1e2bbf05. Please resolve the JiRA.

Thanks,
NuwanD.

On Tue, May 19, 2015 at 2:55 PM, Sam Sivayogam s...@wso2.com wrote:

 Hi,

 Please review and merge PR [1] for Jira [2]
 [1] https://github.com/wso2/carbon-apimgt/pull/369
 [2] https://wso2.org/jira/browse/APIMANAGER-3573

 Thanks,
 Sam.
 --
 *Sam Sivayogam*

 Software Engineer
 Mobile  : +94 772 906 439
 Office   : +94 112 145 345
 *WSO2, Inc. :** wso2.com http://wso2.com/*
 lean.enterprise.middleware.




-- 
Nuwan Dias

Technical Lead - WSO2, Inc. http://wso2.com
email : nuw...@wso2.com
Phone : +94 777 775 729
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] App Manager latest build pack - 19-05-2015

2015-05-19 Thread Dinusha Senanayaka
Hi,

Please find $subject in [1]. This includes the hazelcast upgrade.

[1]. http://builder1.us1.wso2.org/~appm/19-05-2015/

-- 
Dinusha Dilrukshi
Associate Technical Lead
WSO2 Inc.: http://wso2.com/
Mobile: +94725255071
Blog: http://dinushasblog.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Please review and merge the PR

2015-05-19 Thread Chamalee De Silva
Hi,

This is the fix PR [1] for Public JIRA [2].
Please $subject.

[1] https://github.com/wso2/carbon-apimgt/pull/416
[2] https://wso2.org/jira/browse/APIMANAGER-3569



-- 
Thanks  Regards,

*Chamalee De Silva*
Software Engineer
*WS**O2* Inc. .:http://wso2.com
lean *.* enterprise *.* middleware

Office   :- *+94 11 2145345 %2B94%2011%202145345*
mobile  :- *+94 7 %2B94%2077%2027820391 1540738*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Please review the PR for ESBJAVA-2509

2015-05-19 Thread Malaka Silva
Hi Shakila,

Where are you using transport.vfs.MoveTimestampFormat parameter?

According to the PR it seems you are giving the functinality
when transport.vfs.CreateFolder is true.


- if (strSubfoldertimestamp != null) {+ if(vfsProperties.getProperty(
VFSConstants.FORCE_CREATE_FOLDER).toLowerCase().equals(true)) {

On Tue, May 19, 2015 at 2:07 PM, Shakila Sivagnanarajah shak...@wso2.com
wrote:

 Hi Malaka,

 I am not using transport.vfs.MoveTimestampFormat. But this property is
 missing from UI. So I added. [1] is the new pull request. And I will do
 this for axis2.

 [1] https://github.com/wso2/carbon-mediation/pull/162

 Thank you

 On Tue, May 19, 2015 at 9:44 AM, Malaka Silva mal...@wso2.com wrote:

 Hi Shakila,

 Yes Please do so.

 So basically your fix should only include
 transport.vfs.MoveTimestampFormat parameter?

 I guess they are referring to axis2 VFS in the jira. We may need to do
 the same for both. (Inbound and VFS)

 On Tue, May 19, 2015 at 9:28 AM, Shakila Sivagnanarajah shak...@wso2.com
  wrote:

 Hi,

 Yes I have done that with transport.vfs.SubFolderTimestampFormat,
 transport.vfs.CreateFolder parameters only. And added one another
 parameter. But the feature that already written will create only one
 sub-folder with date. But the expected feature from the JIRA is creating
 sub-folders with year, month and date like,

 2013
 09
 29
 File1
 File2
 File3
 30
 File4
 File5
 File6

 So I moderated that accordingly. Can I give the PR again?

 Thank you



 On Tue, May 19, 2015 at 9:06 AM, Malaka Silva mal...@wso2.com wrote:

 Hi Shakila,

 I have reviewed your fix.

 Basically their requirement is to create a folder for the date to move
 the processed file.

 I think we can do the same by using following parameter combination.
 WDYT? We may not need to patch it?

1. transport.vfs.SubFolderTimestampFormat
2. transport.vfs.CreateFolder

 Also observed that the PR you send does not contain the latest from
 develop branch. If we merge this we may loose some commits already done.
 eg:-
 PR says,
 *-file.optional=20*
 +file.optional=23

 But actually in develop branch,
 *file.optional=22*

 On Mon, May 18, 2015 at 12:47 PM, Shakila Sivagnanarajah 
 shak...@wso2.com wrote:

 Hi,

 I added the feature mentioned in ESBJAVA-2509 and added one missing
 vfs parameter. Please find the pull request at [1].

 [1] https://github.com/wso2/carbon-mediation/pull/159/

 Thank you
 --
 Shakila Sivagnanarajah
 Associate Software Engineer
 Mobile :+94 (0) 770 760240
 shak...@wso2.com




 --

 Best Regards,

 Malaka Silva
 Senior Tech Lead
 M: +94 777 219 791
 Tel : 94 11 214 5345
 Fax :94 11 2145300
 Skype : malaka.sampath.silva
 LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
 Blog : http://mrmalakasilva.blogspot.com/

 WSO2, Inc.
 lean . enterprise . middleware
 http://www.wso2.com/
 http://www.wso2.com/about/team/malaka-silva/
 http://wso2.com/about/team/malaka-silva/

 Save a tree -Conserve nature  Save the world for your future. Print
 this email only if it is absolutely necessary.




 --
 Shakila Sivagnanarajah
 Associate Software Engineer
 Mobile :+94 (0) 770 760240
 shak...@wso2.com




 --

 Best Regards,

 Malaka Silva
 Senior Tech Lead
 M: +94 777 219 791
 Tel : 94 11 214 5345
 Fax :94 11 2145300
 Skype : malaka.sampath.silva
 LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
 Blog : http://mrmalakasilva.blogspot.com/

 WSO2, Inc.
 lean . enterprise . middleware
 http://www.wso2.com/
 http://www.wso2.com/about/team/malaka-silva/
 http://wso2.com/about/team/malaka-silva/

 Save a tree -Conserve nature  Save the world for your future. Print this
 email only if it is absolutely necessary.




 --
 Shakila Sivagnanarajah
 Associate Software Engineer
 Mobile :+94 (0) 770 760240
 shak...@wso2.com




-- 

Best Regards,

Malaka Silva
Senior Tech Lead
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
http://www.wso2.com/
http://www.wso2.com/about/team/malaka-silva/
http://wso2.com/about/team/malaka-silva/

Save a tree -Conserve nature  Save the world for your future. Print this
email only if it is absolutely necessary.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Please review and merge the PR

2015-05-19 Thread Vinod Kavinda
Hi,
Please review and merge the PR[1] for issue [2].

[1] - https://github.com/wso2/carbon-business-process/pull/52
[2] - https://wso2.org/jira/browse/BPS-460

Regards,
Vinod Kavinda
-- 
Vinod Kavinda
Software Engineer, *WSO2, Inc http://www.wso2.com.*
Mobile : +94 (0) 712 415544
vi...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Please review the PR for ESBJAVA-2509

2015-05-19 Thread Shakila Sivagnanarajah
Hi Malaka,

I am not using transport.vfs.MoveTimestampFormat. But this property is
missing from UI. So I added. [1] is the new pull request. And I will do
this for axis2.

[1] https://github.com/wso2/carbon-mediation/pull/162

Thank you

On Tue, May 19, 2015 at 9:44 AM, Malaka Silva mal...@wso2.com wrote:

 Hi Shakila,

 Yes Please do so.

 So basically your fix should only include
 transport.vfs.MoveTimestampFormat parameter?

 I guess they are referring to axis2 VFS in the jira. We may need to do the
 same for both. (Inbound and VFS)

 On Tue, May 19, 2015 at 9:28 AM, Shakila Sivagnanarajah shak...@wso2.com
 wrote:

 Hi,

 Yes I have done that with transport.vfs.SubFolderTimestampFormat,
 transport.vfs.CreateFolder parameters only. And added one another
 parameter. But the feature that already written will create only one
 sub-folder with date. But the expected feature from the JIRA is creating
 sub-folders with year, month and date like,

 2013
 09
 29
 File1
 File2
 File3
 30
 File4
 File5
 File6

 So I moderated that accordingly. Can I give the PR again?

 Thank you



 On Tue, May 19, 2015 at 9:06 AM, Malaka Silva mal...@wso2.com wrote:

 Hi Shakila,

 I have reviewed your fix.

 Basically their requirement is to create a folder for the date to move
 the processed file.

 I think we can do the same by using following parameter combination.
 WDYT? We may not need to patch it?

1. transport.vfs.SubFolderTimestampFormat
2. transport.vfs.CreateFolder

 Also observed that the PR you send does not contain the latest from
 develop branch. If we merge this we may loose some commits already done.
 eg:-
 PR says,
 *-file.optional=20*
 +file.optional=23

 But actually in develop branch,
 *file.optional=22*

 On Mon, May 18, 2015 at 12:47 PM, Shakila Sivagnanarajah 
 shak...@wso2.com wrote:

 Hi,

 I added the feature mentioned in ESBJAVA-2509 and added one missing vfs
 parameter. Please find the pull request at [1].

 [1] https://github.com/wso2/carbon-mediation/pull/159/

 Thank you
 --
 Shakila Sivagnanarajah
 Associate Software Engineer
 Mobile :+94 (0) 770 760240
 shak...@wso2.com




 --

 Best Regards,

 Malaka Silva
 Senior Tech Lead
 M: +94 777 219 791
 Tel : 94 11 214 5345
 Fax :94 11 2145300
 Skype : malaka.sampath.silva
 LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
 Blog : http://mrmalakasilva.blogspot.com/

 WSO2, Inc.
 lean . enterprise . middleware
 http://www.wso2.com/
 http://www.wso2.com/about/team/malaka-silva/
 http://wso2.com/about/team/malaka-silva/

 Save a tree -Conserve nature  Save the world for your future. Print
 this email only if it is absolutely necessary.




 --
 Shakila Sivagnanarajah
 Associate Software Engineer
 Mobile :+94 (0) 770 760240
 shak...@wso2.com




 --

 Best Regards,

 Malaka Silva
 Senior Tech Lead
 M: +94 777 219 791
 Tel : 94 11 214 5345
 Fax :94 11 2145300
 Skype : malaka.sampath.silva
 LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
 Blog : http://mrmalakasilva.blogspot.com/

 WSO2, Inc.
 lean . enterprise . middleware
 http://www.wso2.com/
 http://www.wso2.com/about/team/malaka-silva/
 http://wso2.com/about/team/malaka-silva/

 Save a tree -Conserve nature  Save the world for your future. Print this
 email only if it is absolutely necessary.




-- 
Shakila Sivagnanarajah
Associate Software Engineer
Mobile :+94 (0) 770 760240
shak...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [DevStudio] Please review and merge the pull request : TOOLS-2802

2015-05-19 Thread Rajeevan Vimalanathan
Hi,

Please review and merge the pull request[1] that includes fix for JIRA[2].

[1] https://github.com/wso2/cloud-dev-studio/pull/9
[2] https://wso2.org/jira/browse/TOOLS-2802

Thanks,
Rajeevan

-- 

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] Please review and merge PR for APIMANAGER-3595

2015-05-19 Thread Nuwan Dias
Merged in d184f5ff42651f388a48f099031f4712d5e57dd0

On Tue, May 19, 2015 at 2:35 PM, Kasun Gunasekara kas...@wso2.com wrote:

 Hi,

 Please review and merge PR [1] for Jira [2]

 [1] https://github.com/wso2/carbon-apimgt/pull/417
 [2] https://wso2.org/jira/browse/APIMANAGER-3595

 Thank you.

 Kasun Gunasekara
 Software Engineering Intern - WSO2
 Mobile : +94 77 6986482
 Twitter https://twitter.com/KaluMallii | Google+
 https://plus.google.com/+KaZGunasekara/ | LinkedIn
 http://www.linkedin.com/in/kasun32




-- 
Nuwan Dias

Technical Lead - WSO2, Inc. http://wso2.com
email : nuw...@wso2.com
Phone : +94 777 775 729
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Please review and merge PR for APIMANAGER-3573

2015-05-19 Thread Sam Sivayogam
Hi,

Please review and merge PR [1] for Jira [2]
[1] https://github.com/wso2/carbon-apimgt/pull/369
[2] https://wso2.org/jira/browse/APIMANAGER-3573

Thanks,
Sam.
-- 
*Sam Sivayogam*

Software Engineer
Mobile  : +94 772 906 439
Office   : +94 112 145 345
*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] Please review the PR for ESBJAVA-2509

2015-05-19 Thread Shakila Sivagnanarajah
Yes Malaka, we can achieve this feature without additional code change. We
should give the value for transport.vfs.SubFolderTimestampFormat as */*
*MM/dd* rather using other values like EEE MMM dd HH:mm:ss Z . Can
we mention this on documentation. Please find the PR [1].

[1] https://github.com/wso2/carbon-mediation/pull/164/

Thank you.

On Tue, May 19, 2015 at 3:18 PM, Malaka Silva mal...@wso2.com wrote:

 Hi Shakila,

 Yes I agree transport.vfs.MoveTimestampFormat is missing in the UI and
 needs to be added.

 But there is no code fix required to support requirement given in the
 jira. Simple you can achieve this via following.

 transport.vfs.SubFolderTimestampFormat=/MM/dd
 transport.vfs.CreateFolder=true

 WDYT? However i am not sure this is the case for axis2 vfs. If not we may
 have to fix that.

 On Tue, May 19, 2015 at 2:29 PM, Shakila Sivagnanarajah shak...@wso2.com
 wrote:

 Hi Malaka,

 I am not using transport.vfs.MoveTimestampFormat on this feature. But
 VFSConstants.TRANSPORT_FILE_MOVE_TIMESTAMP_FORMAT is used in [1]. There
 is no way to add this property via UI.

 [1]
 https://github.com/Shakila/carbon-mediation/blob/develop/components/inbound-endpoints/org.wso2.carbon.inbound.endpoint/src/main/java/org/wso2/carbon/inbound/endpoint/protocol/file/FilePollingConsumer.java

 Thank you.

 On Tue, May 19, 2015 at 2:23 PM, Malaka Silva mal...@wso2.com wrote:

 Hi Shakila,

 Where are you using transport.vfs.MoveTimestampFormat parameter?

 According to the PR it seems you are giving the functinality
 when transport.vfs.CreateFolder is true.


 - if (strSubfoldertimestamp != null) {+ if(vfsProperties.getProperty(
 VFSConstants.FORCE_CREATE_FOLDER).toLowerCase().equals(true)) {

 On Tue, May 19, 2015 at 2:07 PM, Shakila Sivagnanarajah 
 shak...@wso2.com wrote:

 Hi Malaka,

 I am not using transport.vfs.MoveTimestampFormat. But this property is
 missing from UI. So I added. [1] is the new pull request. And I will do
 this for axis2.

 [1] https://github.com/wso2/carbon-mediation/pull/162

 Thank you

 On Tue, May 19, 2015 at 9:44 AM, Malaka Silva mal...@wso2.com wrote:

 Hi Shakila,

 Yes Please do so.

 So basically your fix should only include
 transport.vfs.MoveTimestampFormat parameter?

 I guess they are referring to axis2 VFS in the jira. We may need to do
 the same for both. (Inbound and VFS)

 On Tue, May 19, 2015 at 9:28 AM, Shakila Sivagnanarajah 
 shak...@wso2.com wrote:

 Hi,

 Yes I have done that with transport.vfs.SubFolderTimestampFormat,
 transport.vfs.CreateFolder parameters only. And added one another
 parameter. But the feature that already written will create only one
 sub-folder with date. But the expected feature from the JIRA is creating
 sub-folders with year, month and date like,

 2013
 09
 29
 File1
 File2
 File3
 30
 File4
 File5
 File6

 So I moderated that accordingly. Can I give the PR again?

 Thank you



 On Tue, May 19, 2015 at 9:06 AM, Malaka Silva mal...@wso2.com
 wrote:

 Hi Shakila,

 I have reviewed your fix.

 Basically their requirement is to create a folder for the date to
 move the processed file.

 I think we can do the same by using following parameter combination.
 WDYT? We may not need to patch it?

1. transport.vfs.SubFolderTimestampFormat
2. transport.vfs.CreateFolder

 Also observed that the PR you send does not contain the latest from
 develop branch. If we merge this we may loose some commits already done.
 eg:-
 PR says,
 *-file.optional=20*
 +file.optional=23

 But actually in develop branch,
 *file.optional=22*

 On Mon, May 18, 2015 at 12:47 PM, Shakila Sivagnanarajah 
 shak...@wso2.com wrote:

 Hi,

 I added the feature mentioned in ESBJAVA-2509 and added one missing
 vfs parameter. Please find the pull request at [1].

 [1] https://github.com/wso2/carbon-mediation/pull/159/

 Thank you
 --
 Shakila Sivagnanarajah
 Associate Software Engineer
 Mobile :+94 (0) 770 760240
 shak...@wso2.com




 --

 Best Regards,

 Malaka Silva
 Senior Tech Lead
 M: +94 777 219 791
 Tel : 94 11 214 5345
 Fax :94 11 2145300
 Skype : malaka.sampath.silva
 LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
 Blog : http://mrmalakasilva.blogspot.com/

 WSO2, Inc.
 lean . enterprise . middleware
 http://www.wso2.com/
 http://www.wso2.com/about/team/malaka-silva/
 http://wso2.com/about/team/malaka-silva/

 Save a tree -Conserve nature  Save the world for your future. Print
 this email only if it is absolutely necessary.




 --
 Shakila Sivagnanarajah
 Associate Software Engineer
 Mobile :+94 (0) 770 760240
 shak...@wso2.com




 --

 Best Regards,

 Malaka Silva
 Senior Tech Lead
 M: +94 777 219 791
 Tel : 94 11 214 5345
 Fax :94 11 2145300
 Skype : malaka.sampath.silva
 LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
 Blog : http://mrmalakasilva.blogspot.com/

 WSO2, Inc.
 lean . enterprise . middleware
 http://www.wso2.com/
 http://www.wso2.com/about/team/malaka-silva/
 http://wso2.com/about/team/malaka-silva/

 Save a 

Re: [Dev] Please review the PR for ESBJAVA-2509

2015-05-19 Thread Malaka Silva
merged

On Tue, May 19, 2015 at 4:30 PM, Shakila Sivagnanarajah shak...@wso2.com
wrote:

 Yes Malaka, we can achieve this feature without additional code change. We
 should give the value for transport.vfs.SubFolderTimestampFormat as 
 */**MM/dd* rather using other values like EEE MMM dd HH:mm:ss Z
 . Can we mention this on documentation. Please find the PR [1].

 [1] https://github.com/wso2/carbon-mediation/pull/164/

 Thank you.

 On Tue, May 19, 2015 at 3:18 PM, Malaka Silva mal...@wso2.com wrote:

 Hi Shakila,

 Yes I agree transport.vfs.MoveTimestampFormat is missing in the UI and
 needs to be added.

 But there is no code fix required to support requirement given in the
 jira. Simple you can achieve this via following.

 transport.vfs.SubFolderTimestampFormat=/MM/dd
 transport.vfs.CreateFolder=true

 WDYT? However i am not sure this is the case for axis2 vfs. If not we may
 have to fix that.

 On Tue, May 19, 2015 at 2:29 PM, Shakila Sivagnanarajah shak...@wso2.com
  wrote:

 Hi Malaka,

 I am not using transport.vfs.MoveTimestampFormat on this feature. But
 VFSConstants.TRANSPORT_FILE_MOVE_TIMESTAMP_FORMAT is used in [1]. There
 is no way to add this property via UI.

 [1]
 https://github.com/Shakila/carbon-mediation/blob/develop/components/inbound-endpoints/org.wso2.carbon.inbound.endpoint/src/main/java/org/wso2/carbon/inbound/endpoint/protocol/file/FilePollingConsumer.java

 Thank you.

 On Tue, May 19, 2015 at 2:23 PM, Malaka Silva mal...@wso2.com wrote:

 Hi Shakila,

 Where are you using transport.vfs.MoveTimestampFormat parameter?

 According to the PR it seems you are giving the functinality
 when transport.vfs.CreateFolder is true.


 - if (strSubfoldertimestamp != null) {+ if(vfsProperties.getProperty(
 VFSConstants.FORCE_CREATE_FOLDER).toLowerCase().equals(true)) {

 On Tue, May 19, 2015 at 2:07 PM, Shakila Sivagnanarajah 
 shak...@wso2.com wrote:

 Hi Malaka,

 I am not using transport.vfs.MoveTimestampFormat. But this property is
 missing from UI. So I added. [1] is the new pull request. And I will do
 this for axis2.

 [1] https://github.com/wso2/carbon-mediation/pull/162

 Thank you

 On Tue, May 19, 2015 at 9:44 AM, Malaka Silva mal...@wso2.com wrote:

 Hi Shakila,

 Yes Please do so.

 So basically your fix should only include
 transport.vfs.MoveTimestampFormat parameter?

 I guess they are referring to axis2 VFS in the jira. We may need to
 do the same for both. (Inbound and VFS)

 On Tue, May 19, 2015 at 9:28 AM, Shakila Sivagnanarajah 
 shak...@wso2.com wrote:

 Hi,

 Yes I have done that with transport.vfs.SubFolderTimestampFormat,
 transport.vfs.CreateFolder parameters only. And added one another
 parameter. But the feature that already written will create only one
 sub-folder with date. But the expected feature from the JIRA is creating
 sub-folders with year, month and date like,

 2013
 09
 29
 File1
 File2
 File3
 30
 File4
 File5
 File6

 So I moderated that accordingly. Can I give the PR again?

 Thank you



 On Tue, May 19, 2015 at 9:06 AM, Malaka Silva mal...@wso2.com
 wrote:

 Hi Shakila,

 I have reviewed your fix.

 Basically their requirement is to create a folder for the date to
 move the processed file.

 I think we can do the same by using following parameter
 combination. WDYT? We may not need to patch it?

1. transport.vfs.SubFolderTimestampFormat
2. transport.vfs.CreateFolder

 Also observed that the PR you send does not contain the latest from
 develop branch. If we merge this we may loose some commits already 
 done.
 eg:-
 PR says,
 *-file.optional=20*
 +file.optional=23

 But actually in develop branch,
 *file.optional=22*

 On Mon, May 18, 2015 at 12:47 PM, Shakila Sivagnanarajah 
 shak...@wso2.com wrote:

 Hi,

 I added the feature mentioned in ESBJAVA-2509 and added one
 missing vfs parameter. Please find the pull request at [1].

 [1] https://github.com/wso2/carbon-mediation/pull/159/

 Thank you
 --
 Shakila Sivagnanarajah
 Associate Software Engineer
 Mobile :+94 (0) 770 760240
 shak...@wso2.com




 --

 Best Regards,

 Malaka Silva
 Senior Tech Lead
 M: +94 777 219 791
 Tel : 94 11 214 5345
 Fax :94 11 2145300
 Skype : malaka.sampath.silva
 LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
 Blog : http://mrmalakasilva.blogspot.com/

 WSO2, Inc.
 lean . enterprise . middleware
 http://www.wso2.com/
 http://www.wso2.com/about/team/malaka-silva/
 http://wso2.com/about/team/malaka-silva/

 Save a tree -Conserve nature  Save the world for your future.
 Print this email only if it is absolutely necessary.




 --
 Shakila Sivagnanarajah
 Associate Software Engineer
 Mobile :+94 (0) 770 760240
 shak...@wso2.com




 --

 Best Regards,

 Malaka Silva
 Senior Tech Lead
 M: +94 777 219 791
 Tel : 94 11 214 5345
 Fax :94 11 2145300
 Skype : malaka.sampath.silva
 LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
 Blog : http://mrmalakasilva.blogspot.com/

 WSO2, Inc.
 lean . enterprise . middleware
 http://www.wso2.com/

[Dev] Please review the PR for ESBJAVA-3384

2015-05-19 Thread Shakila Sivagnanarajah
Hi,

I have fixed the issue ESBJAVA-3384. Please find the PR [1].
[1] https://github.com/wso2/wso2-synapse/pull/199

Thank you

-- 
Shakila Sivagnanarajah
Associate Software Engineer
Mobile :+94 (0) 770 760240
shak...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Web app class loading issue

2015-05-19 Thread Geeth Munasinghe
Hi Kernel Team,

This is critical issue for us to continue development. Please consider this
as a urgent matter.

Thanks
Geeth


*G. K. S. Munasinghe*
*Senior Software Engineer,*
*WSO2, Inc. http://wso2.com http://wso2.com/ *
*lean.enterprise.middleware.*

email: ge...@wso2.com
phone:(+94) 777911226

On Tue, May 19, 2015 at 3:50 PM, Geeth Munasinghe ge...@wso2.com wrote:

 Hi all,

 I am getting the following CNF error intermittently. MDM is built on
 kernel 4.4.0.

  As I remember we got this issue for kernel 4.3.0, but it was fixed by a
 tomcat patch. Seems the same CNF error is happening on kernel 4.4.0 too.



 /wso2mdm-2.0.0-SNAPSHOT/repository/deployment/server/webapps/mdm-windows-agent.war]

 [2015-05-19 15:29:17,619]  INFO
 {org.springframework.web.context.support.XmlWebApplicationContext} -
 Refreshing Root WebApplicationContext: startup date [Tue May 19 15:29:17
 IST 2015]; root of context hierarchy

 [2015-05-19 15:29:17,651]  INFO
 {org.springframework.beans.factory.xml.XmlBeanDefinitionReader} -  Loading
 XML bean definitions from class path resource [META-INF/cxf/cxf.xml]

 [2015-05-19 15:29:17,676]  INFO
 {org.springframework.beans.factory.xml.XmlBeanDefinitionReader} -  Loading
 XML bean definitions from URL
 [jndi:/localhost/oauth2/WEB-INF/cxf-servlet.xml]

 [2015-05-19 15:29:17,745]  INFO
 {org.springframework.beans.factory.support.DefaultListableBeanFactory} -
 Pre-instantiating singletons in
 org.springframework.beans.factory.support.DefaultListableBeanFactory@787dc93c:
 defining beans
 [cxf,org.apache.cxf.bus.spring.BusWiringBeanFactoryPostProcessor,org.apache.cxf.bus.spring.Jsr250BeanPostProcessor,org.apache.cxf.bus.spring.BusExtensionPostProcessor,tokEP,authzEndpointBean,tokenEndpointBean,revokeEndpointBean,userinfoEndpointBean];
 root of factory hierarchy

 [2015-05-19 15:29:17,899]  INFO
 {org.springframework.beans.factory.support.DefaultListableBeanFactory} -
 Destroying singletons in
 org.springframework.beans.factory.support.DefaultListableBeanFactory@787dc93c:
 defining beans
 [cxf,org.apache.cxf.bus.spring.BusWiringBeanFactoryPostProcessor,org.apache.cxf.bus.spring.Jsr250BeanPostProcessor,org.apache.cxf.bus.spring.BusExtensionPostProcessor,tokEP,authzEndpointBean,tokenEndpointBean,revokeEndpointBean,userinfoEndpointBean];
 root of factory hierarchy

 [2015-05-19 15:29:17,901] ERROR
 {org.apache.catalina.core.ApplicationContext} -  StandardWrapper.Throwable

 org.springframework.beans.factory.BeanCreationException: Error creating
 bean with name 'tokEP': Cannot resolve reference to bean
 'authzEndpointBean' while setting bean property 'serviceBeans' with key
 [0]; nested exception is
 org.springframework.beans.factory.BeanCreationException: Error creating
 bean with name 'authzEndpointBean' defined in URL
 [jndi:/localhost/oauth2/WEB-INF/cxf-servlet.xml]: Instantiation of bean
 failed; nested exception is java.lang.NoClassDefFoundError:
 org/wso2/carbon/identity/oauth/cache/CacheKey

 at
 org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)

 at
 org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)

 at
 org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueResolver.java:353)

 at
 org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:153)

 at
 org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1327)

 at
 org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1085)

 at
 org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:516)

 at
 org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:455)

 at
 org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)

 at
 org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)

 at
 org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)

 at
 org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:192)

 at
 org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585)

 at
 org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)

 at
 org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)

 at
 

[Dev] Method to secure data service deployed in cloud

2015-05-19 Thread Sabra Ossen
Hi All,

I have deployed a data service in WSO2 cloud and I want to secure it (A
simple UsernameToken authentication would suffice).
I am able to secure a data service deployed in DSS using the management
console but since I have deployed the data service using WSO2 AF I have
trouble in securing the data service.

Is anyone aware of a method to secure the data service using either AF or
any other methodology. I highly appreciate any input on $subject.

Thanks in advance.
-- 
Sabra Ossen http://lk.linkedin.com/in/sabraossen
Undergraduate | Department of Computer Science and Engineering
University of Moratuwa
Sri Lanka
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Please review the PR for ESBJAVA-2509

2015-05-19 Thread Malaka Silva
Hi Shakila,

Yes I agree transport.vfs.MoveTimestampFormat is missing in the UI and
needs to be added.

But there is no code fix required to support requirement given in the jira.
Simple you can achieve this via following.

transport.vfs.SubFolderTimestampFormat=/MM/dd
transport.vfs.CreateFolder=true

WDYT? However i am not sure this is the case for axis2 vfs. If not we may
have to fix that.

On Tue, May 19, 2015 at 2:29 PM, Shakila Sivagnanarajah shak...@wso2.com
wrote:

 Hi Malaka,

 I am not using transport.vfs.MoveTimestampFormat on this feature. But
 VFSConstants.TRANSPORT_FILE_MOVE_TIMESTAMP_FORMAT is used in [1]. There
 is no way to add this property via UI.

 [1]
 https://github.com/Shakila/carbon-mediation/blob/develop/components/inbound-endpoints/org.wso2.carbon.inbound.endpoint/src/main/java/org/wso2/carbon/inbound/endpoint/protocol/file/FilePollingConsumer.java

 Thank you.

 On Tue, May 19, 2015 at 2:23 PM, Malaka Silva mal...@wso2.com wrote:

 Hi Shakila,

 Where are you using transport.vfs.MoveTimestampFormat parameter?

 According to the PR it seems you are giving the functinality
 when transport.vfs.CreateFolder is true.


 - if (strSubfoldertimestamp != null) {+ if(vfsProperties.getProperty(
 VFSConstants.FORCE_CREATE_FOLDER).toLowerCase().equals(true)) {

 On Tue, May 19, 2015 at 2:07 PM, Shakila Sivagnanarajah shak...@wso2.com
  wrote:

 Hi Malaka,

 I am not using transport.vfs.MoveTimestampFormat. But this property is
 missing from UI. So I added. [1] is the new pull request. And I will do
 this for axis2.

 [1] https://github.com/wso2/carbon-mediation/pull/162

 Thank you

 On Tue, May 19, 2015 at 9:44 AM, Malaka Silva mal...@wso2.com wrote:

 Hi Shakila,

 Yes Please do so.

 So basically your fix should only include
 transport.vfs.MoveTimestampFormat parameter?

 I guess they are referring to axis2 VFS in the jira. We may need to do
 the same for both. (Inbound and VFS)

 On Tue, May 19, 2015 at 9:28 AM, Shakila Sivagnanarajah 
 shak...@wso2.com wrote:

 Hi,

 Yes I have done that with transport.vfs.SubFolderTimestampFormat,
 transport.vfs.CreateFolder parameters only. And added one another
 parameter. But the feature that already written will create only one
 sub-folder with date. But the expected feature from the JIRA is creating
 sub-folders with year, month and date like,

 2013
 09
 29
 File1
 File2
 File3
 30
 File4
 File5
 File6

 So I moderated that accordingly. Can I give the PR again?

 Thank you



 On Tue, May 19, 2015 at 9:06 AM, Malaka Silva mal...@wso2.com wrote:

 Hi Shakila,

 I have reviewed your fix.

 Basically their requirement is to create a folder for the date to
 move the processed file.

 I think we can do the same by using following parameter combination.
 WDYT? We may not need to patch it?

1. transport.vfs.SubFolderTimestampFormat
2. transport.vfs.CreateFolder

 Also observed that the PR you send does not contain the latest from
 develop branch. If we merge this we may loose some commits already done.
 eg:-
 PR says,
 *-file.optional=20*
 +file.optional=23

 But actually in develop branch,
 *file.optional=22*

 On Mon, May 18, 2015 at 12:47 PM, Shakila Sivagnanarajah 
 shak...@wso2.com wrote:

 Hi,

 I added the feature mentioned in ESBJAVA-2509 and added one missing
 vfs parameter. Please find the pull request at [1].

 [1] https://github.com/wso2/carbon-mediation/pull/159/

 Thank you
 --
 Shakila Sivagnanarajah
 Associate Software Engineer
 Mobile :+94 (0) 770 760240
 shak...@wso2.com




 --

 Best Regards,

 Malaka Silva
 Senior Tech Lead
 M: +94 777 219 791
 Tel : 94 11 214 5345
 Fax :94 11 2145300
 Skype : malaka.sampath.silva
 LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
 Blog : http://mrmalakasilva.blogspot.com/

 WSO2, Inc.
 lean . enterprise . middleware
 http://www.wso2.com/
 http://www.wso2.com/about/team/malaka-silva/
 http://wso2.com/about/team/malaka-silva/

 Save a tree -Conserve nature  Save the world for your future. Print
 this email only if it is absolutely necessary.




 --
 Shakila Sivagnanarajah
 Associate Software Engineer
 Mobile :+94 (0) 770 760240
 shak...@wso2.com




 --

 Best Regards,

 Malaka Silva
 Senior Tech Lead
 M: +94 777 219 791
 Tel : 94 11 214 5345
 Fax :94 11 2145300
 Skype : malaka.sampath.silva
 LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
 Blog : http://mrmalakasilva.blogspot.com/

 WSO2, Inc.
 lean . enterprise . middleware
 http://www.wso2.com/
 http://www.wso2.com/about/team/malaka-silva/
 http://wso2.com/about/team/malaka-silva/

 Save a tree -Conserve nature  Save the world for your future. Print
 this email only if it is absolutely necessary.




 --
 Shakila Sivagnanarajah
 Associate Software Engineer
 Mobile :+94 (0) 770 760240
 shak...@wso2.com




 --

 Best Regards,

 Malaka Silva
 Senior Tech Lead
 M: +94 777 219 791
 Tel : 94 11 214 5345
 Fax :94 11 2145300
 Skype : malaka.sampath.silva
 LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
 Blog 

[Dev] Please review and merge PR for IDENTITY-2908

2015-05-19 Thread Nuwandi Wickramasinghe
Hi,
the fix for [1] can be found in [2]

[1] https://wso2.org/jira/browse/IDENTITY-2908
[2] https://github.com/wso2/carbon-identity/pull/306
-- 

Best Regards,

Nuwandi Wickramasinghe

Software Engineer

WSO2 Inc.

Web : http://wso2.com

Mobile : 0719214873
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Delete an unnamed FK from H2, MYSQL, MSSQL, Oracle and PostgreSQL

2015-05-19 Thread Madusanka Premaratne
Hi all,
Finally I cam up with the following solution for H2, because it is not
possible to retrieve and in a single query/sub query.

SELECT DISTINCT constraint_name FROM information_schema.constraints WHERE
table_name = 'YOUR_TABLE_NAME';
then use the  constraint_name and build the query to alter the table as
follows
ALTER TABLE AM_APP_KEY_DOMAIN_MAPPING DROP CONSTRAINT
key_name_from_previous_query;

In H2 all the constraints are in information_schema.constraints, but in
mysql those are in information_schema.REFERENTIAL_CONSTRAINTS

Thanks,
Madusanka

On Tue, May 19, 2015 at 9:45 AM, Madusanka Premaratne madusan...@wso2.com
wrote:

 Hi Thusitha,
 I tried the subquery approach before but it does not get the identifier
 properly from the sub query. When I run the subquery only, it shows me the
 constraint name. But when it comes to the main query, it does not get the
 identifier.

 Hi Madhuranga,
 Thanks for the reply, but the approach has a few problems. When the table
 contains large number of record sets, this operation will take time and if
 one query fails I may lose all my data.

 Regards,
 Madusanka

 On Mon, May 18, 2015 at 6:18 PM, Madhuranga Bandara madhura...@wso2.com
 wrote:

 Hi Madushanka,

 This article [1] provides the step by step explanation on how to solve
 this kind of issue.
 Hope this is helpful.

 [1] http://www.briskbee.com/posts/changing_unnamed_constraints_in_play_


 *Madhuranga Sampath Bandara*
 Software Engineer

 WSO2, Inc.;http://wso2.com/
 http://www.google.com/url?q=http%3A%2F%2Fwso2.com%2Fsa=Dsntz=1usg=AFQjCNGJuLRux6KkJwXKVUCYOtEsNCmIAQ
 lean.enterprise.middleware
 Mobile: +94722241065

 On Mon, May 18, 2015 at 5:52 PM, Madusanka Premaratne 
 madusan...@wso2.com wrote:

 Hi Devs,
 I need to perform a SQL table alteration to remove a foreign key which
 is unnamed. As per my findings it is possible to find the automatically
 assigned constraint name in mysql by using *information_schema* table
 [1]

 Also it is possible in mssql[2] and oracle[3]

 [1] -
 http://stackoverflow.com/questions/13856946/drop-unnamed-foreign-key-in-mysql
 [2] - http://www.intergr8it.net/?p=19
 [3] -
 http://stackoverflow.com/questions/9008445/drop-index-or-constraint-without-knowing-its-name-for-oracle

 I tried to add a name to the existing constraint by altering the table,
 but it adds a new constraint with the given name.

 Is there a way to do the same in H2/ any other way to delete
 the constraint?

 Can someone advice me to do this.?

 Thanks in advance.
 Madusanka



 --
 *Madusanka Premaratne* | Associate Software Engineer
 WSO2, Inc | lean. enterprise. middleware.
 #20, Palm Grove, Colombo 03, Sri Lanka
 Mobile: +94 71 835 70 73| Work: +94 112 145 345
 Email: madusan...@wso2.com | Web: www.wso2.com

 [image: Facebook] https://www.facebook.com/maduzanka [image: Twitter]
 https://twitter.com/rmmpremaratne [image: Google Plus]
 https://plus.google.com/u/0/+MadusankaPremaratnemaduz/about/p/pub [image:
 Linkedin] http://lk.linkedin.com/in/madusanka/ [image: Instagram]
 http://instagram.com/madusankapremaratne [image: Skype]
 http://@rmmpremaratne


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev





 --
 *Madusanka Premaratne* | Associate Software Engineer
 WSO2, Inc | lean. enterprise. middleware.
 #20, Palm Grove, Colombo 03, Sri Lanka
 Mobile: +94 71 835 70 73| Work: +94 112 145 345
 Email: madusan...@wso2.com | Web: www.wso2.com

 [image: Facebook] https://www.facebook.com/maduzanka [image: Twitter]
 https://twitter.com/rmmpremaratne [image: Google Plus]
 https://plus.google.com/u/0/+MadusankaPremaratnemaduz/about/p/pub [image:
 Linkedin] http://lk.linkedin.com/in/madusanka/ [image: Instagram]
 http://instagram.com/madusankapremaratne [image: Skype]
 http://@rmmpremaratne




-- 
*Madusanka Premaratne* | Associate Software Engineer
WSO2, Inc | lean. enterprise. middleware.
#20, Palm Grove, Colombo 03, Sri Lanka
Mobile: +94 71 835 70 73| Work: +94 112 145 345
Email: madusan...@wso2.com | Web: www.wso2.com

[image: Facebook] https://www.facebook.com/maduzanka [image: Twitter]
https://twitter.com/rmmpremaratne [image: Google Plus]
https://plus.google.com/u/0/+MadusankaPremaratnemaduz/about/p/pub [image:
Linkedin] http://lk.linkedin.com/in/madusanka/ [image: Instagram]
http://instagram.com/madusankapremaratne [image: Skype]
http://@rmmpremaratne
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [BPS] Please review and merge the PR

2015-05-19 Thread Samuel Gnaniah
​Resolved this doc JIRA.

Thanks,

*Samuel Gnaniah*
Lead Technical Writer

WSO2 (pvt.) Ltd.
Colombo, Sri Lanka
(+94) 773131798

On Mon, May 11, 2015 at 2:12 PM, Shiva Balachandran sh...@wso2.com wrote:

 Hi,

 Please review and merge the PR[1] for JIRA [2]. Find the respective
 documentation amendments in JIRA[3].

 [1] - https://github.com/wso2/carbon-business-process/pull/43
 [2] - https://wso2.org/jira/browse/BPS-473
 [3] - https://wso2.org/jira/browse/DOCUMENTATION-1704


 --
 Shiva Balachandran
 Software Engineer
 WSO2 Inc.

 Mobile - +94 774445788
 Blog - https://shivabalachandran.wordpress.com/

___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Web app class loading issue

2015-05-19 Thread Geeth Munasinghe
Hi all,

I am getting the following CNF error intermittently. MDM is built on kernel
4.4.0.

 As I remember we got this issue for kernel 4.3.0, but it was fixed by a
tomcat patch. Seems the same CNF error is happening on kernel 4.4.0 too.


/wso2mdm-2.0.0-SNAPSHOT/repository/deployment/server/webapps/mdm-windows-agent.war]

[2015-05-19 15:29:17,619]  INFO
{org.springframework.web.context.support.XmlWebApplicationContext} -
Refreshing Root WebApplicationContext: startup date [Tue May 19 15:29:17
IST 2015]; root of context hierarchy

[2015-05-19 15:29:17,651]  INFO
{org.springframework.beans.factory.xml.XmlBeanDefinitionReader} -  Loading
XML bean definitions from class path resource [META-INF/cxf/cxf.xml]

[2015-05-19 15:29:17,676]  INFO
{org.springframework.beans.factory.xml.XmlBeanDefinitionReader} -  Loading
XML bean definitions from URL
[jndi:/localhost/oauth2/WEB-INF/cxf-servlet.xml]

[2015-05-19 15:29:17,745]  INFO
{org.springframework.beans.factory.support.DefaultListableBeanFactory} -
Pre-instantiating singletons in
org.springframework.beans.factory.support.DefaultListableBeanFactory@787dc93c:
defining beans
[cxf,org.apache.cxf.bus.spring.BusWiringBeanFactoryPostProcessor,org.apache.cxf.bus.spring.Jsr250BeanPostProcessor,org.apache.cxf.bus.spring.BusExtensionPostProcessor,tokEP,authzEndpointBean,tokenEndpointBean,revokeEndpointBean,userinfoEndpointBean];
root of factory hierarchy

[2015-05-19 15:29:17,899]  INFO
{org.springframework.beans.factory.support.DefaultListableBeanFactory} -
Destroying singletons in
org.springframework.beans.factory.support.DefaultListableBeanFactory@787dc93c:
defining beans
[cxf,org.apache.cxf.bus.spring.BusWiringBeanFactoryPostProcessor,org.apache.cxf.bus.spring.Jsr250BeanPostProcessor,org.apache.cxf.bus.spring.BusExtensionPostProcessor,tokEP,authzEndpointBean,tokenEndpointBean,revokeEndpointBean,userinfoEndpointBean];
root of factory hierarchy

[2015-05-19 15:29:17,901] ERROR
{org.apache.catalina.core.ApplicationContext} -  StandardWrapper.Throwable

org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'tokEP': Cannot resolve reference to bean
'authzEndpointBean' while setting bean property 'serviceBeans' with key
[0]; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'authzEndpointBean' defined in URL
[jndi:/localhost/oauth2/WEB-INF/cxf-servlet.xml]: Instantiation of bean
failed; nested exception is java.lang.NoClassDefFoundError:
org/wso2/carbon/identity/oauth/cache/CacheKey

at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)

at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)

at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueResolver.java:353)

at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:153)

at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1327)

at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1085)

at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:516)

at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:455)

at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)

at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)

at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)

at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:192)

at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585)

at
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)

at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)

at
org.apache.cxf.transport.servlet.CXFServlet.createSpringContext(CXFServlet.java:160)

at org.apache.cxf.transport.servlet.CXFServlet.loadBus(CXFServlet.java:74)

at
org.apache.cxf.transport.servlet.CXFNonSpringServlet.init(CXFNonSpringServlet.java:71)

at
org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1284)

at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1197)

at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1087)

at

Re: [Dev] Please review and merge the PR

2015-05-19 Thread Nandika Jayawardana
Merged

Nandika

On Tue, May 19, 2015 at 3:05 PM, Vinod Kavinda vi...@wso2.com wrote:

 Hi,
 Please review and merge the PR[1] for issue [2].

 [1] - https://github.com/wso2/carbon-business-process/pull/52
 [2] - https://wso2.org/jira/browse/BPS-460

 Regards,
 Vinod Kavinda
 --
 Vinod Kavinda
 Software Engineer, *WSO2, Inc http://www.wso2.com.*
 Mobile : +94 (0) 712 415544
 vi...@wso2.com

 ___
 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] MQTT Axis2 Transport

2015-05-19 Thread Sriashalya Srivathsan
looping to dev

On Tue, May 19, 2015 at 2:32 PM, Sriashalya Srivathsan asha...@wso2.com
wrote:

 Hi Chanaka,
 I've configured and setup mqtt axis2 transport through ESB with mosquito
 broker.
  But when I send one message from client, ESB listens bunch of messages
 and send those to broker.I'm looking on that.


 Thank you,

 On Mon, May 18, 2015 at 12:18 PM, Kasun Indrasiri ka...@wso2.com wrote:


 Hi Sriashalya,

 Can you try debugging the code and see why it is not working..
 In general, if you encounter any issues with ESB, the best thing is to
 debug and find out why its isn't working as expected. :)



 -- Forwarded message --
 From: Sriashalya Srivathsan asha...@wso2.com
 Date: Mon, May 18, 2015 at 12:12 PM
 Subject: [Dev] MQTT Axis2 Transport
 To: Chanaka Fernando chana...@wso2.com, WSO2 Developers' List 
 dev@wso2.org


 Hi Chanaka,
 I have tried $ subject with Mosquito broker.


- I've started the subscriber by following command

 mosquitto_sub -h 127.0.0.1 -t topic


- have made all the required changes to ESB.
- started the publisher through Java Client

 But I don't get any thing in the ESB console and subscriber console.



 --
 Regards
 S.Sriashalya,
 WSO2 *Inc*.
 lean . enterprise . middleware

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Kasun Indrasiri
 Software Architect
 WSO2, Inc.; http://wso2.com
 lean.enterprise.middleware

 cell: +94 77 556 5206
 Blog : http://kasunpanorama.blogspot.com/




 --
 Regards
 S.Sriashalya,
 WSO2 *Inc*.
 lean . enterprise . middleware




-- 
Regards
S.Sriashalya,
WSO2 *Inc*.
lean . enterprise . middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Web app class loading issue

2015-05-19 Thread Supun Malinga
Hi Geeth,

There is a workaround suggested in [Dev] [Urgent] [Greg] - Error when
server start up thread. So you may try that until this is properly fixed..

thanks,

On Tue, May 19, 2015 at 4:35 PM, Geeth Munasinghe ge...@wso2.com wrote:

 Hi Kernel Team,

 This is critical issue for us to continue development. Please consider
 this as a urgent matter.

 Thanks
 Geeth


 *G. K. S. Munasinghe*
 *Senior Software Engineer,*
 *WSO2, Inc. http://wso2.com http://wso2.com/ *
 *lean.enterprise.middleware.*

 email: ge...@wso2.com
 phone:(+94) 777911226

 On Tue, May 19, 2015 at 3:50 PM, Geeth Munasinghe ge...@wso2.com wrote:

 Hi all,

 I am getting the following CNF error intermittently. MDM is built on
 kernel 4.4.0.

  As I remember we got this issue for kernel 4.3.0, but it was fixed by a
 tomcat patch. Seems the same CNF error is happening on kernel 4.4.0 too.



 /wso2mdm-2.0.0-SNAPSHOT/repository/deployment/server/webapps/mdm-windows-agent.war]

 [2015-05-19 15:29:17,619]  INFO
 {org.springframework.web.context.support.XmlWebApplicationContext} -
 Refreshing Root WebApplicationContext: startup date [Tue May 19 15:29:17
 IST 2015]; root of context hierarchy

 [2015-05-19 15:29:17,651]  INFO
 {org.springframework.beans.factory.xml.XmlBeanDefinitionReader} -  Loading
 XML bean definitions from class path resource [META-INF/cxf/cxf.xml]

 [2015-05-19 15:29:17,676]  INFO
 {org.springframework.beans.factory.xml.XmlBeanDefinitionReader} -  Loading
 XML bean definitions from URL
 [jndi:/localhost/oauth2/WEB-INF/cxf-servlet.xml]

 [2015-05-19 15:29:17,745]  INFO
 {org.springframework.beans.factory.support.DefaultListableBeanFactory} -
 Pre-instantiating singletons in
 org.springframework.beans.factory.support.DefaultListableBeanFactory@787dc93c:
 defining beans
 [cxf,org.apache.cxf.bus.spring.BusWiringBeanFactoryPostProcessor,org.apache.cxf.bus.spring.Jsr250BeanPostProcessor,org.apache.cxf.bus.spring.BusExtensionPostProcessor,tokEP,authzEndpointBean,tokenEndpointBean,revokeEndpointBean,userinfoEndpointBean];
 root of factory hierarchy

 [2015-05-19 15:29:17,899]  INFO
 {org.springframework.beans.factory.support.DefaultListableBeanFactory} -
 Destroying singletons in
 org.springframework.beans.factory.support.DefaultListableBeanFactory@787dc93c:
 defining beans
 [cxf,org.apache.cxf.bus.spring.BusWiringBeanFactoryPostProcessor,org.apache.cxf.bus.spring.Jsr250BeanPostProcessor,org.apache.cxf.bus.spring.BusExtensionPostProcessor,tokEP,authzEndpointBean,tokenEndpointBean,revokeEndpointBean,userinfoEndpointBean];
 root of factory hierarchy

 [2015-05-19 15:29:17,901] ERROR
 {org.apache.catalina.core.ApplicationContext} -  StandardWrapper.Throwable

 org.springframework.beans.factory.BeanCreationException: Error creating
 bean with name 'tokEP': Cannot resolve reference to bean
 'authzEndpointBean' while setting bean property 'serviceBeans' with key
 [0]; nested exception is
 org.springframework.beans.factory.BeanCreationException: Error creating
 bean with name 'authzEndpointBean' defined in URL
 [jndi:/localhost/oauth2/WEB-INF/cxf-servlet.xml]: Instantiation of bean
 failed; nested exception is java.lang.NoClassDefFoundError:
 org/wso2/carbon/identity/oauth/cache/CacheKey

 at
 org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)

 at
 org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)

 at
 org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueResolver.java:353)

 at
 org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:153)

 at
 org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1327)

 at
 org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1085)

 at
 org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:516)

 at
 org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:455)

 at
 org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)

 at
 org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)

 at
 org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)

 at
 org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:192)

 at
 org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585)

 at
 

Re: [Dev] Web app class loading issue

2015-05-19 Thread Sameera Jayasoma
Hi Geeth,

Why do you held the kernel team responsible for this issue?

Thanks,
Sameera.

On Tue, May 19, 2015 at 4:35 PM, Geeth Munasinghe ge...@wso2.com wrote:

 Hi Kernel Team,

 This is critical issue for us to continue development. Please consider
 this as a urgent matter.

 Thanks
 Geeth


 *G. K. S. Munasinghe*
 *Senior Software Engineer,*
 *WSO2, Inc. http://wso2.com http://wso2.com/ *
 *lean.enterprise.middleware.*

 email: ge...@wso2.com
 phone:(+94) 777911226

 On Tue, May 19, 2015 at 3:50 PM, Geeth Munasinghe ge...@wso2.com wrote:

 Hi all,

 I am getting the following CNF error intermittently. MDM is built on
 kernel 4.4.0.

  As I remember we got this issue for kernel 4.3.0, but it was fixed by a
 tomcat patch. Seems the same CNF error is happening on kernel 4.4.0 too.



 /wso2mdm-2.0.0-SNAPSHOT/repository/deployment/server/webapps/mdm-windows-agent.war]

 [2015-05-19 15:29:17,619]  INFO
 {org.springframework.web.context.support.XmlWebApplicationContext} -
 Refreshing Root WebApplicationContext: startup date [Tue May 19 15:29:17
 IST 2015]; root of context hierarchy

 [2015-05-19 15:29:17,651]  INFO
 {org.springframework.beans.factory.xml.XmlBeanDefinitionReader} -  Loading
 XML bean definitions from class path resource [META-INF/cxf/cxf.xml]

 [2015-05-19 15:29:17,676]  INFO
 {org.springframework.beans.factory.xml.XmlBeanDefinitionReader} -  Loading
 XML bean definitions from URL
 [jndi:/localhost/oauth2/WEB-INF/cxf-servlet.xml]

 [2015-05-19 15:29:17,745]  INFO
 {org.springframework.beans.factory.support.DefaultListableBeanFactory} -
 Pre-instantiating singletons in
 org.springframework.beans.factory.support.DefaultListableBeanFactory@787dc93c:
 defining beans
 [cxf,org.apache.cxf.bus.spring.BusWiringBeanFactoryPostProcessor,org.apache.cxf.bus.spring.Jsr250BeanPostProcessor,org.apache.cxf.bus.spring.BusExtensionPostProcessor,tokEP,authzEndpointBean,tokenEndpointBean,revokeEndpointBean,userinfoEndpointBean];
 root of factory hierarchy

 [2015-05-19 15:29:17,899]  INFO
 {org.springframework.beans.factory.support.DefaultListableBeanFactory} -
 Destroying singletons in
 org.springframework.beans.factory.support.DefaultListableBeanFactory@787dc93c:
 defining beans
 [cxf,org.apache.cxf.bus.spring.BusWiringBeanFactoryPostProcessor,org.apache.cxf.bus.spring.Jsr250BeanPostProcessor,org.apache.cxf.bus.spring.BusExtensionPostProcessor,tokEP,authzEndpointBean,tokenEndpointBean,revokeEndpointBean,userinfoEndpointBean];
 root of factory hierarchy

 [2015-05-19 15:29:17,901] ERROR
 {org.apache.catalina.core.ApplicationContext} -  StandardWrapper.Throwable

 org.springframework.beans.factory.BeanCreationException: Error creating
 bean with name 'tokEP': Cannot resolve reference to bean
 'authzEndpointBean' while setting bean property 'serviceBeans' with key
 [0]; nested exception is
 org.springframework.beans.factory.BeanCreationException: Error creating
 bean with name 'authzEndpointBean' defined in URL
 [jndi:/localhost/oauth2/WEB-INF/cxf-servlet.xml]: Instantiation of bean
 failed; nested exception is java.lang.NoClassDefFoundError:
 org/wso2/carbon/identity/oauth/cache/CacheKey

 at
 org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)

 at
 org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)

 at
 org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueResolver.java:353)

 at
 org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:153)

 at
 org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1327)

 at
 org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1085)

 at
 org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:516)

 at
 org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:455)

 at
 org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)

 at
 org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)

 at
 org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)

 at
 org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:192)

 at
 org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585)

 at
 org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)

 at
 

[Dev] Please Review and Merge

2015-05-19 Thread Shiva Balachandran
Hi,

The fix for the JIRA[1] is in the latest commit in PR[2]. Please review and
merge.

[1] - https://wso2.org/jira/browse/BPS-659
[2] - https://github.com/wso2/product-bps/pull/31

Thank you.

Regards,
-- 
Shiva Balachandran
Software Engineer
WSO2 Inc.

Mobile - +94 774445788
Blog - https://shivabalachandran.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Displaying claimable user tasks in BPMN explorer

2015-05-19 Thread Shiva Balachandran
Hi All,

I have completed the UI, the issue at hand is that we are unable to
retrieve the tasks that are assigned with candidateUser. We are currently
retrieving the tasks for candidateGroups. As per our offline discussion
Amal, i changed the activiti version to 5.17 and built the product, still
the issue persists.

I tried debugging with the Activiti source code but the debug points are
not hit

Thank you.

Regards,
Shiva Balachandran


On Fri, May 15, 2015 at 11:51 AM, Shiva Balachandran sh...@wso2.com wrote:

 Hi Chathura, Amal,

 I have created the Claimable Task View. Should we create another view for
 the task similar to inbox task view where the user can view the task
 information before claiming, or shall we just add another button to the
 claimable task view to claim the task. Currently i'm displaying the task id
 and the task name in the claimable task view. I have attached a screenshot
 of the view.

 Thank you.
 Regards,
 Shiva Balachandran

 On Thu, May 14, 2015 at 5:04 PM, Shiva Balachandran sh...@wso2.com
 wrote:

 Hi All,

 I got the candidateGroups working. The url query parameter
 candidateUser throws the following error[1].

 [1] - {errorMessage:The server encountered an unexpected condition
 which prevented it from fulfilling the request,statusCode:500}

 Thank you.

 Regards,
 Shiva Balachandran


 On Thu, May 14, 2015 at 3:44 PM, Shiva Balachandran sh...@wso2.com
 wrote:

 Hi Amal,

 I tried out the above. The issue with the above is that the url
 parameter is wrong. it should be candidateUser, when we use candidateUsers,
 this returns all tasks, hence the json reponse we got. When i use the
 correct urlParameter i get the following error[1].

 Also, I tried with candidateGroup and candidateGroups, this too didnt
 work, no response was populated. I tried invoking through soapUI as well.

 i have attached herewith the model class for the claimable task.

 I have finished with the UI, just need to populate the claimable task, i
 was thinking of re-using the re-assign button in the inbox view to claim
 the task as the functionality is the same. Let me know if that is okay or
 should we re write a specific block for to claim a task.

 [1] - {errorMessage:The server encountered an unexpected condition
 which prevented it from fulfilling the request,statusCode:500}

 Thank you.

 Regards, Shiva Balachandran

 On Tue, May 12, 2015 at 7:32 PM, Amal Gunatilake am...@wso2.com wrote:

 Hi Shiva,

 Send the request with the parameter candidateUsers:
 https://locaohst:9443/bpmn/runtime/tasks?candidateUsers=kermit

 More info regarding the parameters are mentioned in the Activiti user
 guide under *Table 111. List of tasks - URL query parameters*
 http://www.activiti.org/userguide/#_tasks_2

 Regards,
 Amal

 On Tue, May 12, 2015 at 6:36 PM, Shiva Balachandran sh...@wso2.com
 wrote:

 Hi All,

 I deployed a process containing user tasks with candidate users and
 cadidate groups. Once i deployed these processes in the server, i created
 instances of the task. I used the rest API to check if the task are 
 created
 and i noticed that the json returned doesn't have the candidate properties
 specified in the process. Without these properties we cannot differentiate
 or address these task to a user, these will be hidden. I have attached the
 .bar file and the json response from the server for the request[1]. This
 would be the reason for JIRA[2].

 We need to identify as to why these properties are not listed or
 ignored.

 [1] - http://localhost:9763/bpmn/runtime/tasks
 [2] - https://wso2.org/jira/browse/BPS-656

 Thank you.

 Regards,
 Shiva Balachandran

 On Tue, May 12, 2015 at 11:32 AM, Amal Gunatilake am...@wso2.com
 wrote:

 Hi Shiva,

 I have created a sample icon that matches with the existing icons
 which can be used for the new Claimable tasks tab.

 Best regards,
 Amal.

 On Tue, May 12, 2015 at 11:29 AM, Shiva Balachandran sh...@wso2.com
 wrote:

 Hi Firzhan,

 The tab we currently have is My Tasks view only, we will be
 introducing the claimable tasks tab for the above mentioned requirement.
 The queued and involved tabs are what is present in the acitviti 
 explorer
 from activiti.

 Thank you.

 Regards,
 Shiva Balachandran

 On Tue, May 12, 2015 at 11:22 AM, Firzhan Naqash firz...@wso2.com
 wrote:

 Hi All,

 Just for clarification, if we are going to move the claimable tasks
 to a separate tab, then we will be utilising the both involved and
 claimable tabs.

 Can I know the necessity of using queued tab in this scenario.


 Regards,
 Firzhan

 On Tue, May 12, 2015 at 12:40 AM, Shiva Balachandran 
 sh...@wso2.com wrote:

 Hi Amal,

 Also, to add to that, i just deployed a process with tasks
 containing candidate users and a candidate group. The users cannot see
 these tasks listed anywhere in the BPMN Explorer. I checked the 
 backend the
 explorer has the necessary jag code to populate these in the My Tasks 
 view,
 will debug further. JIRA[1] has been created previously to track 

Re: [Dev] App Manager Release 1.0.0 - QA Plan changes

2015-05-19 Thread Ruwan Abeykoon
Hi Nuwan,

 8. Issues when using non-internal roles (
https://wso2.org/jira/browse/APPM-908)

iI the issue 908 similar to 796, if so shall we downgrade the severity.

https://wso2.org/jira/browse/APPM-796

Cheers,
Ruwan

On Wed, May 20, 2015 at 10:31 AM, Nuwan Silva nuw...@wso2.com wrote:

 Update,

 The latest pack was received on 19-05-2015 with hazelcast upgrade. We
 managed to resolve most of the critical issues and verification will
 continue today.

 areas of concern;
 1. We have *not tested* this APPM with MDM.
 2. XACML for tenants are not functioning
 3. Workflows for tenants are not functioning.
 4. Tested EMM with android but there were compatibility issues with IOS 7
 and above.
 5. Tenants not able to login to the cluster setup (Got this fixed through
 a patch. but, need to test with a new pack)
 6. Enterprise subscription for tenants not functioning.
 7. Issues related to app statistics (need to test with latest pack)
 8. Issues when using non-internal roles (
 https://wso2.org/jira/browse/APPM-908)


 Regards,
 NuwanS.

 On Mon, May 18, 2015 at 9:14 AM, Nuwan Silva nuw...@wso2.com wrote:

 To update on QA status,

 We have covered the above mentioned areas in the latest packs (05-05-2015
 pack also) and reported identified issues.
 Basic flows have been tested with oracle and an extensive test was not
 carried out as it will be shipped as an experimental script as per the AppM
 team.

 The long running test is running in the cluster and we will keep
 monitoring its status.

 The plan is to focus on the following in the coming week.

 1. Cluster scenarios
 2. EMM integration with the cluster,
 3. Bug fixes
 4. a stress test by adding 100+ apps and testing how the store responds.


 Regards,
 NuwanS.


 On Wed, May 6, 2015 at 3:00 PM, Dinusha Senanayaka dinu...@wso2.com
 wrote:



 On Wed, May 6, 2015 at 2:35 PM, Aparna Karunarathna apa...@wso2.com
 wrote:

 Hi Sumedha and Dinusha,

 Could you please mention non tested features and areas so far? If we
 can get it now, Nuwan  Asanthi can focus on those areas.


 There were couple of features like Enterprise subscription, Skip
 Creating Proxy App and XACML. But AFAIK, Asanthi covered those recently. So
 better if we can give priority to test on cluster environment. We expecting
 some of the issues faced with wso2 elb since we are using synapse gateway
 here as well. Need to see how gateway session handing and all behaves in
 cluster environment.

 Regards,
 Dinusha


 Regards,
 Aparna.



 On Wed, May 6, 2015 at 2:12 PM, Nuwan Silva nuw...@wso2.com wrote:

 We are setting up the cluster and will be doing a long running test.
 further more plan to do a stress test by creating 100+ web
 applications.

 Regards,
 NuwanS.

 On Wed, May 6, 2015 at 2:04 PM, Dinusha Senanayaka dinu...@wso2.com
 wrote:

 Hi Asanthi,

 Feature list looks ok. Additionally we need to give priority for,
 - Cluster setup
 - Testing with IS Service pack
 - Long running test

 Regards,
 Dinusha.

 On Wed, May 6, 2015 at 1:51 PM, Asanthi Kulasinghe asan...@wso2.com
 wrote:

 Hi Dinusha,

 As discussed during the meeting , can you please confirm whether the
 list given below covers all the required features.

 - App life cycle and docs
 - App Visibility
 - Integration with BAM
 - BPS integration - Workflows
 - XACML
 - JWT
 - OAuth
 - Samples
 - Throttling
 - App Discovery
 - Deploy Sample feature
 - Session replication
 - Single log out
 - User roles
 - Cluster scenarios
 - Enterprise subscription
 - Skip Creating proxy Services
 - Integrating with EMM (iOS)
 - Long running and stress tests
 - Testing with Oracle
 - Testing in Windows





 --
 Dinusha Dilrukshi
 Associate Technical Lead
 WSO2 Inc.: http://wso2.com/
 Mobile: +94725255071
 Blog: http://dinushasblog.blogspot.com/

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --


 *Nuwan Silva*
 *Senior Software Engineer - QA*
 Mobile: +9477 980 4543

 WSO2 Inc.
 lean . enterprise . middlewear.
 http://www.wso2.com

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 *Regards,*
 *Aparna Karunarathna.*


 *Senior Software Engineer - QAWSO2 Inc.Mobile: 0714002533 0714002533*




 --
 Dinusha Dilrukshi
 Associate Technical Lead
 WSO2 Inc.: http://wso2.com/
 Mobile: +94725255071
 Blog: http://dinushasblog.blogspot.com/




 --


 *Nuwan Silva*
 *Senior Software Engineer - QA*
 Mobile: +9477 980 4543

 WSO2 Inc.
 lean . enterprise . middlewear.
 http://www.wso2.com




 --


 *Nuwan Silva*
 *Senior Software Engineer - QA*
 Mobile: +9477 980 4543

 WSO2 Inc.
 lean . enterprise . middlewear.
 http://www.wso2.com

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 

*Ruwan Abeykoon*
*Architect,*
*WSO2, Inc. http://wso2.com http://wso2.com/ *
*lean.enterprise.middleware.*

email: 

[Dev] In-Memory Caching in WSO2 Carbon

2015-05-19 Thread Shabir Mohamed
Hi,

I have a client subscribed to an external queue and I want to write any
messages that comes to the queue somewhere locally (Ex - cache or some
file).

Is there any In-Memory caching feature available in our carbon core? If so
are there examples of its usage in any of our products?

Thanks
-
*Shabir Mohamed*
*Software Engineer*
WSO2 Inc.; http://wso2.com
Email: sha...@wso2.com ayy...@wso2.com
Mobile: +94 77 3516019 | +94 71 6583393
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Build Failure in Evernote Connector

2015-05-19 Thread Thusitha Thilina Dayaratne
Hi Nadeeshaan,

I think you can refer to [Dev] Failed to download integration-base jar
http://mail.wso2.org/mailarchive/dev/2015-February/043870.html
Thanks

On Wed, May 20, 2015 at 10:57 AM, Nadeeshaan Gunasinghe nadeesh...@wso2.com
 wrote:

 Hi all,
 When trying to build the Evernote connector it gives the following Error.

 [ERROR] Failed to execute goal on project
 org.wso2.carbon.connector.evernote: Could not resolve dependencies for
 project
 org.wso2.carbon.connector:org.wso2.carbon.connector.evernote:jar:1.0.0:
 Failed to collect dependencies for
 [org.apache.synapse:synapse-core:jar:2.1.1-wso2v7 (compile),
 org.wso2.esb.integration:integration-base:jar:1.0.0 (compile),
 com.evernote:evernote-api:jar:1.25.1 (compile),
 org.wso2.carbon:org.wso2.carbon.mediation.initializer:jar:4.2.0 (compile),
 org.wso2.carbon:org.wso2.carbon.connector.core:jar:4.2.0 (compile),
 org.wso2.carbon:org.wso2.carbon.mediation.library.stub:jar:4.2.0 (test),
 org.wso2.carbon:org.wso2.carbon.integration.framework:jar:4.0.0 (test),
 commons-digester:commons-digester:jar:2.1 (test),
 org.wso2.carbon.automation:org.wso2.carbon.automation.api:jar:4.2.0 (test),
 org.wso2.carbon.automation:org.wso2.carbon.automation.core:jar:4.2.0
 (test),
 org.wso2.carbon.automation:org.wso2.carbon.automation.utils:jar:4.2.0
 (test), groovy:groovy-all:jar:1.1-rc-1 (test),
 org.jruby:jruby-complete:jar:1.3.0 (test), emma:emma:jar:2.1.5320 (test),
 org.testng:testng:jar:6.1.1 (test), org.wso2.carbon:SecVerifier:aar:4.2.0
 (test), mysql:mysql-connector-java:jar:5.1.6 (test),
 org.apache.activemq:activemq-core:jar:5.2.0 (test),
 org.apache.geronimo.specs:geronimo-j2ee-management_1.1_spec:jar:1.0.1
 (test), org.apache.geronimo.specs:geronimo-jms_1.1_spec:jar:1.1.1 (test),
 ca.uhn.hapi.wso2:hapi:jar:2.1.0.wso2v1 (test),
 org.wso2.esb:org.wso2.carbon.esb.common:jar:4.8.0 (test),
 org.wso2.esb:org.wso2.connector.integration.test.base:jar:4.8.1 (compile)]:
 Failed to read artifact descriptor for
 org.wso2.esb:org.wso2.connector.integration.test.base:jar:4.8.1: Failure to
 find org.wso2.esb:esb-integration-tests:pom:4.8.1 in
 http://maven.wso2.org/nexus/content/groups/wso2-public/ was cached in the
 local repository, resolution will not be reattempted until the update
 interval of wso2-nexus has elapsed or updates are forced - [Help 1]


 Regards

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
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


[Dev] Lucene version mismatch in Greg features and BAM features

2015-05-19 Thread Nirmal Fernando
Hi,

Whilst Greg is using lucene 5.0, BAM is using 4.10.3 version. This leads to
conflicts at the ML product level.

BAM team is it an option to move to Lucene 5.0.0 ?

-- 

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] Please review and merge PR for APIMANAGER-3594

2015-05-19 Thread Kasun Gunasekara
Hi,

Please review and merge PR[1] for Jira [2].

[1] https://github.com/wso2/carbon-apimgt/pull/430
[2] https://wso2.org/jira/browse/APIMANAGER-3594

Regards.

Kasun Gunasekara
Software Engineering Intern - WSO2
Mobile : +94 77 6986482
Twitter https://twitter.com/KaluMallii | Google+
https://plus.google.com/+KaZGunasekara/ | LinkedIn
http://www.linkedin.com/in/kasun32
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] App Manager Release 1.0.0 - QA Plan changes

2015-05-19 Thread Nuwan Silva
Update,

The latest pack was received on 19-05-2015 with hazelcast upgrade. We
managed to resolve most of the critical issues and verification will
continue today.

areas of concern;
1. We have *not tested* this APPM with MDM.
2. XACML for tenants are not functioning
3. Workflows for tenants are not functioning.
4. Tested EMM with android but there were compatibility issues with IOS 7
and above.
5. Tenants not able to login to the cluster setup (Got this fixed through a
patch. but, need to test with a new pack)
6. Enterprise subscription for tenants not functioning.
7. Issues related to app statistics (need to test with latest pack)
8. Issues when using non-internal roles (
https://wso2.org/jira/browse/APPM-908)


Regards,
NuwanS.

On Mon, May 18, 2015 at 9:14 AM, Nuwan Silva nuw...@wso2.com wrote:

 To update on QA status,

 We have covered the above mentioned areas in the latest packs (05-05-2015
 pack also) and reported identified issues.
 Basic flows have been tested with oracle and an extensive test was not
 carried out as it will be shipped as an experimental script as per the AppM
 team.

 The long running test is running in the cluster and we will keep
 monitoring its status.

 The plan is to focus on the following in the coming week.

 1. Cluster scenarios
 2. EMM integration with the cluster,
 3. Bug fixes
 4. a stress test by adding 100+ apps and testing how the store responds.


 Regards,
 NuwanS.


 On Wed, May 6, 2015 at 3:00 PM, Dinusha Senanayaka dinu...@wso2.com
 wrote:



 On Wed, May 6, 2015 at 2:35 PM, Aparna Karunarathna apa...@wso2.com
 wrote:

 Hi Sumedha and Dinusha,

 Could you please mention non tested features and areas so far? If we can
 get it now, Nuwan  Asanthi can focus on those areas.


 There were couple of features like Enterprise subscription, Skip Creating
 Proxy App and XACML. But AFAIK, Asanthi covered those recently. So better
 if we can give priority to test on cluster environment. We expecting some
 of the issues faced with wso2 elb since we are using synapse gateway here
 as well. Need to see how gateway session handing and all behaves in cluster
 environment.

 Regards,
 Dinusha


 Regards,
 Aparna.



 On Wed, May 6, 2015 at 2:12 PM, Nuwan Silva nuw...@wso2.com wrote:

 We are setting up the cluster and will be doing a long running test.
 further more plan to do a stress test by creating 100+ web applications.

 Regards,
 NuwanS.

 On Wed, May 6, 2015 at 2:04 PM, Dinusha Senanayaka dinu...@wso2.com
 wrote:

 Hi Asanthi,

 Feature list looks ok. Additionally we need to give priority for,
 - Cluster setup
 - Testing with IS Service pack
 - Long running test

 Regards,
 Dinusha.

 On Wed, May 6, 2015 at 1:51 PM, Asanthi Kulasinghe asan...@wso2.com
 wrote:

 Hi Dinusha,

 As discussed during the meeting , can you please confirm whether the
 list given below covers all the required features.

 - App life cycle and docs
 - App Visibility
 - Integration with BAM
 - BPS integration - Workflows
 - XACML
 - JWT
 - OAuth
 - Samples
 - Throttling
 - App Discovery
 - Deploy Sample feature
 - Session replication
 - Single log out
 - User roles
 - Cluster scenarios
 - Enterprise subscription
 - Skip Creating proxy Services
 - Integrating with EMM (iOS)
 - Long running and stress tests
 - Testing with Oracle
 - Testing in Windows





 --
 Dinusha Dilrukshi
 Associate Technical Lead
 WSO2 Inc.: http://wso2.com/
 Mobile: +94725255071
 Blog: http://dinushasblog.blogspot.com/

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --


 *Nuwan Silva*
 *Senior Software Engineer - QA*
 Mobile: +9477 980 4543

 WSO2 Inc.
 lean . enterprise . middlewear.
 http://www.wso2.com

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 *Regards,*
 *Aparna Karunarathna.*


 *Senior Software Engineer - QAWSO2 Inc.Mobile: 0714002533 0714002533*




 --
 Dinusha Dilrukshi
 Associate Technical Lead
 WSO2 Inc.: http://wso2.com/
 Mobile: +94725255071
 Blog: http://dinushasblog.blogspot.com/




 --


 *Nuwan Silva*
 *Senior Software Engineer - QA*
 Mobile: +9477 980 4543

 WSO2 Inc.
 lean . enterprise . middlewear.
 http://www.wso2.com




-- 


*Nuwan Silva*
*Senior Software Engineer - QA*
Mobile: +9477 980 4543

WSO2 Inc.
lean . enterprise . middlewear.
http://www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Build Failure in Evernote Connector

2015-05-19 Thread Nadeeshaan Gunasinghe
Hi all,
When trying to build the Evernote connector it gives the following Error.

[ERROR] Failed to execute goal on project
org.wso2.carbon.connector.evernote: Could not resolve dependencies for
project
org.wso2.carbon.connector:org.wso2.carbon.connector.evernote:jar:1.0.0:
Failed to collect dependencies for
[org.apache.synapse:synapse-core:jar:2.1.1-wso2v7 (compile),
org.wso2.esb.integration:integration-base:jar:1.0.0 (compile),
com.evernote:evernote-api:jar:1.25.1 (compile),
org.wso2.carbon:org.wso2.carbon.mediation.initializer:jar:4.2.0 (compile),
org.wso2.carbon:org.wso2.carbon.connector.core:jar:4.2.0 (compile),
org.wso2.carbon:org.wso2.carbon.mediation.library.stub:jar:4.2.0 (test),
org.wso2.carbon:org.wso2.carbon.integration.framework:jar:4.0.0 (test),
commons-digester:commons-digester:jar:2.1 (test),
org.wso2.carbon.automation:org.wso2.carbon.automation.api:jar:4.2.0 (test),
org.wso2.carbon.automation:org.wso2.carbon.automation.core:jar:4.2.0
(test),
org.wso2.carbon.automation:org.wso2.carbon.automation.utils:jar:4.2.0
(test), groovy:groovy-all:jar:1.1-rc-1 (test),
org.jruby:jruby-complete:jar:1.3.0 (test), emma:emma:jar:2.1.5320 (test),
org.testng:testng:jar:6.1.1 (test), org.wso2.carbon:SecVerifier:aar:4.2.0
(test), mysql:mysql-connector-java:jar:5.1.6 (test),
org.apache.activemq:activemq-core:jar:5.2.0 (test),
org.apache.geronimo.specs:geronimo-j2ee-management_1.1_spec:jar:1.0.1
(test), org.apache.geronimo.specs:geronimo-jms_1.1_spec:jar:1.1.1 (test),
ca.uhn.hapi.wso2:hapi:jar:2.1.0.wso2v1 (test),
org.wso2.esb:org.wso2.carbon.esb.common:jar:4.8.0 (test),
org.wso2.esb:org.wso2.connector.integration.test.base:jar:4.8.1 (compile)]:
Failed to read artifact descriptor for
org.wso2.esb:org.wso2.connector.integration.test.base:jar:4.8.1: Failure to
find org.wso2.esb:esb-integration-tests:pom:4.8.1 in
http://maven.wso2.org/nexus/content/groups/wso2-public/ was cached in the
local repository, resolution will not be reattempted until the update
interval of wso2-nexus has elapsed or updates are forced - [Help 1]


Regards
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Lucene version mismatch in Greg features and BAM features

2015-05-19 Thread Niranda Perera
Looping in Gimantha

On Wed, May 20, 2015 at 10:39 AM, Nirmal Fernando nir...@wso2.com wrote:

 Hi,

 Whilst Greg is using lucene 5.0, BAM is using 4.10.3 version. This leads
 to conflicts at the ML product level.

 BAM team is it an option to move to Lucene 5.0.0 ?

 --

 Thanks  regards,
 Nirmal

 Associate Technical Lead - Data Technologies Team, WSO2 Inc.
 Mobile: +94715779733
 Blog: http://nirmalfdo.blogspot.com/





-- 
*Niranda Perera*
Software Engineer, WSO2 Inc.
Mobile: +94-71-554-8430
Twitter: @n1r44 https://twitter.com/N1R44
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Clarification on Require re-subscription functionality

2015-05-19 Thread Sewmini Jayaweera
Hi,

In API manager documentation [1] Require Re-Subscription functionality is
being described as Invalidates current user subscriptions, forcing the
users to subscribe again.

In the product When user publish a new version given 'Require
re-subscription' option doesn't invalidates original API subscriptions.

There is a mismatch between the functionality and the documentation. I have
already reported a documentation jira [2]

 Will you please confirm that the functionality is correct.

[1]
https://docs.wso2.com/display/AM190/Publish+the+new+Version+and+Deprecate+the+old
[2] https://wso2.org/jira/browse/DOCUMENTATION-1742

Thanks  Regards,
Sewmini

Sewmini Jayaweera
*Software Engineer - QA Team*
Mobile: +94 (0) 773 381 250
sewm...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] APIM GREG M5 release with ES ALPHA-1

2015-05-19 Thread Sameera Medagammaddegedara
Hi,

The GREG milestones are currently coupled to the SNAPSHOT version of the ES
(carbon-store). The current milestone plan for the GREG has a milestone
scheduled for the 22nd of May (coinciding with the ES ALPHA-1 release). As
part of this release the ES team will be introducing theme changes to the
ES Store app that may break functionality of the GREG and APIM extensions.

How can we proceed with both the GREG and ES releases without breaking the
functionality of the other?


Thank You,
Sameera
-- 
Sameera Medagammaddegedara
Software Engineer

Contact:
Email: samee...@wso2.com
Mobile: + 94 077 255 3005
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Please review and merge PR

2015-05-19 Thread Manoj Kumara
Merged to master branch. Will be available on Carbon 4.4.1 release.


*Manoj Kumara*
Software Engineer
WSO2 Inc. http://wso2.com/
*lean.enterprise.middleware*
Mobile: +94713448188

On Wed, Apr 8, 2015 at 10:22 PM, Jagath Sisirakumara Ariyarathne 
jaga...@wso2.com wrote:

 Hi Sameera,

 This PR contains a new functionality required for the mentioned redmine
 issue [1]. This feature will be included in ESB 4.9.0 release.

 Is there any possibility to get above changes merged to an upcoming patch
 of carbon kernel or what would be the procedure to get this released?

 Thanks.

 On Tue, Apr 7, 2015 at 1:36 PM, Jagath Sisirakumara Ariyarathne 
 jaga...@wso2.com wrote:

 Hi Carbon Team,

 Please review and merge [1] related to the redmine issue [2].

 [1] - https://github.com/wso2/carbon4-kernel/pull/198
 [2] - https://redmine.wso2.com/issues/3686

 Thanks.
 --
 Jagath Ariyarathne
 Technical Lead
 WSO2 Inc.  http://wso2.com/
 Email: jaga...@wso2.com
 Mob  : +94 77 386 7048




 --
 Jagath Ariyarathne
 Technical Lead
 WSO2 Inc.  http://wso2.com/
 Email: jaga...@wso2.com
 Mob  : +94 77 386 7048


___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] VFS/JMS Sender in tenant mode error

2015-05-19 Thread Manoj Kumara
Merged to master branch. Will be available on Carbon 4.4.1 release


*Manoj Kumara*
Software Engineer
WSO2 Inc. http://wso2.com/
*lean.enterprise.middleware*
Mobile: +94713448188

On Fri, May 15, 2015 at 10:24 AM, Malaka Silva mal...@wso2.com wrote:

 Hi Manoj,

 Done

 [1] https://github.com/wso2/wso2-axis2/pull/45

 On Fri, May 15, 2015 at 9:57 AM, Manoj Kumara ma...@wso2.com wrote:

 Hi Malaka,

 I mean the pull request to the wso2-axis2 repo.

 [1] https://github.com/wso2/wso2-axis2/pull/44


 *Manoj Kumara*
 Software Engineer
 WSO2 Inc. http://wso2.com/
 *lean.enterprise.middleware*
 Mobile: +94713448188

 On Fri, May 15, 2015 at 5:37 AM, Malaka Silva mal...@wso2.com wrote:

 Hi Manoj,

 PR is already sent to 'master' branch.

 https://github.com/wso2/carbon4-kernel/pull/205

 On Thu, May 14, 2015 at 7:42 PM, Manoj Kumara ma...@wso2.com wrote:

 Hi Malaka,

 Please send the pull request to 'master' branch.


 *Manoj Kumara*
 Software Engineer
 WSO2 Inc. http://wso2.com/
 *lean.enterprise.middleware*
 Mobile: +94713448188

 On Thu, May 14, 2015 at 5:32 AM, Malaka Silva mal...@wso2.com wrote:

 Great. Thx Manoj. Keep us posted.

 On Wed, May 13, 2015 at 8:32 PM, Manoj Kumara ma...@wso2.com wrote:

 Hi Malaka,

 We are discussing about 4.4.1 release plan tomorrow. Will try to
 provide a solution after discussing with the team.

 Regards,
 Manoj


 *Manoj Kumara*
 Software Engineer
 WSO2 Inc. http://wso2.com/
 *lean.enterprise.middleware*
 Mobile: +94713448188

 On Wed, May 13, 2015 at 7:21 PM, Malaka Silva mal...@wso2.com
 wrote:

 Hi Carbon Team,

 Can we get this fixed for ESB alpha release?

 On Wed, May 13, 2015 at 6:35 AM, Malaka Silva mal...@wso2.com
 wrote:

 Hi Carbon Team,

 I have removed the hard-coded entries and changed it to a dynamic
 way.

 Please review and merge [1].

 [1] https://github.com/wso2/carbon4-kernel/pull/205

 On Tue, May 12, 2015 at 2:37 PM, Malaka Silva mal...@wso2.com
 wrote:

 Hi Kasun,

 Added rabbitmq as well. It's better if we can do this dynamically.
 Will check on that.

 Currently added vfs/jms and rabbitmq

 On Tue, May 12, 2015 at 2:14 PM, Kasun Indrasiri ka...@wso2.com
 wrote:

 Hi Malaka,

 Are we only adding them for JMS and VFS. How about other
 transports? Is it possible to make this dynamic so that we don't 
 have to
 hardcode the transports?

 On Tue, May 12, 2015 at 12:49 PM, Malaka Silva mal...@wso2.com
 wrote:

 Hi Carbon Team,

 Please merge [1].

 Related Jiras [2] and [3]

 [1] https://github.com/wso2/carbon4-kernel/pull/205
 [2] https://wso2.org/jira/browse/CARBON-15245
 [3] https://wso2.org/jira/browse/ESBJAVA-3683

 Best Regards,

 Malaka Silva
 Senior Tech Lead
 M: +94 777 219 791
 Tel : 94 11 214 5345
 Fax :94 11 2145300
 Skype : malaka.sampath.silva
 LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
 Blog : http://mrmalakasilva.blogspot.com/

 WSO2, Inc.
 lean . enterprise . middleware
 http://www.wso2.com/
 http://www.wso2.com/about/team/malaka-silva/
 http://wso2.com/about/team/malaka-silva/

 Save a tree -Conserve nature  Save the world for your future.
 Print this email only if it is absolutely necessary.




 --
 Kasun Indrasiri
 Software Architect
 WSO2, Inc.; http://wso2.com
 lean.enterprise.middleware

 cell: +94 77 556 5206
 Blog : http://kasunpanorama.blogspot.com/




 --

 Best Regards,

 Malaka Silva
 Senior Tech Lead
 M: +94 777 219 791
 Tel : 94 11 214 5345
 Fax :94 11 2145300
 Skype : malaka.sampath.silva
 LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
 Blog : http://mrmalakasilva.blogspot.com/

 WSO2, Inc.
 lean . enterprise . middleware
 http://www.wso2.com/
 http://www.wso2.com/about/team/malaka-silva/
 http://wso2.com/about/team/malaka-silva/

 Save a tree -Conserve nature  Save the world for your future.
 Print this email only if it is absolutely necessary.




 --

 Best Regards,

 Malaka Silva
 Senior Tech Lead
 M: +94 777 219 791
 Tel : 94 11 214 5345
 Fax :94 11 2145300
 Skype : malaka.sampath.silva
 LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
 Blog : http://mrmalakasilva.blogspot.com/

 WSO2, Inc.
 lean . enterprise . middleware
 http://www.wso2.com/
 http://www.wso2.com/about/team/malaka-silva/
 http://wso2.com/about/team/malaka-silva/

 Save a tree -Conserve nature  Save the world for your future.
 Print this email only if it is absolutely necessary.




 --

 Best Regards,

 Malaka Silva
 Senior Tech Lead
 M: +94 777 219 791
 Tel : 94 11 214 5345
 Fax :94 11 2145300
 Skype : malaka.sampath.silva
 LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
 Blog : http://mrmalakasilva.blogspot.com/

 WSO2, Inc.
 lean . enterprise . middleware
 http://www.wso2.com/
 http://www.wso2.com/about/team/malaka-silva/
 http://wso2.com/about/team/malaka-silva/

 Save a tree -Conserve nature  Save the world for your future. Print
 this email only if it is absolutely necessary.





 --

 Best Regards,

 Malaka Silva
 Senior Tech Lead
 M: +94 777 219 791
 Tel : 94 11 214 5345
 Fax :94 11 

Re: [Dev] Correcting synapse config directory path in axis2.xml in kernal

2015-05-19 Thread Manoj Kumara
Merged to master branch. Will be available on Carbon 4.4.1 release


*Manoj Kumara*
Software Engineer
WSO2 Inc. http://wso2.com/
*lean.enterprise.middleware*
Mobile: +94713448188

On Fri, May 15, 2015 at 11:31 AM, Harsha Kumara hars...@wso2.com wrote:

 Hi Kernel Team,

 While we are installing APIM features on top of GREG, we found that
 synapse config directory location is wrong in the kernal axis2.xml which
 gives directory not exited exception.

 Made pull request in [1] to fix it. Please review and merge.

 [1] - https://github.com/wso2/carbon4-kernel/pull/200

 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] VFS/JMS Sender in tenant mode error

2015-05-19 Thread Malaka Silva
Great. thx for the update.

On Wed, May 20, 2015 at 9:12 AM, Manoj Kumara ma...@wso2.com wrote:

 Merged to master branch. Will be available on Carbon 4.4.1 release


 *Manoj Kumara*
 Software Engineer
 WSO2 Inc. http://wso2.com/
 *lean.enterprise.middleware*
 Mobile: +94713448188

 On Fri, May 15, 2015 at 10:24 AM, Malaka Silva mal...@wso2.com wrote:

 Hi Manoj,

 Done

 [1] https://github.com/wso2/wso2-axis2/pull/45

 On Fri, May 15, 2015 at 9:57 AM, Manoj Kumara ma...@wso2.com wrote:

 Hi Malaka,

 I mean the pull request to the wso2-axis2 repo.

 [1] https://github.com/wso2/wso2-axis2/pull/44


 *Manoj Kumara*
 Software Engineer
 WSO2 Inc. http://wso2.com/
 *lean.enterprise.middleware*
 Mobile: +94713448188

 On Fri, May 15, 2015 at 5:37 AM, Malaka Silva mal...@wso2.com wrote:

 Hi Manoj,

 PR is already sent to 'master' branch.

 https://github.com/wso2/carbon4-kernel/pull/205

 On Thu, May 14, 2015 at 7:42 PM, Manoj Kumara ma...@wso2.com wrote:

 Hi Malaka,

 Please send the pull request to 'master' branch.


 *Manoj Kumara*
 Software Engineer
 WSO2 Inc. http://wso2.com/
 *lean.enterprise.middleware*
 Mobile: +94713448188

 On Thu, May 14, 2015 at 5:32 AM, Malaka Silva mal...@wso2.com wrote:

 Great. Thx Manoj. Keep us posted.

 On Wed, May 13, 2015 at 8:32 PM, Manoj Kumara ma...@wso2.com wrote:

 Hi Malaka,

 We are discussing about 4.4.1 release plan tomorrow. Will try to
 provide a solution after discussing with the team.

 Regards,
 Manoj


 *Manoj Kumara*
 Software Engineer
 WSO2 Inc. http://wso2.com/
 *lean.enterprise.middleware*
 Mobile: +94713448188

 On Wed, May 13, 2015 at 7:21 PM, Malaka Silva mal...@wso2.com
 wrote:

 Hi Carbon Team,

 Can we get this fixed for ESB alpha release?

 On Wed, May 13, 2015 at 6:35 AM, Malaka Silva mal...@wso2.com
 wrote:

 Hi Carbon Team,

 I have removed the hard-coded entries and changed it to a dynamic
 way.

 Please review and merge [1].

 [1] https://github.com/wso2/carbon4-kernel/pull/205

 On Tue, May 12, 2015 at 2:37 PM, Malaka Silva mal...@wso2.com
 wrote:

 Hi Kasun,

 Added rabbitmq as well. It's better if we can do this
 dynamically. Will check on that.

 Currently added vfs/jms and rabbitmq

 On Tue, May 12, 2015 at 2:14 PM, Kasun Indrasiri ka...@wso2.com
 wrote:

 Hi Malaka,

 Are we only adding them for JMS and VFS. How about other
 transports? Is it possible to make this dynamic so that we don't 
 have to
 hardcode the transports?

 On Tue, May 12, 2015 at 12:49 PM, Malaka Silva mal...@wso2.com
 wrote:

 Hi Carbon Team,

 Please merge [1].

 Related Jiras [2] and [3]

 [1] https://github.com/wso2/carbon4-kernel/pull/205
 [2] https://wso2.org/jira/browse/CARBON-15245
 [3] https://wso2.org/jira/browse/ESBJAVA-3683

 Best Regards,

 Malaka Silva
 Senior Tech Lead
 M: +94 777 219 791
 Tel : 94 11 214 5345
 Fax :94 11 2145300
 Skype : malaka.sampath.silva
 LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
 Blog : http://mrmalakasilva.blogspot.com/

 WSO2, Inc.
 lean . enterprise . middleware
 http://www.wso2.com/
 http://www.wso2.com/about/team/malaka-silva/
 http://wso2.com/about/team/malaka-silva/

 Save a tree -Conserve nature  Save the world for your future.
 Print this email only if it is absolutely necessary.




 --
 Kasun Indrasiri
 Software Architect
 WSO2, Inc.; http://wso2.com
 lean.enterprise.middleware

 cell: +94 77 556 5206
 Blog : http://kasunpanorama.blogspot.com/




 --

 Best Regards,

 Malaka Silva
 Senior Tech Lead
 M: +94 777 219 791
 Tel : 94 11 214 5345
 Fax :94 11 2145300
 Skype : malaka.sampath.silva
 LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
 Blog : http://mrmalakasilva.blogspot.com/

 WSO2, Inc.
 lean . enterprise . middleware
 http://www.wso2.com/
 http://www.wso2.com/about/team/malaka-silva/
 http://wso2.com/about/team/malaka-silva/

 Save a tree -Conserve nature  Save the world for your future.
 Print this email only if it is absolutely necessary.




 --

 Best Regards,

 Malaka Silva
 Senior Tech Lead
 M: +94 777 219 791
 Tel : 94 11 214 5345
 Fax :94 11 2145300
 Skype : malaka.sampath.silva
 LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
 Blog : http://mrmalakasilva.blogspot.com/

 WSO2, Inc.
 lean . enterprise . middleware
 http://www.wso2.com/
 http://www.wso2.com/about/team/malaka-silva/
 http://wso2.com/about/team/malaka-silva/

 Save a tree -Conserve nature  Save the world for your future.
 Print this email only if it is absolutely necessary.




 --

 Best Regards,

 Malaka Silva
 Senior Tech Lead
 M: +94 777 219 791
 Tel : 94 11 214 5345
 Fax :94 11 2145300
 Skype : malaka.sampath.silva
 LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
 Blog : http://mrmalakasilva.blogspot.com/

 WSO2, Inc.
 lean . enterprise . middleware
 http://www.wso2.com/
 http://www.wso2.com/about/team/malaka-silva/
 http://wso2.com/about/team/malaka-silva/

 Save a tree -Conserve nature  Save the world for your future.
 Print this email only if it is absolutely necessary.





 --


[Dev] [Bamboo-Build] Developer Studio Eclipse-Tools #1520 has FAILED. Change made by Sohani Weerasinghe.

2015-05-19 Thread Bamboo

---
Developer Studio  Eclipse-Tools  #1520 failed.
---
Code has been updated by Sohani Weerasinghe.
No failed tests found, a possible compilation error.

https://wso2.org/bamboo/browse/DS0001-DSET01-1520/

-
Currently Responsible
-

susankha nirmala (Automatically assigned)



--
Failing Jobs
--
  - Default Job (Default Stage): No tests found.



--
Code Changes
--
Sohani Weerasinghe (d054f3ddd41e787892b50b25f376047eee53):

Fixing TOOLS-2772




--
This message is automatically generated by Atlassian Bamboo___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Can we remove the duplicated org.wso2.carbon.identity.xacml.filter.feature from carbon-deployment

2015-05-19 Thread Malithi Edirisinghe
Hi All,

We have org.wso2.carbon.identity.xacml.filter.feature in carbon-identity
which is maintained by IS team. Meanwhile the same feature is duplicated in
carbon-deployment.

Seems we can remove the duplicated feature from carbon-deployment.
Please share your thoughts.

Thanks,
Malithi.


-- 

*Malithi Edirisinghe*
Senior Software Engineer
WSO2 Inc.

Mobile : +94 (0) 718176807
malit...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [APIM] Sending specific error codes for invocation failures

2015-05-19 Thread Amila De Silva
Hi All,

This is related to resolving bug [1].

With the previous API Manager releases, when APIs are accessed using
invalid tokens, specific errors for such failures were sent. For example,
if the API was accessed using an expired token, response with 900903 as the
error code was sent, and if the failure is due to an Invalid token the
response code 900901 was sent.

In previous releases it was possible to get the token state, since we had
direct access to the DB where tokens are stored. But when providing the
ability to plug in Third party Authorization Servers, we only have access
to information exposed by the Authorization Server. According to [2], an
Authorization Server may only state the token as invalid, not exposing
specific reasons about the failure. In such cases, API Manager cannot
provide exact details on why the failure has occurred.

In a security point of view, general practice is to provide least
information about a failure, when invalid credentials are used.

To make the behaviour consistent, irrespective of whether the
 Auhtorization Server is a third party one or the default one, with 1.9.0
we’ll be sending a generic failure when the token is  invalid.

With this change the same error code (900901) will be sent, when the token
is expired or inactive.

Impact:
If there are Client Apps, that take different paths to refresh the token
depending on the error code, those have to act upon the general error code
(900901) from this release onwards. This has to be done as a part of the
migration.

Please share your thoughts on this.

[1] https://wso2.org/jira/browse/APIMANAGER-3578

[2] https://tools.ietf.org/html/draft-ietf-oauth-introspection-08

[3] https://docs.wso2.com/display/AM190/Error+Handling

-- 
*Amila De Silva*

WSO2 Inc.
mobile :(+94) 775119302
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Enterprise Store - UI test failures

2015-05-19 Thread Krishantha Samaraweera
Hi all,

Have we fixed all failures ? or introduce new tests ?

Thanks,
Krishantha.

On Wed, Apr 29, 2015 at 8:58 AM, Ayesha Dissanayaka aye...@wso2.com wrote:

 Hi all,

 I was able to fix one test class[1] in this[2] commit.
 Hope this would be helpful in order to fix other test failures.

 Best approach would be to debug test classes one at a time to locate the
 UI element mismatches.

 [1]
 https://github.com/wso2/product-es/blob/e6a6a2b2891f0d436294320436caa09ed9ffae23/modules/integration/tests-ui-integration/tests-ui/src/test/java/org/wso2/es/ui/integration/test/publisher/ESPublisherAddEditAssetTestCase.java
 [2]
 https://github.com/wso2/product-es/commit/e6a6a2b2891f0d436294320436caa09ed9ffae23

 Thanks!
 -Ayesha

 On Tue, Apr 28, 2015 at 12:46 AM, Rajeenthini Satkunam 
 rajeenth...@wso2.com wrote:

 Hi,

 Noted,I will look into this links and I will discuss with team if I need
 further helps on this.

 On Tue, Apr 28, 2015 at 7:52 AM, Ayesha Dissanayaka aye...@wso2.com
 wrote:

 Hi all,

 I think the reason for this test failures should be the recent UI
 changes in ES. The mentioned UI tests were written on top of previous ES
 UIs and I don't think we have re-written them on top of new UI. Hope the
 team has already started working on this.

 Almost all the tests are failing due to unavailability of UI elements,
 which is expected due to the change in UI. So, I think the best way to fix
 this would be to re-generate the tests using selenium record and playback,
 rather than someone going through line by line to map previous UI elements
 to new ones.

 We already have the templates for ES publisher and Store UI test
 generation. And the initial idea of having Selenium UI Test Generation
 for ES is exactly to address this kind of scenarios without much of a
 trouble.

 @Rajeenthini, since you are working on this, below e-mail threads and
 links would be helpful for you. Let me know if you need further help on
 this.

 [1] [Dev][ES] Selenium UI Integration Test Generation
 [2] [ES- Integration Test] Custom WebDriver Class for UI test Automation
 [3]
 http://techspace-ps.blogspot.com/2015/01/selenium-ide-template-for-testng.html
 [4]
 http://asadistechspace.blogspot.com/2014/12/customize-selenium-code-jeneration.html#.VT7oGzlO0c0

 Thanks!
 -Ayesha

 On Tue, Apr 21, 2015 at 6:01 AM, Udara Rathnayake uda...@wso2.com
 wrote:

 Hi Krishantha,

 We are looking into this.

 Regards,
 UdaraR

 On Mon, Apr 20, 2015 at 5:12 PM, Krishantha Samaraweera 
 krishan...@wso2.com wrote:

 More test failures in tests-ui module.

 Failed tests:
 testESPublishToStore(org.wso2.es.ui.integration.test.common.ESPublishToStore):
 Timed out after 30 seconds waiting for presence of element located by:
 By.linkText: Add gadget(..)

 setUp(org.wso2.es.ui.integration.test.notifications.ESPublisherNotificationTestCase):
 Timed out after 30 seconds waiting for presence of element located by:
 By.linkText: Add gadget(..)

 tearDown(org.wso2.es.ui.integration.test.notifications.ESPublisherNotificationTestCase)

 testAddAsset(org.wso2.es.ui.integration.test.publisher.ESPublisherTenantAddEditAssetTestCase):
 Timed out after 30 seconds waiting for presence of element located by:
 By.linkText: Add gadget(..)

 testAddAsset(org.wso2.es.ui.integration.test.publisher.ESPublisherTenantAddEditAssetTestCase):
 Timed out after 30 seconds waiting for presence of element located by:
 By.linkText: Add gadget(..)

 testSubscriptionCreation(org.wso2.es.ui.integration.test.notifications.ESPublisherSubscriptionTestCase):
 Timed out after 30 seconds waiting for presence of element located by:
 By.linkText: Add gadget(..)

 testSubscriptionCreation(org.wso2.es.ui.integration.test.notifications.ESPublisherSubscriptionTestCase):
 Timed out after 30 seconds waiting for presence of element located by:
 By.linkText: Add gadget(..)

 setUp(org.wso2.es.ui.integration.test.notifications.ESPublisherTenantNotificationTestCase):
 Timed out after 30 seconds waiting for presence of element located by:
 By.linkText: Add gadget(..)

 setUp(org.wso2.es.ui.integration.test.store.ESStoreAnonCategorySortingTestCase):
 Timed out after 30 seconds waiting for presence of element located by:
 By.linkText: Add gadget(..)

 tearDown(org.wso2.es.ui.integration.test.notifications.ESPublisherTenantNotificationTestCase)

 testAnonHomePage(org.wso2.es.ui.integration.test.store.ESStoreAnonHomePageTestCase):
 Timed out after 30 seconds waiting for presence of element located by:
 By.selector: div.span3.store-right  div.row  div.span3(..)

 testAnonNavigationLinks(org.wso2.es.ui.integration.test.store.ESStoreAnonHomePageTestCase):
 Recent Gadgets link not working expected [Stacked Line Chart] but found
 [Line Chart]

 testSubscriptionCreation(org.wso2.es.ui.integration.test.notifications.ESPublisherTenantSubscriptionTestCase):
 Timed out after 30 seconds waiting for presence of element located by:
 By.linkText: Add gadget(..)

 

Re: [Dev] carbon-deployment release required for ESB 4.9.0 Alpha

2015-05-19 Thread Jayanga Dissanayake
Hi Isuru,

carbon-deployment has dependencies on carbon-commons and carbon-identity.
We had a discussion with IS team and they are planing to release
carbon-identity 4.4.2 tomorrow and it has a dependency on carbon-commons,
which also needed to be released before the identity release.

Since ESB 4.9.0 alpha is dependent on carbon-identity, you have to wait
till carbon-identity is released and we have to delay the the
carbon-deployment release until its dependencies are released.

Please raise if you have any concerns.

Thanks,
Jayanga.

*Jayanga Dissanayake*
Senior Software Engineer
WSO2 Inc. - http://wso2.com/
lean . enterprise . middleware
email: jaya...@wso2.com
mobile: +94772207259

On Mon, May 18, 2015 at 3:55 PM, Isuru Udana isu...@wso2.com wrote:

 Hi All,

 We are getting following build error in ESB p2 profile generation.

 Cannot complete the install because of a conflicting dependency.
  Software being installed: Key Store Management Feature 4.4.1
 (org.wso2.carbon.security.mgt.feature.group 4.4.1)
  Software being installed: WSO2 Carbon - Service Management Feature 4.4.0
 (org.wso2.carbon.service.mgt.feature.group 4.4.0)
  Only one of the following can be installed at once:
   WSO2 Carbon - Security Management UI Feature 4.4.0
 (org.wso2.carbon.security.mgt.ui.feature.jar 4.4.0)
   WSO2 Carbon - Security Management UI Feature 4.4.1
 (org.wso2.carbon.security.mgt.ui.feature.jar 4.4.1)
  Cannot satisfy dependency:
   From: Key Store Management Feature 4.4.1
 (org.wso2.carbon.security.mgt.feature.group 4.4.1)
   To: org.wso2.carbon.security.mgt.ui.feature.group [4.4.1]
  Cannot satisfy dependency:
   From: WSO2 Carbon - Security Management UI Feature 4.4.0
 (org.wso2.carbon.security.mgt.ui.feature.group 4.4.0)
   To: org.wso2.carbon.security.mgt.ui.feature.jar [4.4.0]
  Cannot satisfy dependency:
   From: WSO2 Carbon - Security Management UI Feature 4.4.1
 (org.wso2.carbon.security.mgt.ui.feature.group 4.4.1)
   To: org.wso2.carbon.security.mgt.ui.feature.jar [4.4.1]
  Cannot satisfy dependency:
   From: WSO2 Carbon - Service Management Feature 4.4.0
 (org.wso2.carbon.service.mgt.feature.group 4.4.0)
   To: org.wso2.carbon.service.mgt.ui.feature.group [4.4.0]
  Cannot satisfy dependency:
   From: WSO2 Carbon - Service Management UI Feature 4.4.0
 (org.wso2.carbon.service.mgt.ui.feature.group 4.4.0)
   To: org.wso2.carbon.security.mgt.ui.feature.group [4.4.0]


 Service management feature (in carbon-deployment) incorrectly packing
 security management feature. Hence carbon-deployment 4.4.0 and
 carbon-identity 4.4.1 cannot exit together.

 We need to fix this in service management and need to release new version.
 And also we have to remove policy editor getting packed from service
 management ui feature.

 Please consider this as urgent as this is blocking ESB 4.9.0 Alpha release.

 Thanks.




 --
 *Isuru Udana*
 Associate Technical Lead
 WSO2 Inc.; http://wso2.com
 email: isu...@wso2.com cell: +94 77 3791887
 blog: http://mytecheye.blogspot.com/

___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Please review the PR for ESBJAVA-3384

2015-05-19 Thread Malaka Silva
Hi Shakila,

I don't think this will work if some one added the property mediator in
IN_FLOW. Also this sets the status to 200 always.

Did you check a scenario where backend sends a status code other than 200
or 500?

Please check the code [1] and [2]. Check the
method determineHttpStatusCode(). I think fix should go there.

Also above will fix for PTT. Same needs to be done for NHTTP as well.

[1]
https://github.com/wso2/wso2-synapse/blob/master/modules/transports/core/nhttp/src/main/java/org/apache/synapse/transport/passthru/util/PassThroughTransportUtils.java
[2]
https://github.com/wso2/wso2-synapse/blob/master/modules/transports/core/nhttp/src/main/java/org/apache/synapse/transport/passthru/util/SourceResponseFactory.java

On Tue, May 19, 2015 at 4:35 PM, Shakila Sivagnanarajah shak...@wso2.com
wrote:

 Hi,

 I have fixed the issue ESBJAVA-3384. Please find the PR [1].
 [1] https://github.com/wso2/wso2-synapse/pull/199

 Thank you

 --
 Shakila Sivagnanarajah
 Associate Software Engineer
 Mobile :+94 (0) 770 760240
 shak...@wso2.com




-- 

Best Regards,

Malaka Silva
Senior Tech Lead
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
http://www.wso2.com/
http://www.wso2.com/about/team/malaka-silva/
http://wso2.com/about/team/malaka-silva/

Save a tree -Conserve nature  Save the world for your future. Print this
email only if it is absolutely necessary.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Cannot identify EPR of data service deployed in cloud

2015-05-19 Thread Sabra Ossen
Hi,

Sorry, I missed a clarification earlier. I had mistaken the epr as well as
setting the options of the client, therefore the corrected code segment is
as follows. Since the data service is not secure there is no need to
include the commented line, where POLICY_FILE_PATH includes the policy
extracted from the wsdl of the secured data service.

String epr = 
https://appserver.dev.cloud.wso2.com/services/t/sabra8339/dataservice1-default-SNAPSHOT
https://appserver.dev.cloud.wso2.com/services/t/sabra8339/Dataservice1DefaultSNAPSHOT
;

System.setProperty(javax.net.ssl.trustStore, (new
File(TRUST_STORE_PATH)).getAbsolutePath());
System.setProperty(javax.net.ssl.trustStorePassword,
TRUST_STORE_PASSWORD);

ConfigurationContext ctx =
ConfigurationContextFactory.createConfigurationContextFromFileSystem(/home/sabra/repository,
null);

Dataservice1DefaultSNAPSHOTStub stub = new
Dataservice1DefaultSNAPSHOTStub(ctx,epr);
ServiceClient client = stub._getServiceClient();
Options options = client.getOptions();
client.engageModule(rampart);
options.setUserName(admin);
options.setPassword(admin);

*//options.setProperty(**RampartMessageData.KEY_**RAMPART_POLICY,
loadPolicy(POLICY_FILE_PATH));remove this line*

Dataservice1DefaultSNAPSHOTStub.InsertRawLeadsPerWeek request = new
Dataservice1DefaultSNAPSHOTStub.InsertRawLeadsPerWeek();

request.setStart_date(2092-04-09);
request.setEnd_date(2092-04-8);
request.setTotal_users();
request.setEu_users();
request.setNa_users();
request.setRow_users();
request.setUnclassified_users();

stub.insertRawLeadsPerWeek(request);

Thanks.

On Tue, May 19, 2015 at 12:53 PM, Sabra Ossen sabra...@gmail.com wrote:

 Hi Dimuthu,

 How can I secure the data service when it is deployed using AF.? The
 interfaces are different in the DSS and AF, could you point out some
 resources that shows how to secure a data service deployed in cloud. Thanks
 in advance.

 Regards.

 On Tue, May 19, 2015 at 12:49 PM, Dimuthu Leelarathne dimut...@wso2.com
 wrote:

 hi Sabra,

 You need to secure it :)

 Just call me for the meeting I will also come.

 thanks,
 dimuthu


 On Tue, May 19, 2015 at 12:27 PM, Sabra Ossen sabra...@gmail.com wrote:

 Hi Pirinthapan,

 The issue is now resolved. Thank you very much.

 Regards.

 On Tue, May 19, 2015 at 11:53 AM, Pirinthapan Mahendran 
 pirintha...@wso2.com wrote:

 Hi Sabra,

 The endpoints are listed in the wsdl under the element wsdl:service.
 You can use one one of these endpoints.
 i.e:
 https://appserver.dev.cloud.wso2.com/services/t/sabra8339/dataservice1-default-SNAPSHOT.SecureHTTPEndpoint
 .

 or You can just remove the ?wsdl part from your wsdl url and use it
 as endpoint.
 i.e:
 https://appserver.dev.cloud.wso2.com/services/t/sabra8339/dataservice1-default-SNAPSHOT

 Thanks.



 Mahendran Pirinthapan
 Software Engineer | WSO2 Inc.
 Mobile +94772378732.

 On Tue, May 19, 2015 at 10:50 AM, Dimuthu Leelarathne 
 dimut...@wso2.com wrote:

 Hi Sabra,

 Is this secured?

 thanks,
 dimuthu


 On Mon, May 18, 2015 at 5:26 PM, Sabra Ossen sabra...@gmail.com
 wrote:

 Hi All,

 I have deployed a data service in cloud and I am trying to push data
 to a database in cloud through the data service. I am having a hard time
 figuring out the end point where I have to push data to. I tested the 
 data
 service using soap ui and it successfully pushes data.

 The wsdl for the data service can be seen in [1].

 The code to push data is as follows(I have created the client stub
 using the wsdl mentioned above).

 *String epr =
 https://appserver.dev.cloud.wso2.com/services/t/sabra8339/Dataservice1DefaultSNAPSHOT
 https://appserver.dev.cloud.wso2.com/services/t/sabra8339/Dataservice1DefaultSNAPSHOT;*

 System.setProperty(javax.net.ssl.trustStore, (new
 File(TRUST_STORE_PATH)).getAbsolutePath());
 System.setProperty(javax.net.ssl.trustStorePassword,
 TRUST_STORE_PASSWORD);

 ConfigurationContext ctx =
 ConfigurationContextFactory.createConfigurationContextFromFileSystem(/home/sabra/repository,
 null);

 Dataservice1DefaultSNAPSHOTStub stub = new
 Dataservice1DefaultSNAPSHOTStub(ctx,epr);
 ServiceClient client = stub._getServiceClient();
 Options options = client.getOptions();
 client.engageModule(rampart);
 options.setUserName(admin);
 options.setPassword(admin);

 options.setProperty(RampartMessageData.KEY_RAMPART_POLICY,
 loadPolicy(POLICY_FILE_PATH));

 Dataservice1DefaultSNAPSHOTStub.InsertRawLeadsPerWeek request = new
 Dataservice1DefaultSNAPSHOTStub.InsertRawLeadsPerWeek();

 request.setStart_date(2092-04-09);
 request.setEnd_date(2092-04-8);
 request.setTotal_users();
 request.setEu_users();
 request.setNa_users();
 request.setRow_users();
 request.setUnclassified_users();

 stub.insertRawLeadsPerWeek(request);

 I have no clue as to what is missing. Any help on this issue is
 highly appreciated. If any further clarification is needed please let me
 know.

 [1]
 

Re: [Dev] [GSoC-2015] Proposal2 : Siddhi Editor for WSO2 CEP

2015-05-19 Thread Tharindu Munasinghe
Hi Mentors,

I have started the initial implementation of client-side features like
syntax highlighting , code completion and code-snippets. I have tried both
ACE editor as well as Code-mirror libraries but according to my
observation, ACE editor can easily be customized for domain specific
languages.

Current implementation [1]
https://github.com/TharinduMunasinge/CEP-Siddhi_Editor/ is based on ACE
library. The progress of the implementation as follows,

   - *Syntax Highlighting* :almost completed

   - *Code completion* :
 Currently the keywords,annotations, and locally defined
   identifiers can be suggested.But the suggestion list still need to be
   optimized based on the context awareness.

   - *Code snippets*:
  Predefined code snippets are supported for now (Eg: defStr:
   define stream , attr,attrS) . User defined code snippets have to be
   handled .

   - *Error checking*:
   Client side Siddhi parser (Antlr4 in JS runtime) was
   integrated with Siddhi Editor. It just verify the syntactical correctness
   of the query and shows error indicators with error messages on relevant
   lines immediately . Currently the error messages are somewhat abstract and
   there are issues in triggering the event as well . So there are
   improvements still need to be done on this.  For now, This feature only
   focuses on the syntax that can be evaluated at client-side. For semantic
   verifications, Ajax requests need to be sent (if only the client side
   parser doesn't find any syntax errors) to the existing server-side Siddhi
   Compiler (That part is yet to be done).


The source code at [1
https://github.com/TharinduMunasinge/CEP-Siddhi_Editor/] only contains
the client side features listed above. This project is maintained just for
the ease of testing and debugging the front end specific features. Once the
client-side specific features are implemented and tested properly , this
could be integrated and merged with carbon-event-processing project.
Afterwards I will continue to work on back end related feature ,and will
send PRs based on the improvements .

Please find demo page for the Siddhi editor is hosted on [2
http://tharindumunasinge.github.io/CEP-Siddhi_Editor/ace_editor/] .
Highly appreciate your feedbacks and suggestions on this.

[1]: https://github.com/TharinduMunasinge/CEP-Siddhi_Editor/
[2]: http://tharindumunasinge.github.io/CEP-Siddhi_Editor/ace_editor/

Thanks!

On 7 May 2015 at 00:22, Tharindu Munasinghe tharindu...@cse.mrt.ac.lk
wrote:

 Thanks Srinath!

 I had a quick discussion with Suho last week. He gave me the initial
 work flow and priorities of the features listed in the proposal.

 I am currently testing Antr4,Code-mirror and Ace libraries for the
 implementation purposes. Built the CEP 4.0 and have been getting
 familiar with SiddhiQL 3.0.

 Sure we can meet and discuss further details probably on Next Monday.
 So that I will be able to come up with something thing to demo the
 progress. Please let me know the time (or else a possible date in next
 week) for the meeting .


 Thanks,

 On 5 May 2015 at 09:01, Srinath Perera srin...@wso2.com wrote:
  Tharindu, congratulations on the proposal!
 
  Shall we meet and discuss sometime this or the following week?
 
  On Wed, Apr 29, 2015 at 2:46 PM, Tharindu Munasinghe
  tharindu...@cse.mrt.ac.lk wrote:
 
  Hi Mentors,
 
  First of all thanks for selecting my proposal on $subject . I am
  planing to  complete most of the basic implementations before the
  official Gsoc starting date (May 25) . Before that I would like to
  have a review for the design decisions included in the proposal.
  It would be great if you can review them and provide feedbacks and
  suggestions .
 
  Thanks,
 
  On 28 March 2015 at 12:09, Tharindu Munasinghe
  tharindu...@cse.mrt.ac.lk wrote:
   Hi all,
  
Attached here is the proposal I submitted for $subject .
  
  
  
  
 https://docs.google.com/a/cse.mrt.ac.lk/document/d/1Txl5uZbLYIX8slLR8F5kI8U0Se79tBgHxw2dA3hMIhI/edit#
  
   On 28 March 2015 at 00:08, Tharindu Munasinghe tharin...@wso2.com
   wrote:
  
   [Adding tharindu...@cse.mrt.ac.lk]
  
   On Wed, Mar 4, 2015 at 12:41 AM, Tharindu Munasinghe
   tharin...@wso2.com
   wrote:
  
   Hi all,
 Thanks Mohan for the quick response. Sure.. according to the
   currently available slots I have sent a calendar invitation for the
   discussion on $subject  .Please find the invitation at 3.00 PM today
   and let
   me know the availability by then.
  
   Thanks,
  
  
   On Tue, Mar 3, 2015 at 10:47 PM, Mohanadarshan Vivekanandalingam
   mo...@wso2.com wrote:
  
  
  
   On Tue, Mar 3, 2015 at 5:19 PM, Tharindu Munasinghe
   tharin...@wso2.com
   wrote:
  
   Hi,
  
  
   Hi Tharindu,
  
  
I am Tharindu Munasinghe , an undergraduate from Department of
   Computer Science and Engineering, University of Moratuwa
 .Currently
   I am an
   intern at WSO2.
  
   I went through the GSoC proposal list and interested