Re: [Dev] Throttle mediator improvements

2015-07-21 Thread Chanaka Fernando
Hi Kevin,

Added a comment to the PR. Please resolve that.

Thanks,
Chanaka

On Tue, Jul 21, 2015 at 9:34 PM, Kevin Ratnasekera ke...@wso2.com wrote:

 Hi all,
 Please review and merge following pr to fix throttle mediator
 integration test failures,
 https://github.com/wso2/wso2-synapse/pull/277
 Regards
 Kevin


 On 7/17/15, Kevin Ratnasekera ke...@wso2.com wrote:
  Hi all,
  Please review and merge the following pr moving throttle core module to
  Synapse Commons.
  https://github.com/wso2/carbon-mediation/pull/293
  https://github.com/wso2/wso2-synapse/pull/265
  regards
  Kevin
 
 
  On Tue, Jul 7, 2015 at 11:17 AM, Kevin Ratnasekera ke...@wso2.com
 wrote:
 
  Hi all,
  With related to $subject, we did some changes related to carbon throttle
  core module. Currently there is no public git repository for this
  throttle
  core module which has distributed throttling features.
  So as a alternative, we are planning to move the throttle core module to
  Synapse Commons package with added improvements.
  Regards
  Kevin
 
 
 
 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
--
Chanaka Fernando
Senior Technical Lead
WSO2, Inc.; http://wso2.com
lean.enterprise.middleware

mobile: +94 773337238
Blog : http://soatutorials.blogspot.com
LinkedIn:http://www.linkedin.com/pub/chanaka-fernando/19/a20/5b0
Twitter:https://twitter.com/chanakaudaya
Wordpress:http://chanakaudaya.wordpress.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [CDM] Device attribute within the Enrolment Class

2015-07-21 Thread Ayyoob Hamza
Hi,
In CDM, Device class[1] has an attribute called EnrolmentInfo[2]. What is
the reason for having a Device attribute once again within the
EnrolmentInfo class ?.


[1]
https://github.com/wso2/carbon-device-mgt/blob/master/components/device-mgt/org.wso2.carbon.device.mgt.common/src/main/java/org/wso2/carbon/device/mgt/common/Device.java
[2]
https://github.com/wso2/carbon-device-mgt/blob/a5a9d02deec97dfd69d04c3b5c747fd3215a1323/components/device-mgt/org.wso2.carbon.device.mgt.common/src/main/java/org/wso2/carbon/device/mgt/common/EnrolmentInfo.java

Thanks,
*Ayyoob Hamza*
*Software Engineer*
WSO2 Inc.; http://wso2.com
email: ayy...@wso2.com cell: +94 77 1681010 %2B94%2077%207779495
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [ML] Update - Deeplearning Integration to WSO2-ml

2015-07-21 Thread Nirmal Fernando
@Thushan how are you progressing? Could you please send the notes of our
last review?

On Thu, Jul 16, 2015 at 10:43 AM, CD Athuraliya chathur...@wso2.com wrote:



 On Mon, Jul 13, 2015 at 11:12 AM, Thushan Ganegedara thu...@gmail.com
 wrote:

 Hello CD,

 Yes, it seems to be working fine now. But why does it show the axes in
 meters? Is this a d3 specific thing?


 I think *m* stands for *Milli* here.


 On Mon, Jul 13, 2015 at 3:17 PM, Thushan Ganegedara thu...@gmail.com
 wrote:

 Hi all,

 Thank you very much for pointing out. I'll get the latest update and see.

 On Mon, Jul 13, 2015 at 3:03 PM, CD Athuraliya chathur...@wso2.com
 wrote:

 Hi Thushan,

 That method has been updated. Please get the latest. You might have to
 define your own case depending on predicted values.

 CD Athuraliya
 Sent from my mobile device
 On Jul 13, 2015 10:24 AM, Nirmal Fernando nir...@wso2.com wrote:

 Great work Thushan! On the UI issues, @CD could help you. AFAIK actual
 keeps the pointer to the actual label and predicted is the probability and
 predictedLabel is after rounding it using a threshold.

 On Mon, Jul 13, 2015 at 7:14 AM, Thushan Ganegedara thu...@gmail.com
 wrote:

 Hi all,

 I have integrated H-2-O deeplearning to WSO2-ml successfully.
 Following are the stats on 2 tests conducted (screenshots attached).

 Iris dataset - 93.62% Accuracy
 MNIST (Small) dataset - 94.94% Accuracy

 However, there were few unusual issues that I had to spend lot of
 time to identify.

 *FrameSplitter does not work for any value other than 0.5. Any value
 other than 0.5, the following error is returned*
 (Frame splitter is used to split trainingData to train and valid sets)
 barrier onExCompletion for
 hex.deeplearning.DeepLearning$DeepLearningDriver@25e994ae
 ​java.lang.RuntimeException: java.lang.RuntimeException:
 java.lang.NullPointerException
 at
 hex.deeplearning.DeepLearning$DeepLearningDriver.trainModel(DeepLearning.java:382)​

 *​DeepLearningModel.score(double[] vec) method doesn't work. *
 The predictions obtained with ​score(Frame f) and score(double[] v)
 is shown below.

 *Actual, score(Frame f), score(double[] v)*
 ​0.0, 0.0, 1.0
 1.0, 1.0, 2.0
 2.0, 2.0, 2.0
 2.0, 1.0, 2.0
 1.0, 1.0, 2.0

 As you can see, score(double[] v) is quite poor.

 After fixing above issues, everything seems to be working fine at the
 moment.

 However, the I've a concern regarding the following method in
 view-model.jag - function
 drawPredictedVsActualChart(testResultDataPointsSample)

 var actual = testResultDataPointsSample[i].predictedVsActual.actual;
 var predicted =
 testResultDataPointsSample[i].predictedVsActual.predicted;
 var labeledPredicted = labelPredicted(predicted, 0.5);

 if(actual == labeledPredicted) {
 predictedVsActualPoint[2] = 'Correct';
 }
 else {
 predictedVsActualPoint[2] = 'Incorrect';
 }

 why does it compare the *actual and labeledPredicted* where it
 should be comparing *actual and predicted*?

 Also, the *Actual vs Predicted graph for MNIST show the axis in
 Meters *(mnist.png) which doesn't make sense. I'm still looking
 into this.

 Thank you



 --
 Regards,

 Thushan Ganegedara
 School of IT
 University of Sydney, Australia




 --

 Thanks  regards,
 Nirmal

 Associate Technical Lead - Data Technologies Team, WSO2 Inc.
 Mobile: +94715779733
 Blog: http://nirmalfdo.blogspot.com/





 --
 Regards,

 Thushan Ganegedara
 School of IT
 University of Sydney, Australia




 --
 Regards,

 Thushan Ganegedara
 School of IT
 University of Sydney, Australia




 --
 *CD Athuraliya*
 Software Engineer
 WSO2, Inc.
 lean . enterprise . middleware
 Mobile: +94 716288847 94716288847
 LinkedIn http://lk.linkedin.com/in/cdathuraliya | Twitter
 https://twitter.com/cdathuraliya | Blog
 http://cdathuraliya.tumblr.com/




-- 

Thanks  regards,
Nirmal

Associate Technical Lead - Data Technologies Team, WSO2 Inc.
Mobile: +94715779733
Blog: http://nirmalfdo.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [GSoC-2015] Proposal 11: Recommendation Solution for WSO2 Machine Learner

2015-07-21 Thread Madawa Soysa
Hi,

Almost finished integrating the algorithm to the ML. I'm currently testing
and fixing some errors with it. I will give a full update in the evening.
Things left to do are we need a way to get recommendations through the REST
API and also the JavaScript client to extract data.

Thanks,
Madawa

On 22 July 2015 at 09:32, Nirmal Fernando nir...@wso2.com wrote:

 Hi Madawa,

 Could you please summarize the current status of the project and also the
 things left to do?

 On Thu, Jul 16, 2015 at 12:15 PM, Thushan Ganegedara thu...@gmail.com
 wrote:

 Hello Madawa,

 In addition to what Nirmal said, please check if there any spelling
 mistakes or case mismatches in the Algorithm Name/Algorithm Type

 Thank you

 On Thu, Jul 16, 2015 at 4:19 PM, Nirmal Fernando nir...@wso2.com wrote:

 +Thushan

 On Thu, Jul 16, 2015 at 11:42 AM, Nirmal Fernando nir...@wso2.com
 wrote:

 Hi Madawa,

 Please check
 https://github.com/thushv89/carbon-ml/commit/a76dfcfdbca157cc4ac4e175959c80ae72bd0d01

 You need to update Jag files a bit.

 On Thu, Jul 16, 2015 at 11:33 AM, Madawa Soysa madawa...@cse.mrt.ac.lk
  wrote:

 Hi Nirmal,

 I added the details of the new algorithm to the machine-learner.xml.
 But the UI doesn't show the new algorithm to select when creating an
 analysis. What would be the reason? Any idea how to fix it?

 On 6 July 2015 at 12:17, Madawa Soysa madawa...@cse.mrt.ac.lk wrote:

 Hi Nirmal,

 Thanks for the link. I will check it.

 On 6 July 2015 at 07:27, Nirmal Fernando nir...@wso2.com wrote:

 Hi Madawa,

 Please check this presentation
 https://spark-summit.org/2015/events/a-more-scalable-way-of-making-recommendations-with-mllib/

 On Thu, Jul 2, 2015 at 9:22 AM, Nirmal Fernando nir...@wso2.com
 wrote:

 Thanks Madawa.

 On Wed, Jul 1, 2015 at 11:46 PM, Madawa Soysa 
 madawa...@cse.mrt.ac.lk wrote:

 Hi Nirmal,

 I have done following work so far in the project.

- Implemented the recommendation algorithm using java and
spark. A sample source code is hosted at [1]
https://github.com/madawas/spark-recommendation

- Researched on *inferring a rating through implicit feedback
data*,  collaborative filtering with implicit feedback data
and using existing functions on spark to work with implicit data 
 and
recommending.
After reading several papers and documents, I decided to use 
 *weighted
average of product page views and purchases* as the inferred
observation as the preference value.

- Started integrating the algorithms to carbon-ml. [2]
https://github.com/madawas/carbon-ml/tree/recommendation

 [1] - https://github.com/madawas/spark-recommendation
 [2] - https://github.com/madawas/carbon-ml/tree/recommendation


 Regards,
 Madawa

 On 1 July 2015 at 22:25, Nirmal Fernando nir...@wso2.com wrote:

 Hi Madawa,

 Please send the current status/work carried out of the project,
 that will help us to set the future goals.

 On Fri, Jun 26, 2015 at 12:09 PM, Madawa Soysa 
 madawa...@cse.mrt.ac.lk wrote:

 Sure, let's meet next week.

 On 25 June 2015 at 14:44, Srinath Perera srin...@wso2.com
 wrote:

 Madawa, sorry for being late to respond. Lets planning to meet
 on week of july 07 ( I am traveling). Meet Nirmal before if needed.

 --Srinath

 On Mon, Jun 22, 2015 at 9:26 AM, Madawa Soysa 
 madawa...@cse.mrt.ac.lk wrote:

 I have lectures in Wednesday morning till 12.15. I'll be free
 after that.

 On 22 June 2015 at 09:24, Srinath Perera srin...@wso2.com
 wrote:

 Can we meet Wednesday 10.30 at WSO2 Trace office?

 On Mon, Jun 22, 2015 at 9:10 AM, Nirmal Fernando 
 nir...@wso2.com wrote:



 On Mon, Jun 22, 2015 at 9:07 AM, Madawa Soysa 
 madawa...@cse.mrt.ac.lk wrote:

 Hi,

 In this week I have researched on collaborative filtering
 with implicit feedback data (i.e session data and user 
 behavior). I have
 followed [1, 2] on this. Even though these papers provide a 
 solution we
 cannot use them since we cannot use the current implementation 
 in Spark
 with these.

 Also I researched on the possibility of inferring a rating
 using the session data and create a new data set and push to 
 spark, but
 almost all the solutions are domain specific. Since the 
 preferences are
 dependent on item attributes.

 How should I proceed? Since I have finished implementing
 the generic recommendation algorithm I can integrate this with 
 ML with a
 slight design change. Can we have a discussion on this?


 +1, let's discuss the issue in detail.


 Thanks,
 Madawa

 [1] -
 https://drive.google.com/file/d/0B5EB-AEf-NyPOHBPRWpRM3hvejA/view?usp=sharing
 [2] -
 https://drive.google.com/file/d/0B5EB-AEf-NyPbkVUV2NqZ3R5b0U/view?usp=sharing

 On 16 June 2015 at 12:00, Madawa Soysa 
 madawa...@cse.mrt.ac.lk wrote:

 Hi,

 I have developed an sample application to generate
 recommendations using Apache Spark MLlib and Java. Project 
 source code can
 be found in GitHub[1]
 https://github.com/madawas/spark-recommendation. Output
 can be taken in any format and in the current app, 

Re: [Dev] When Will be the Greg 5.0.0 new features are available in the Documentation

2015-07-21 Thread Chalitha Waldeniyage
Hi Tania,

Until you ready with new doc links, do we have any draft doc references in
order to carry on this.

Thank you,
Chalitha.


On Mon, Jul 20, 2015 at 6:00 PM, Chalitha Waldeniyage chali...@wso2.com
wrote:

 Hi,

 Currently we are following the [1] and [2] for Greg 5.0.0  Alpha testing
 and Need to have new features in Greg 5.0.0 documentation for testing.Can
 you please confirm the  $subject in order to continue the testing with new
 features.

 [1]
 https://docs.wso2.com/display/Governance500/WSO2+Governance+Registry+Documentation

 [2] https://redmine.wso2.com/milestones/20


 Thank you,
 Chalitha.


 --
 *Chalitha Maheshwari*
 Software Engineer-QA,
 WSO2 Inc.

 *E-mail:* chali...@wso2.com
 *Mobile: *+94710 411 112




-- 
*Chalitha Maheshwari*
Software Engineer-QA,
WSO2 Inc.

*E-mail:* chali...@wso2.com
*Mobile: *+94710 411 112
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [IS] Is there an API to access tenant key store

2015-07-21 Thread Chathura Priyankara
Hi,

I'm writing some test cases to test the multi-tenancy functionality in AS.
For that I want to access tenant key store after adding a tenant. Is there
any API to access tenant key store ?

Thanks,
Charhuara.
-- 
Chathura Priyankara
Software Engineer | WSO2 Inc.
Mobile : +94718795340
Blog : www.codeoncloud.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] When Will be the Greg 5.0.0 new features are available in the Documentation

2015-07-21 Thread Chalitha Waldeniyage
Hi Shazni,

I have followed [1] in readmine issues and i couldn't find any. Can you
please point me to the doc links already been added.

[1] https://redmine.wso2.com/milestones/20

On Wed, Jul 22, 2015 at 11:04 AM, Shazni Nazeer sha...@wso2.com wrote:

 Hi Chalitha,

 Until the docs are ready, you can find the documentation for features and
 improvements in the redmine it self. In the redmine there's a link to the
 document under section Documentation Link:

 Shazni Nazeer
 Mob : +94 37331
 LinkedIn : http://lk.linkedin.com/in/shazninazeer
 Blog : http://shazninazeer.blogspot.com

 On Wed, Jul 22, 2015 at 9:58 AM, Chalitha Waldeniyage chali...@wso2.com
 wrote:

 Hi Tania,

 Until you ready with new doc links, do we have any draft doc references
 in order to carry on this.

 Thank you,
 Chalitha.


 On Mon, Jul 20, 2015 at 6:00 PM, Chalitha Waldeniyage chali...@wso2.com
 wrote:

 Hi,

 Currently we are following the [1] and [2] for Greg 5.0.0  Alpha testing
 and Need to have new features in Greg 5.0.0 documentation for testing.Can
 you please confirm the  $subject in order to continue the testing with new
 features.

 [1]
 https://docs.wso2.com/display/Governance500/WSO2+Governance+Registry+Documentation

 [2] https://redmine.wso2.com/milestones/20


 Thank you,
 Chalitha.


 --
 *Chalitha Maheshwari*
 Software Engineer-QA,
 WSO2 Inc.

 *E-mail:* chali...@wso2.com
 *Mobile: *+94710 411 112




 --
 *Chalitha Maheshwari*
 Software Engineer-QA,
 WSO2 Inc.

 *E-mail:* chali...@wso2.com
 *Mobile: *+94710 411 112

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





-- 
*Chalitha Maheshwari*
Software Engineer-QA,
WSO2 Inc.

*E-mail:* chali...@wso2.com
*Mobile: *+94710 411 112
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [GSoC-2015] Proposal 11: Recommendation Solution for WSO2 Machine Learner

2015-07-21 Thread Nirmal Fernando
Ok, thanks for the update. Do you need any input from us for the remaining
tasks?

On Wed, Jul 22, 2015 at 10:06 AM, Madawa Soysa madawa...@cse.mrt.ac.lk
wrote:

 Hi,

 Almost finished integrating the algorithm to the ML. I'm currently testing
 and fixing some errors with it. I will give a full update in the evening.
 Things left to do are we need a way to get recommendations through the REST
 API and also the JavaScript client to extract data.

 Thanks,
 Madawa

 On 22 July 2015 at 09:32, Nirmal Fernando nir...@wso2.com wrote:

 Hi Madawa,

 Could you please summarize the current status of the project and also the
 things left to do?

 On Thu, Jul 16, 2015 at 12:15 PM, Thushan Ganegedara thu...@gmail.com
 wrote:

 Hello Madawa,

 In addition to what Nirmal said, please check if there any spelling
 mistakes or case mismatches in the Algorithm Name/Algorithm Type

 Thank you

 On Thu, Jul 16, 2015 at 4:19 PM, Nirmal Fernando nir...@wso2.com
 wrote:

 +Thushan

 On Thu, Jul 16, 2015 at 11:42 AM, Nirmal Fernando nir...@wso2.com
 wrote:

 Hi Madawa,

 Please check
 https://github.com/thushv89/carbon-ml/commit/a76dfcfdbca157cc4ac4e175959c80ae72bd0d01

 You need to update Jag files a bit.

 On Thu, Jul 16, 2015 at 11:33 AM, Madawa Soysa 
 madawa...@cse.mrt.ac.lk wrote:

 Hi Nirmal,

 I added the details of the new algorithm to the machine-learner.xml.
 But the UI doesn't show the new algorithm to select when creating an
 analysis. What would be the reason? Any idea how to fix it?

 On 6 July 2015 at 12:17, Madawa Soysa madawa...@cse.mrt.ac.lk
 wrote:

 Hi Nirmal,

 Thanks for the link. I will check it.

 On 6 July 2015 at 07:27, Nirmal Fernando nir...@wso2.com wrote:

 Hi Madawa,

 Please check this presentation
 https://spark-summit.org/2015/events/a-more-scalable-way-of-making-recommendations-with-mllib/

 On Thu, Jul 2, 2015 at 9:22 AM, Nirmal Fernando nir...@wso2.com
 wrote:

 Thanks Madawa.

 On Wed, Jul 1, 2015 at 11:46 PM, Madawa Soysa 
 madawa...@cse.mrt.ac.lk wrote:

 Hi Nirmal,

 I have done following work so far in the project.

- Implemented the recommendation algorithm using java and
spark. A sample source code is hosted at [1]
https://github.com/madawas/spark-recommendation

- Researched on *inferring a rating through implicit feedback
data*,  collaborative filtering with implicit feedback data
and using existing functions on spark to work with implicit data 
 and
recommending.
After reading several papers and documents, I decided to use 
 *weighted
average of product page views and purchases* as the inferred
observation as the preference value.

- Started integrating the algorithms to carbon-ml. [2]
https://github.com/madawas/carbon-ml/tree/recommendation

 [1] - https://github.com/madawas/spark-recommendation
 [2] - https://github.com/madawas/carbon-ml/tree/recommendation


 Regards,
 Madawa

 On 1 July 2015 at 22:25, Nirmal Fernando nir...@wso2.com wrote:

 Hi Madawa,

 Please send the current status/work carried out of the project,
 that will help us to set the future goals.

 On Fri, Jun 26, 2015 at 12:09 PM, Madawa Soysa 
 madawa...@cse.mrt.ac.lk wrote:

 Sure, let's meet next week.

 On 25 June 2015 at 14:44, Srinath Perera srin...@wso2.com
 wrote:

 Madawa, sorry for being late to respond. Lets planning to meet
 on week of july 07 ( I am traveling). Meet Nirmal before if 
 needed.

 --Srinath

 On Mon, Jun 22, 2015 at 9:26 AM, Madawa Soysa 
 madawa...@cse.mrt.ac.lk wrote:

 I have lectures in Wednesday morning till 12.15. I'll be free
 after that.

 On 22 June 2015 at 09:24, Srinath Perera srin...@wso2.com
 wrote:

 Can we meet Wednesday 10.30 at WSO2 Trace office?

 On Mon, Jun 22, 2015 at 9:10 AM, Nirmal Fernando 
 nir...@wso2.com wrote:



 On Mon, Jun 22, 2015 at 9:07 AM, Madawa Soysa 
 madawa...@cse.mrt.ac.lk wrote:

 Hi,

 In this week I have researched on collaborative filtering
 with implicit feedback data (i.e session data and user 
 behavior). I have
 followed [1, 2] on this. Even though these papers provide a 
 solution we
 cannot use them since we cannot use the current 
 implementation in Spark
 with these.

 Also I researched on the possibility of inferring a rating
 using the session data and create a new data set and push to 
 spark, but
 almost all the solutions are domain specific. Since the 
 preferences are
 dependent on item attributes.

 How should I proceed? Since I have finished implementing
 the generic recommendation algorithm I can integrate this 
 with ML with a
 slight design change. Can we have a discussion on this?


 +1, let's discuss the issue in detail.


 Thanks,
 Madawa

 [1] -
 https://drive.google.com/file/d/0B5EB-AEf-NyPOHBPRWpRM3hvejA/view?usp=sharing
 [2] -
 https://drive.google.com/file/d/0B5EB-AEf-NyPbkVUV2NqZ3R5b0U/view?usp=sharing

 On 16 June 2015 at 12:00, Madawa Soysa 
 madawa...@cse.mrt.ac.lk wrote:

 Hi,

 I have developed an sample application to generate
 recommendations using Apache Spark 

[Dev] [IS 5.1.0] Make the sample directory names consistent

2015-07-21 Thread Prabath Siriwardena
Some are lowercase and some are uppercase - better to follow the convention
of using all lower case names.


├── identity-mgt
│   └── InfoRecoverySample
│   └── src
├── mobile-proxy-idp
│   ├── android
│   │   ├── azone
│   │   └── ebuy
│   └── ios
│   ├── AZone
│   └── eBuy
├── oauth
│   └── oauth10a-resource-owner-equivalent
│   └── src
├── oauth2
│   └── playground2
│   └── src
├── openid
│   └── openid-client
│   └── src
├── passive-sts
│   └── passive-sts-client
│   ├── PassiveSTSFilter
│   └── PassiveSTSSampleApp
├── scim
│   └── scim-provisioning
│   └── src
├── sso
│   └── SSOAgentSample
│   └── src
├── sts
│   └── sts-client
│   └── src
├── user-mgt
│   ├── SampleCustomeUserStoreManager
│   │   ├── docs
│   │   └── src
│   └── remote-user-mgt
│   └── src
└── xacml
└── kmarket-trading-sample
├── resources
└── src

42 directories


-- 
Thanks  Regards,
Prabath

Twitter : @prabath
LinkedIn : http://www.linkedin.com/in/prabathsiriwardena

Mobile : +1 650 625 7950

http://blog.facilelogin.com
http://blog.api-security.org
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Get and Set permissions for Role

2015-07-21 Thread Lakshani Gamage
Hi Charitha,

You can use following OSGi Service.

*org.wso2.carbon.user.core.service.RealmService*

Then you can get AuthorizationManager from the Service as below.

*int tenantID = realmService.getTenantManager().getTenantId(domainName); *
*UserRealm userRealm = realmService.getTenantUserRealm(tenantID);*
*AuthorizationManager authorizationManager =
userRealm.getAuthorizationManager();*


From the AuthorizationManager, you can get and set permissions.

Thank You.
Lakshani.

On Wed, Jul 22, 2015 at 7:48 AM, Charitha Goonetilleke charit...@wso2.com
wrote:

 Hi All,

 I need to get and set permissions for Role via OSGi service. Is there any
 way to get it?

 --
 *Charitha Goonetilleke*
 Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 mobile: +94 77 751 3669 %2B94777513669
 Twitter:@CharithaWs https://twitter.com/CharithaWs, fb: charithag
 https://www.facebook.com/charithag, linkedin: charithag
 http://www.linkedin.com/in/charithag

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




-- 
Lakshani Gamage

*Software Engineer*
Mobile : +94 (0) 71 5478184 %2B94%20%280%29%20773%20451194
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [GSoC-2015] Proposal 11: Recommendation Solution for WSO2 Machine Learner

2015-07-21 Thread Nirmal Fernando
Hi Madawa,

Could you please summarize the current status of the project and also the
things left to do?

On Thu, Jul 16, 2015 at 12:15 PM, Thushan Ganegedara thu...@gmail.com
wrote:

 Hello Madawa,

 In addition to what Nirmal said, please check if there any spelling
 mistakes or case mismatches in the Algorithm Name/Algorithm Type

 Thank you

 On Thu, Jul 16, 2015 at 4:19 PM, Nirmal Fernando nir...@wso2.com wrote:

 +Thushan

 On Thu, Jul 16, 2015 at 11:42 AM, Nirmal Fernando nir...@wso2.com
 wrote:

 Hi Madawa,

 Please check
 https://github.com/thushv89/carbon-ml/commit/a76dfcfdbca157cc4ac4e175959c80ae72bd0d01

 You need to update Jag files a bit.

 On Thu, Jul 16, 2015 at 11:33 AM, Madawa Soysa madawa...@cse.mrt.ac.lk
 wrote:

 Hi Nirmal,

 I added the details of the new algorithm to the machine-learner.xml.
 But the UI doesn't show the new algorithm to select when creating an
 analysis. What would be the reason? Any idea how to fix it?

 On 6 July 2015 at 12:17, Madawa Soysa madawa...@cse.mrt.ac.lk wrote:

 Hi Nirmal,

 Thanks for the link. I will check it.

 On 6 July 2015 at 07:27, Nirmal Fernando nir...@wso2.com wrote:

 Hi Madawa,

 Please check this presentation
 https://spark-summit.org/2015/events/a-more-scalable-way-of-making-recommendations-with-mllib/

 On Thu, Jul 2, 2015 at 9:22 AM, Nirmal Fernando nir...@wso2.com
 wrote:

 Thanks Madawa.

 On Wed, Jul 1, 2015 at 11:46 PM, Madawa Soysa 
 madawa...@cse.mrt.ac.lk wrote:

 Hi Nirmal,

 I have done following work so far in the project.

- Implemented the recommendation algorithm using java and
spark. A sample source code is hosted at [1]
https://github.com/madawas/spark-recommendation

- Researched on *inferring a rating through implicit feedback
data*,  collaborative filtering with implicit feedback data and
using existing functions on spark to work with implicit data and
recommending.
After reading several papers and documents, I decided to use 
 *weighted
average of product page views and purchases* as the inferred
observation as the preference value.

- Started integrating the algorithms to carbon-ml. [2]
https://github.com/madawas/carbon-ml/tree/recommendation

 [1] - https://github.com/madawas/spark-recommendation
 [2] - https://github.com/madawas/carbon-ml/tree/recommendation


 Regards,
 Madawa

 On 1 July 2015 at 22:25, Nirmal Fernando nir...@wso2.com wrote:

 Hi Madawa,

 Please send the current status/work carried out of the project,
 that will help us to set the future goals.

 On Fri, Jun 26, 2015 at 12:09 PM, Madawa Soysa 
 madawa...@cse.mrt.ac.lk wrote:

 Sure, let's meet next week.

 On 25 June 2015 at 14:44, Srinath Perera srin...@wso2.com
 wrote:

 Madawa, sorry for being late to respond. Lets planning to meet
 on week of july 07 ( I am traveling). Meet Nirmal before if needed.

 --Srinath

 On Mon, Jun 22, 2015 at 9:26 AM, Madawa Soysa 
 madawa...@cse.mrt.ac.lk wrote:

 I have lectures in Wednesday morning till 12.15. I'll be free
 after that.

 On 22 June 2015 at 09:24, Srinath Perera srin...@wso2.com
 wrote:

 Can we meet Wednesday 10.30 at WSO2 Trace office?

 On Mon, Jun 22, 2015 at 9:10 AM, Nirmal Fernando 
 nir...@wso2.com wrote:



 On Mon, Jun 22, 2015 at 9:07 AM, Madawa Soysa 
 madawa...@cse.mrt.ac.lk wrote:

 Hi,

 In this week I have researched on collaborative filtering
 with implicit feedback data (i.e session data and user 
 behavior). I have
 followed [1, 2] on this. Even though these papers provide a 
 solution we
 cannot use them since we cannot use the current implementation 
 in Spark
 with these.

 Also I researched on the possibility of inferring a rating
 using the session data and create a new data set and push to 
 spark, but
 almost all the solutions are domain specific. Since the 
 preferences are
 dependent on item attributes.

 How should I proceed? Since I have finished implementing the
 generic recommendation algorithm I can integrate this with ML 
 with a slight
 design change. Can we have a discussion on this?


 +1, let's discuss the issue in detail.


 Thanks,
 Madawa

 [1] -
 https://drive.google.com/file/d/0B5EB-AEf-NyPOHBPRWpRM3hvejA/view?usp=sharing
 [2] -
 https://drive.google.com/file/d/0B5EB-AEf-NyPbkVUV2NqZ3R5b0U/view?usp=sharing

 On 16 June 2015 at 12:00, Madawa Soysa 
 madawa...@cse.mrt.ac.lk wrote:

 Hi,

 I have developed an sample application to generate
 recommendations using Apache Spark MLlib and Java. Project 
 source code can
 be found in GitHub[1]
 https://github.com/madawas/spark-recommendation. Output
 can be taken in any format and in the current app, I'm 
 printing the output
 to the console. The data set used can be found here[2]
 https://drive.google.com/open?id=0B5EB-AEf-NyPflRteEhzNmxFOGpROEFNbWJRa0VTcU5MeEg5WVcya1JIbGM5LVhrU3VXNTQauthuser=0.
 Please look in to this and provide feedback.

 Next I'm going to modify the application to read data from
 implicit data (page views, likes, time spent on page) and 
 infer 

[Dev] [BPS] Pull request: UI fixes

2015-07-21 Thread Sharon David
Hi,

Changes made to the BPMN and Humantask Explorer is in the bellow mentioned
PR
Let me know if there is anything else thats needs to be done.

Please check and merge the PR [1
https://github.com/wso2/carbon-business-process/pull/107]

1. https://github.com/wso2/carbon-business-process/pull/107
https://github.com/wso2/carbon-business-process/pull/107

-- 
Sharon David
Software Engineer - UI/UX  |   WSO2 Inc

+94 777 668 411  |  shar...@wso2.com  |   http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [APIM] Error in using WSO2 OAuth2 Playground with APIM 1.9.0

2015-07-21 Thread Priyadarssini Kishokumar
Hi,

I created an api  application with callback url 
http://localhost:8080/playground2.0/oauth2client;.
I'm using playground2.0 with tomcat. When I tried to authorize with the
needed parameters in playground, I'm getting below error.
 *invalid_callback*Registered callback does not match with the provided url.
I enabled debug logs  noticed the callback url is null in registered App
as below.



*[2015-07-21 11:27:35,055] DEBUG - OAuth2Service Validate Client
information request for client_id : dKwiXdK4OpFMzYbcBMshiSHquIYa and
callback_uri http://localhost:8080/playground2.0/oauth2client
http://localhost:8080/playground2.0/oauth2client*


*[2015-07-21 11:27:35,057] DEBUG - OAuthServerConfiguration An instance of
org.wso2.carbon.identity.oauth.tokenprocessor.PlainTextPersistenceProcessor
is created for OAuthServerConfiguration.*
*[2015-07-21 11:27:35,059] DEBUG - OAuth2Service Registered App found for
the given Client Id : dKwiXdK4OpFMzYbcBMshiSHquIYa ,App Name :
admin_aaa_PRODUCTION, Callback URL :*


I tried the same in AM 1.7.0  it is working fine. Is it a bug in AM 1.9.0
or do we need any additional configuration?



-- 
Priya Kishok
Software Engineer
WSO2, Inc : http://wso2.com
Mob : +94774457404
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [APIM] Error in using WSO2 OAuth2 Playground with APIM 1.9.0

2015-07-21 Thread Nuwan Dias
Did you provide the call back url of the Application at the time of
creating the Application or did you provide it by updating the Application
after you generated keys?

Thanks,
NuwanD.

On Tue, Jul 21, 2015 at 11:38 AM, Priyadarssini Kishokumar 
priyadarss...@wso2.com wrote:

 Hi,

 I created an api  application with callback url 
 http://localhost:8080/playground2.0/oauth2client;.
 I'm using playground2.0 with tomcat. When I tried to authorize with the
 needed parameters in playground, I'm getting below error.
  *invalid_callback*Registered callback does not match with the provided
 url.
 I enabled debug logs  noticed the callback url is null in registered App
 as below.



 *[2015-07-21 11:27:35,055] DEBUG - OAuth2Service Validate Client
 information request for client_id : dKwiXdK4OpFMzYbcBMshiSHquIYa and
 callback_uri http://localhost:8080/playground2.0/oauth2client
 http://localhost:8080/playground2.0/oauth2client*


 *[2015-07-21 11:27:35,057] DEBUG - OAuthServerConfiguration An instance of
 org.wso2.carbon.identity.oauth.tokenprocessor.PlainTextPersistenceProcessor
 is created for OAuthServerConfiguration.*
 *[2015-07-21 11:27:35,059] DEBUG - OAuth2Service Registered App found for
 the given Client Id : dKwiXdK4OpFMzYbcBMshiSHquIYa ,App Name :
 admin_aaa_PRODUCTION, Callback URL :*


 I tried the same in AM 1.7.0  it is working fine. Is it a bug in AM 1.9.0
 or do we need any additional configuration?



 --
 Priya Kishok
 Software Engineer
 WSO2, Inc : http://wso2.com
 Mob : +94774457404

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




-- 
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] Could not find WF components in the latest IS build from the trunk

2015-07-21 Thread Prabath Siriwardena
$subject


Thanks  Regards,
Prabath

Twitter : @prabath
LinkedIn : http://www.linkedin.com/in/prabathsiriwardena

Mobile : +1 650 625 7950

http://blog.facilelogin.com
http://blog.api-security.org
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [AppM] App manager-1.1.0 with Carbon 4.4.0 upgrade status

2015-07-21 Thread Prabath Abeysekera
Excellent stuff! Thanks Ruwan!

Let me too give it a try and confirm if everything works as expected.

Cheers,
Prabath

On Tue, Jul 21, 2015 at 3:37 PM, Ruwan Abeykoon ruw...@wso2.com wrote:

 Hi All,
 I am glad to announce that the Carbon 4.4.0 migration along with version
 bump up to 1.1.0 (1.1.0-SNAPSHOT) has been done.

 How to build.

 1. Get the enterprise store [3] switch to branch app-manager. Build it.
 This is needed as the relevant ES version is not released yet.
 2. Get the carbon-appmgt [2] and switch to
 branch carbon-4.4.0-migration. Build it
 3. Get the product-appmanager [1] and switch to branch
 carbon-4.4.0-migration. Build it.
 4. The pack will be generated at
 product-app-manager/modules/distribution/product/target/wso2appm-1.1.0-SNAPSHOT.zip.
 Unzip and run as normal WSO2 product.

 Known Issues.
 1. The pagination at Store shows Next link even when there are no more
 applications. This is due to change in Registry and need to be fixed in
 AppM store.

 [1] https://github.com/wso2/product-app-manager
 https://github.com/wso2/product-app-manager/tree/carbon-4.4.0-migration
 [2] https://github.com/wso2/carbon-appmgt
 https://github.com/wso2/carbon-appmgt/tree/carbon-4.4.0-migration
 [3] https://github.com/wso2/product-es
 https://github.com/wso2/product-es/tree/app-manager

 Cheers,
 Ruwan


 On Mon, Jul 20, 2015 at 9:57 PM, Prabath Abeysekera praba...@wso2.com
 wrote:

 Great! Hope the changes can be committed soon so that the CDM team can
 then fully integrate Mobile App Management features and start testing
 things out end-to-end.

 Cheers,
 Prabath

 On Mon, Jul 20, 2015 at 9:56 AM, Ruwan Abeykoon ruw...@wso2.com wrote:

 Hi Prabath,
 The problem is isolated. Issue is having wadl and jaxb jars as bundles.
 Removing one of the bundles causes the problem disappear.
 I will work with governance/carbon teams to get a resolution.

 Cheers,
 Ruwan



 On Sat, Jul 18, 2015 at 11:18 AM, Prabath Abeysekera praba...@wso2.com
 wrote:

 Hi Ruwan,

 Did we manage to fix this?

 Cheers,
 Prabath

 On Wed, Jul 15, 2015 at 7:54 PM, Ruwan Abeykoon ruw...@wso2.com
 wrote:

 Hi All,
 Yet another update on $subject
 The intermittent classloader issue could not be resolved yet. Here are
 few observations.

 The jaggery application calls the CarbonWebappClassloader to lookup a
 class in governance API bundle. This fails.
 However the same class is properly loaded via different bundle (Say
 WebappManagment) classloader which is not initially loaded via
 Tomcat/Jaggary app.
 No issue found in launch.ini. No apparent conflicting bundles or
 unsatisfied dependencies. There were few duplicate packaged exported by
 different bundles, but seems they are not causing the issue.

 I am working with Sameera  to find the underlying cause.

 I am unable to create a PR with the version change due to above issue.

 Cheers,
 Ruwan

 On Wed, Jul 8, 2015 at 11:28 AM, Ruwan Abeykoon ruw...@wso2.com
 wrote:

 Hi Team,
 I would like to update you on $subject

 1. All the module versions are bumped up to 1.1.0-SNAPSHOT
 2. Removed all the carbon 4.2.0 and related features which depend on
 C 4.2.0 and added Carbon 4.4.0 kernel and other features compatible with
 Carbon 4.4.0 (registry, governance, mediation, Jaggery, etc).
 3. Forked ES for C 4.4.0 version bump up, upgraded the dependencies,
 Had to change few classes in ES to be able to get it compatible with
 governance 4.5.1.
 4. Changed few classes and jaggery files which needed to be changed
 due to method signature changes in registry
 (e.g. GenericArtifact.invokeAction(...)).

 Current Status with Carbon 4.4.0
 1. AppM builds and starts successfully
 2. Can create web applications, publish and subscribe.

 Present Issues which I am working on.
 1. Intermittent, Classloader or similar issue in loading
 org.wso2.carbon.governance.api.generic [1]
 2. Need to test most of other areas(mobile apps, policy, throttling)
 3. At the moment, update synapse config to the gateway is failing.
 4. Clean up the code which had experimental/debug code
 5. Remove unwanted/duplicate jaggery modules [2]

 None of the changes are committed to any public repository yet.


 [1] Mail thread [Dev]Class Loading issue in Jaggery, Carbon 4.4.0
 [2] Mail thread  [Dev][AppM] Removing multiple modules directories

 --

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

 email: ruw...@wso2.com
 phone:(+94) 39736




 --

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

 email: ruw...@wso2.com
 phone:(+94) 39736




 --
 Prabath Abeysekara
 Technical Lead
 WSO2 Inc.
 Email: praba...@wso2.com
 Mobile: +94774171471




 --

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

 email: ruw...@wso2.com
 phone:(+94) 39736




 --
 Prabath Abeysekara
 Technical Lead
 WSO2 Inc.
 Email: praba...@wso2.com
 Mobile: 

Re: [Dev] Please review and merge

2015-07-21 Thread Malaka Silva
Hi Elilmatha,

Why the test cases are disabled?

On Tue, Jul 21, 2015 at 10:01 AM, Elilmatha Sivanesan elilma...@wso2.com
wrote:

 Hi Malaka,

 Please review and merge PR [1]

 [1]
 https://github.com/wso2/esb-connectors/pull/240

 Thank you.
 https://github.com/wso2/esb-connectors/pull/240

 --
 *S.Elilmatha*
 Associate  Software Engineer,

 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 Mobile 0779842221.




-- 

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] Please review and merge

2015-07-21 Thread Elilmatha Sivanesan
Hi Malaka,

I have made changes in 3 tests.

Tumblr - testTumblrGetBlogInfo not disabled but changed according to the
response.

Delicious - testOauthDeliciouspostGetAllWithMandatoryParameters disabled in
order to automate since it is used for a trail account. But can be
automated with Basic authentication (which is currently used).

Mandril - testSearchMessageContentWithMandatoryParameters disabled in order
to automate - need to make an api call to send a message (specified in
readme).

Thank you.

On Tue, Jul 21, 2015 at 3:41 PM, Malaka Silva mal...@wso2.com wrote:

 Hi Elilmatha,

 Why the test cases are disabled?

 On Tue, Jul 21, 2015 at 10:01 AM, Elilmatha Sivanesan elilma...@wso2.com
 wrote:

 Hi Malaka,

 Please review and merge PR [1]

 [1]
 https://github.com/wso2/esb-connectors/pull/240

 Thank you.
 https://github.com/wso2/esb-connectors/pull/240

 --
 *S.Elilmatha*
 Associate  Software Engineer,

 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 Mobile 0779842221.




 --

 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.




-- 
*S.Elilmatha*
Associate  Software Engineer,

WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

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


[Dev] Maven site plugin version on IS 5.1.0 build

2015-07-21 Thread Prabath Siriwardena
I got the following error while building from the latest trunk

[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-site-plugin:3.0:site
(create-documentation-module) on project wso2is: Execution
create-documentation-module of goal
org.apache.maven.plugins:maven-site-plugin:3.0:site failed: A required
class was missing while executing
org.apache.maven.plugins:maven-site-plugin:3.0:site:
org/sonatype/aether/graph/DependencyFilter

There are two versions of the plugin being used within the product

modules/documentation/pom.xml - 2.0-beta-5
modules/distribution/pom.xml - 3.0

Had to update both the versions to 3.3 to fix the issue.

Thanks  Regards,
Prabath

Twitter : @prabath
LinkedIn : http://www.linkedin.com/in/prabathsiriwardena

Mobile : +1 650 625 7950

http://blog.facilelogin.com
http://blog.api-security.org
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [IS 5.1.0] Changes to the IS main menu

2015-07-21 Thread Prabath Siriwardena
+1 to move Users  Roles, Claim Management and User Store Management into
the IS main menu.

Can we move all three under the Manage sub menu..

Manage

--Users and Roles
- User Stores
- Claims


Thanks  Regards,
Prabath

Twitter : @prabath
LinkedIn : http://www.linkedin.com/in/prabathsiriwardena

Mobile : +1 650 625 7950

http://blog.facilelogin.com
http://blog.api-security.org
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DEV] java.lang.IllegalStateException: Trying to set the domain from 1 to 2

2015-07-21 Thread Malaka Silva
Any update on this?

On Mon, Jul 13, 2015 at 10:35 AM, Malaka Silva mal...@wso2.com wrote:

 Hi Carbon Team,

 Any update on this?

 On Thu, Jul 2, 2015 at 12:11 PM, Malaka Silva mal...@wso2.com wrote:

 Hi Carbon Team,

 I have reproduced the issue and have done a fix.

 Please review and merge.

 Related jira's [1] and [2]. Fix with [3]

 [1] https://wso2.org/jira/browse/ESBJAVA-3801
 [2] https://wso2.org/jira/browse/CARBON-15294
 [3] https://github.com/wso2/carbon4-kernel/pull/264

 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 mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DEV] java.lang.IllegalStateException: Trying to set the domain from 1 to 2

2015-07-21 Thread Malaka Silva
Hi Carbon Team,

Please review and merge this before the next release.

On Tue, Jul 21, 2015 at 4:29 PM, Malaka Silva mal...@wso2.com wrote:

 Any update on this?

 On Mon, Jul 13, 2015 at 10:35 AM, Malaka Silva mal...@wso2.com wrote:

 Hi Carbon Team,

 Any update on this?

 On Thu, Jul 2, 2015 at 12:11 PM, Malaka Silva mal...@wso2.com wrote:

 Hi Carbon Team,

 I have reproduced the issue and have done a fix.

 Please review and merge.

 Related jira's [1] and [2]. Fix with [3]

 [1] https://wso2.org/jira/browse/ESBJAVA-3801
 [2] https://wso2.org/jira/browse/CARBON-15294
 [3] https://github.com/wso2/carbon4-kernel/pull/264

 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 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] BAM: new reports screens lose state

2015-07-21 Thread John Hawkins
Hi,
Any thoughts folks?

thanks,
John.

John Hawkins
Director: Solutions Architecture


On Fri, Jul 17, 2015 at 9:42 AM, John Hawkins jo...@wso2.com wrote:

 Hi Folks,
 Just playing with BAM and when I tools-report-add I lose data when I go
 back and forth between screens - follows is the scenario.

 Adding a table report - fill out step 1 (name of report, table name,
 field names etc.) click next.
 On step 2 click back which takes me back to step 1 but all the data
 has been lost.

 I tried this same scenario when creating a bar chart report type as well -
 it too loses *some* data when I go back from step 2 to step 1 - but it does
 retain just the name.

 I haven't tried any of the other report types but I'm guessing that they
 need to be checked too to ensure that data gets shown when moving between
 steps?

 I don't know what method we use for retaining data between screens but it
 doesn't appear to be consistent across report types? Shall I create a JIRA
 or has someone already noted/tackled this (I'm using BAM release 2.5)


 many thanks !
 John.

 John Hawkins
 Director: Solutions Architecture


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


[Dev] [ES] Please merge PR (For App Manager 1.1.0)

2015-07-21 Thread Ruwan Abeykoon
Hi ES team,

Please review and merge the PR [1].
This contains version bump-up for AppManager with Carbon 4.4.0 dependencies.

Please refer mail thread [Dev][ES][AppM] New branch on ES for Upgrading
AppM Carbon 4.4.0 Java 7 [2]

[1] https://github.com/wso2/product-es/pull/172
[2] http://mail.wso2.org/mailarchive/dev/2015-July/051406.html

-- 

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

email: ruw...@wso2.com
phone:(+94) 39736
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [ES] Please merge PR (For App Manager 1.1.0)

2015-07-21 Thread Udara Rathnayake
Hi Ruwan,

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


Re: [Dev] Failover Endpoint function is not working in APIM 1.9.0

2015-07-21 Thread Saneth Dharmakeerthi
Thanks Kishanthan for the information.

Lasitha,

Please try this out with given instruction.(Try it manually and see). If it
success, You can continue with the failover test case.

Thanks and Best Regards,

Saneth Dharmakeerthi
Senior Software Engineer
WSO2, Inc.
Mobile: +94772325511

On Tue, Jul 21, 2015 at 10:18 AM, Kishanthan Thangarajah 
kishant...@wso2.com wrote:



 On Thu, Jul 9, 2015 at 5:36 PM, Evanthika Amarasiri evanth...@wso2.com
 wrote:

 Hi Saneth,

 On Thu, Jul 9, 2015 at 7:48 AM, Saneth Dharmakeerthi sane...@wso2.com
 wrote:

 Hi Evanthika,

 Why is service is deactivation is not a failover scenario?, The
 main problem here is the server return HTTP 200 for a URL which is not
 there. Here there might not be problem in Failover function, but as i see
 there is issue with web application deployment function.


 I had an offline chat with Kicha and he explained the reason for this. So
 when we ‘Stop’ a service, it removes the relevant service context from
 Tomcat. And when you invoke this service, it would respond with a HTTP 302
 redirection to Carbon (The same behaviour can be observed when you undeploy
 services too he explained). So the way Carbon is written is that when a
 context is not available, it redirects to the default /carbon ctx. Hence
 the reason for this behaviour.


 Adding more to the above.

 We could change this behaviour by configuring the default value of root
 context to a different value, if we expect to have 404 for non existing
 contexts (webapps). Else this will always return a 302 with the redirection
 to /carbon webapp.


 Regards,
 Evanthika


 After web application un-deploy if we access the web application why it
 navigate to carbon login page ? we can't expect all the time client side to
 use a web browser to  assess a web application. In our case the web app is
 a REST web service where it is accessed by a Java client or CURL.



 Thanks and Best Regards,

 Saneth Dharmakeerthi
 Senior Software Engineer
 WSO2, Inc.
 Mobile: +94772325511

 On Wed, Jul 8, 2015 at 6:54 PM, Lasitha Deergawansa lasi...@wso2.com
 wrote:

 I have tried this with different servers as backends  and failover
 endpoint function is working fine.

 On Wed, Jul 8, 2015 at 5:55 PM, Evanthika Amarasiri evanth...@wso2.com
  wrote:

 I got Lasitha's web apps and tried to recreate the issue.

 In his scenario, he's deactivating the service from the UI. Once the
 service is deactivated, when you send a request to that endpoint, it
 redirects you to the Carbon login page with a HTTP 200 OK.

 Response headers:
 HTTP/1.1 200 OK
 Set-Cookie: JSESSIONID=BF80113B54C712FAA4810A027BA1CB03; Path=/;
 Secure; HttpOnly
 X-FRAME-OPTIONS: DENY
 Content-Type: text/html;charset=UTF-8
 Content-Language: en-US
 Transfer-Encoding: chunked
 Vary: Accept-Encoding
 Date: Wed, 08 Jul 2015 12:18:01 GMT
 Server: WSO2 Carbon Server

 So it actually does not consider it as a failed scenario. That is why
 it's not failing over.

 @Lasith, could you kindly try with an actual scenario where the
 endpoint fails?

 Regards,
 Evanthika

 On Wed, Jul 8, 2015 at 2:03 PM, Lasitha Deergawansa lasi...@wso2.com
 wrote:

 Hi All,

 I'm in process of automating Failover end point function test case -
 APIM-45  [1] and figured out the Failover Endpoint function is not 
 working
 in APIM 1.9.0. This is a blocker for the completion of the test case.
 Tracking purpose I have created a JIRA  APIMANAGER-3967  [2]

 Steps to recreate:
 1. Create, Publish and Subscribe a API with Endpoint Type=Failover
 Endpoint with a production endpoint and multiple production failover
 endpoints.
 2. Send a request to the API and it will correctly invoked the
 production end point.
 3. Make the production end point unavailable and send the request
 again
 4. No response from the API.




 [1]
 https://testlink.wso2.com/linkto.php?tprojectPrefix=APIMitem=testcaseid=APIM-45
 [2] https://wso2.org/jira/browse/APIMANAGER-3967



 Thanks  Best Regards,
 Lasitha.






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




 --
 *Kishanthan Thangarajah*
 Associate Technical Lead,
 Platform Technologies Team,
 WSO2, Inc.
 lean.enterprise.middleware

 Mobile - +94773426635
 Blog - *http://kishanthan.wordpress.com http://kishanthan.wordpress.com*
 Twitter - *http://twitter.com/kishanthan http://twitter.com/kishanthan*

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


Re: [Dev] [APIM] Error in using WSO2 OAuth2 Playground with APIM 1.9.0

2015-07-21 Thread Priyadarssini Kishokumar
Hi,

I gave the url when the time of creating the application. The same way I
tested with AM 1.7.0.

On Tue, Jul 21, 2015 at 11:44 AM, Nuwan Dias nuw...@wso2.com wrote:

 Did you provide the call back url of the Application at the time of
 creating the Application or did you provide it by updating the Application
 after you generated keys?

 Thanks,
 NuwanD.

 On Tue, Jul 21, 2015 at 11:38 AM, Priyadarssini Kishokumar 
 priyadarss...@wso2.com wrote:

 Hi,

 I created an api  application with callback url 
 http://localhost:8080/playground2.0/oauth2client;.
 I'm using playground2.0 with tomcat. When I tried to authorize with the
 needed parameters in playground, I'm getting below error.
  *invalid_callback*Registered callback does not match with the provided
 url.
 I enabled debug logs  noticed the callback url is null in registered App
 as below.



 *[2015-07-21 11:27:35,055] DEBUG - OAuth2Service Validate Client
 information request for client_id : dKwiXdK4OpFMzYbcBMshiSHquIYa and
 callback_uri http://localhost:8080/playground2.0/oauth2client
 http://localhost:8080/playground2.0/oauth2client*


 *[2015-07-21 11:27:35,057] DEBUG - OAuthServerConfiguration An instance
 of
 org.wso2.carbon.identity.oauth.tokenprocessor.PlainTextPersistenceProcessor
 is created for OAuthServerConfiguration.*
 *[2015-07-21 11:27:35,059] DEBUG - OAuth2Service Registered App found for
 the given Client Id : dKwiXdK4OpFMzYbcBMshiSHquIYa ,App Name :
 admin_aaa_PRODUCTION, Callback URL :*


 I tried the same in AM 1.7.0  it is working fine. Is it a bug in AM
 1.9.0 or do we need any additional configuration?



 --
 Priya Kishok
 Software Engineer
 WSO2, Inc : http://wso2.com
 Mob : +94774457404

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




 --
 Nuwan Dias

 Technical Lead - WSO2, Inc. http://wso2.com
 email : nuw...@wso2.com
 Phone : +94 777 775 729




-- 
Priya Kishok
Software Engineer
WSO2, Inc : http://wso2.com
Mob : +94774457404
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] how to register an event in user signup for ES extension

2015-07-21 Thread Lalaji Sureshika
Hi Udara,

On Mon, Jul 20, 2015 at 11:01 PM, Udara Rathnayake uda...@wso2.com wrote:

 Hi All,

 Self sign-up handles within SSO app on our side not through the store or
 publisher. Above approach will work if we are to use the OOTB provided
 setup(store/publishred SSOed with sso app). But will break once configured
 with an external IDP.


 I think keeping self signup component in SSO app is not correct.It has to
be part of Store/Publisher/common..For example,consider how current APIM
Store and Publisher works in both SSO enabled/disabled scenarios with
having self signup feature.IMO,same behaviour has to be support from ES
store and publisher as well.

Our requirement is to set an asset specific permission
['API'-'Subscribe'],when a user signup to store either SSO
enabled/disabled.So from ES side there has to be a signup component which
works in both SSO enabled/disabled mode and which is able to set asset
specific permissions in to the signup user.

Thanks;



 Regards,
 UdaraR

 On Tue, Jul 21, 2015 at 6:49 AM, Lalaji Sureshika lal...@wso2.com wrote:

 Hi Sameera,

 On Jul 20, 2015 9:32 PM, Sameera Medagammaddegedara samee...@wso2.com
 wrote:
 
  Hi Lakshman,
 
 
  Could we not do this in the onUserLoggedIn callback itself after
 checking if the logged in user already has the subscriber role or not?

 We can't use this approach,because then for any user tries to login to
 store,we are setting the subscriber role,which is incorrect..

 Shouldn't all store sign-up users have the subscriber role? Can there be
 store logged-in users without having the subscriber role?


 
 
  Thank You,
  Sameera
 
  On Mon, Jul 20, 2015 at 6:10 AM, Lakshman Udayakantha 
 lakshm...@wso2.com wrote:
 
  Couldn't add onLogin function is used in extension in previous mail.
 sorry for that. find it below.
 
  onUserLoggedIn : function(){
  var userName=ctx.username;
  var apistore =
 require('apistore').apistore.instance(userName);
  var subscriber=apistore.getSubscriber(userName);
  if(!subscriber){
  apistore.addSubscriber(userName,ctx.tenantId);
  }
  },
 
  additionally, found below function
 
   event.on('userRegister', function (tenantId, user) {
  log.info(user
 registering...);
  configs(tenantId).userRoles.forEach(function (role) {
  if (user.hasRoles([role])) {
  return;
  }
  user.addRoles([role]);
  });
  });
 
  It should be call on user signup. But it calls on first login for the
 users who signed up. Any way I can't change that function to add subscriber
 role to users because this function found in store/module/store.js file
 which is not in extension directory. simply this function reside in ES code
 and adding subscriber role to users should happen in extension because that
 functionality is specific to API store.
 
  Thanks
 
  On Mon, Jul 20, 2015 at 3:05 PM, Lakshman Udayakantha 
 lakshm...@wso2.com wrote:
 
  Hi Sameera/ES Team,
 
  I am working on [1]. I want to add to users who sign up in store, the
 subscriber role.
  Below function is used to add users as subscribers in their first
 login to subscriber tables in asset.js function in store extension. similar
 requirement needs for signup as well. how do I achieve this?
 
  [1] https://wso2.org/jira/browse/REGISTRY-2683
 
  Thanks
  --
  Lakshman Udayakantha
  WSO2 Inc. www.wso2.com
  lean.enterprise.middleware
  Mobile: 0711241005
 
 
 
 
  --
  Lakshman Udayakantha
  WSO2 Inc. www.wso2.com
  lean.enterprise.middleware
  Mobile: 0711241005
 
 
 
 
  --
  Sameera Medagammaddegedara
  Software Engineer
 
  Contact:
  Email: samee...@wso2.com
  Mobile: + 94 077 255 3005





-- 
Lalaji Sureshika
WSO2, Inc.;  http://wso2.com/
email: lal...@wso2.com; cell: +94 71 608 6811
blog: http://lalajisureshika.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [DEV][DevStudio] Please review and merge the PR for Fixing Tools-2926

2015-07-21 Thread Nuwan Pallewela
Hi ,
Please review and merge PR [1] and [2]-
 Tools-2926 : Cannot browse security policies from workspace for BPEL
Apply security wizard.
[1] https://github.com/wso2/developer-studio/pull/79
[2] https://github.com/wso2/developer-studio/pull/78

Following are the major changes done in this pull request.

   - Created a new package as
   org.wso2.developerstudio.eclipse.artifact.bpel.dialogs in
   org.wso2.developerstudio.eclipse.artifact.bpel/src
   - New class file named RegistryResourseFileProviderDialog was created
   which extends DeveloperStudioElementProviderDialog class in package
   org.wso2.developerstudio.eclipse.general.project.dialogs at
   org.wso2.developerstudio.eclipse.general.project/src
   - New method was created in DeveloperStudioElementProviderDialog class
   which sub classes must override.


Thanks,
Nuwan

-- 
--

*Nuwan Chamara Pallewela*


*Software Engineer*

*WSO2, Inc. *
*lean . enterprise . middleware*

Email   *nuw...@wso2.com nuw...@wso2.com*
Mobile  *+94719079739*
*+94767100087*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] How to add a Servlet in DSS

2015-07-21 Thread Madhawa Gunasekara
Kind reminder on this..!

On Sat, Jul 4, 2015 at 9:39 AM, Madhawa Gunasekara madha...@wso2.com
wrote:

 Hi All,

 I was able to invoke the servlet by using above mentioned reference. but I
 couldn't skip the login page for the all the scenarios. I was able to skip
 the login page for only https://192.168.1.103:9443/odataservices/* url
 request only. Please find my servlet declaration below. I need to handle
 requests like 'https://192.168.1.103:9443/odataservices/wso2services'
 from the servlet. which begining with particular word 'odataservices'.

 Any help on this matter in highly appreciated.

 What should I missing here ?

 component xmlns=http://products.wso2.org/carbon;

 servlets
 servlet id=ODataServlet
 servlet-nameODataServlet/servlet-name
 url-pattern/odataservices/*/url-pattern
 display-nameOData Services Callback Servlet/display-name
 
 servlet-classorg.wso2.carbon.dataservices.odata.ODataServlet/servlet-class
 /servlet
 /servlets
 framework-configuration
 bypass
 authentication
 link/odataservices/*/link
 /authentication
 /bypass
 /framework-configuration
 /component


 Thanks,
 Madhawa

 On Fri, Jul 3, 2015 at 5:20 PM, Madhawa Gunasekara madha...@wso2.com
 wrote:

 Hi All,

 I have requirement to insert a servlet in DSS to process some specific
 http requests( GET,POST). I have done some implementations by refering [1].
 but when I send the request it will redirect to the login page due to the
 authentications, How can I fixed that? and also servlet methods didn't hit
 but I can find my servlet class in Servlet listings also.

 [2015-07-03 15:20:30,885] DEBUG
 {org.wso2.carbon.ui.deployment.beans.CarbonUIDefinitions} -  Listing all
 Servlet items as of now...
 [2015-07-03 15:20:30,885] DEBUG
 {org.wso2.carbon.ui.deployment.beans.CarbonUIDefinitions} -
 ---ServletDefinition = ODataservicesCallbackServlet :
 DataservicesCallbackServlet

 Any help on this matter is highly appreciated.

 [1]
 https://github.com/madhawa-gunasekara/carbon-commons/blob/master/components/ntask/org.wso2.carbon.ntask.core/src/main/resources/META-INF/component.xml

 Thanks,
 Madhawa
 --
 *Madhawa Gunasekara*
 Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 mobile: +94 719411002 +94+719411002
 blog: *http://madhawa-gunasekara.blogspot.com
 http://madhawa-gunasekara.blogspot.com*
 linkedin: *http://lk.linkedin.com/in/mgunasekara
 http://lk.linkedin.com/in/mgunasekara*




 --
 *Madhawa Gunasekara*
 Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 mobile: +94 719411002 +94+719411002
 blog: *http://madhawa-gunasekara.blogspot.com
 http://madhawa-gunasekara.blogspot.com*
 linkedin: *http://lk.linkedin.com/in/mgunasekara
 http://lk.linkedin.com/in/mgunasekara*




-- 
*Madhawa Gunasekara*
Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: +94 719411002 +94+719411002
blog: *http://madhawa-gunasekara.blogspot.com
http://madhawa-gunasekara.blogspot.com*
linkedin: *http://lk.linkedin.com/in/mgunasekara
http://lk.linkedin.com/in/mgunasekara*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [IS 5.1.0] SaaS Application is enabled by default

2015-07-21 Thread Prabath Siriwardena
Any reason for the $subject?

I guess it has to be restrictive by default.. so only the users from the
tenant which the app belongs to can access the application...


Thanks  Regards,
Prabath

Twitter : @prabath
LinkedIn : http://www.linkedin.com/in/prabathsiriwardena

Mobile : +1 650 625 7950

http://blog.facilelogin.com
http://blog.api-security.org
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DEV] java.lang.IllegalStateException: Trying to set the domain from 1 to 2

2015-07-21 Thread Supun Malinga
Hi Malaka,

Can you explain the fix you have done pls ?. We need to understand that the
fix is the optimal one.

Also do we have integration tests for the fix in kernel or ESB level ?.
Please note it is better if we can have a test case for this in kernel
itself.

thanks,

On Tue, Jul 21, 2015 at 4:33 PM, Malaka Silva mal...@wso2.com wrote:

 Hi Carbon Team,

 Please review and merge this before the next release.

 On Tue, Jul 21, 2015 at 4:29 PM, Malaka Silva mal...@wso2.com wrote:

 Any update on this?

 On Mon, Jul 13, 2015 at 10:35 AM, Malaka Silva mal...@wso2.com wrote:

 Hi Carbon Team,

 Any update on this?

 On Thu, Jul 2, 2015 at 12:11 PM, Malaka Silva mal...@wso2.com wrote:

 Hi Carbon Team,

 I have reproduced the issue and have done a fix.

 Please review and merge.

 Related jira's [1] and [2]. Fix with [3]

 [1] https://wso2.org/jira/browse/ESBJAVA-3801
 [2] https://wso2.org/jira/browse/CARBON-15294
 [3] https://github.com/wso2/carbon4-kernel/pull/264

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




-- 
Supun Malinga,

Senior Software Engineer,
WSO2 Inc.
http://wso2.com
email: sup...@wso2.com sup...@wso2.com
mobile: +94 (0)71 56 91 321
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [IS 5.1.0] User search by claim uri

2015-07-21 Thread Prabath Siriwardena
At the moment search is limited to the required claims (it looks so from
the UI).

Shouldn't support all the claims - having the 'supported by default'
attribute to true. That includes all the attributed shown in the user
profile page.

[image: Inline image 1]

-- 
Thanks  Regards,
Prabath

Twitter : @prabath
LinkedIn : http://www.linkedin.com/in/prabathsiriwardena

Mobile : +1 650 625 7950

http://blog.facilelogin.com
http://blog.api-security.org
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DEV][DevStudio] Please review and merge the PR for Fixing Tools-2926

2015-07-21 Thread Nuwan Pallewela
Hi,

Please consider the following [3] and [4] pull requests for the above issue
and don't merge above [1] and [2] pull requests.

[3] https://github.com/wso2/developer-studio/pull/80
[4] https://github.com/wso2/developer-studio/pull/81

Thanks,
Nuwan

On Tue, Jul 21, 2015 at 6:26 PM, Nuwan Pallewela nuw...@wso2.com wrote:

 Hi ,
 Please review and merge PR [1] and [2]-
  Tools-2926 : Cannot browse security policies from workspace for BPEL
 Apply security wizard.
 [1] https://github.com/wso2/developer-studio/pull/79
 [2] https://github.com/wso2/developer-studio/pull/78

 Following are the major changes done in this pull request.

- Created a new package as
org.wso2.developerstudio.eclipse.artifact.bpel.dialogs in
org.wso2.developerstudio.eclipse.artifact.bpel/src
- New class file named RegistryResourseFileProviderDialog was created
which extends DeveloperStudioElementProviderDialog class in package
org.wso2.developerstudio.eclipse.general.project.dialogs at
org.wso2.developerstudio.eclipse.general.project/src
- New method was created in DeveloperStudioElementProviderDialog class
which sub classes must override.


 Thanks,
 Nuwan

 --
 --

 *Nuwan Chamara Pallewela*


 *Software Engineer*

 *WSO2, Inc. *
 *lean . enterprise . middleware*

 Email   *nuw...@wso2.com nuw...@wso2.com*
 Mobile  *+94719079739 %2B94719079739*
 *+94767100087 %2B94767100087*





-- 
--

*Nuwan Chamara Pallewela*


*Software Engineer*

*WSO2, Inc. *
*lean . enterprise . middleware*

Email   *nuw...@wso2.com nuw...@wso2.com*
Mobile  *+94719079739*
*+94767100087*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [IS 5.1.0] Remember Me and Idle Session Time out

2015-07-21 Thread Prabath Siriwardena
The $subject is now listed under Resident Provider of each tenant.. Does
that me these settings are tenant specific..?

-- 
Thanks  Regards,
Prabath

Twitter : @prabath
LinkedIn : http://www.linkedin.com/in/prabathsiriwardena

Mobile : +1 650 625 7950

http://blog.facilelogin.com
http://blog.api-security.org
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [IS 5.1.0] Remember Me and Idle Session Time out

2015-07-21 Thread Johann Nallathamby
Yes. We have a global setting and can be overridden in tenant.

Thanks.

On Tue, Jul 21, 2015 at 7:52 PM, Prabath Siriwardena prab...@wso2.com
wrote:

 The $subject is now listed under Resident Provider of each tenant.. Does
 that me these settings are tenant specific..?

 --
 Thanks  Regards,
 Prabath

 Twitter : @prabath
 LinkedIn : http://www.linkedin.com/in/prabathsiriwardena

 Mobile : +1 650 625 7950

 http://blog.facilelogin.com
 http://blog.api-security.org




-- 
Thanks  Regards,

*Johann Dilantha Nallathamby*
Technical Lead  Product Lead of WSO2 Identity Server
Integration Technologies Team
WSO2, Inc.
lean.enterprise.middleware

Mobile - *+9476950*
Blog - *http://nallaa.wordpress.com http://nallaa.wordpress.com*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [IS 5.1.0] SaaS Application is enabled by default

2015-07-21 Thread Johann Nallathamby
Yes. I think it is a bug. Need to check on it.

On Tue, Jul 21, 2015 at 7:37 PM, Prabath Siriwardena prab...@wso2.com
wrote:

 Any reason for the $subject?

 I guess it has to be restrictive by default.. so only the users from the
 tenant which the app belongs to can access the application...


 Thanks  Regards,
 Prabath

 Twitter : @prabath
 LinkedIn : http://www.linkedin.com/in/prabathsiriwardena

 Mobile : +1 650 625 7950

 http://blog.facilelogin.com
 http://blog.api-security.org




-- 
Thanks  Regards,

*Johann Dilantha Nallathamby*
Technical Lead  Product Lead of WSO2 Identity Server
Integration Technologies Team
WSO2, Inc.
lean.enterprise.middleware

Mobile - *+9476950*
Blog - *http://nallaa.wordpress.com http://nallaa.wordpress.com*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [IS 5.1.0] Remember Me and Idle Session Time out

2015-07-21 Thread Prabath Siriwardena
I got the following error while updating from a tenant..

[2015-07-21 07:32:19,589] ad...@prabath.org [1] [IS]ERROR
{org.wso2.carbon.idp.mgt.ui.client.IdentityProviderMgtServiceClient} -
Error in retrieving the list of Resident Identity Providers

org.apache.axis2.AxisFault: Cannot find authenticator : IDPProperties

at
org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:531)

at
org.apache.axis2.description.RobustOutOnlyAxisOperation$RobustOutOnlyOperationClient.handleResponse(RobustOutOnlyAxisOperation.java:91)


Thanks  regards,

-Prabath

On Tue, Jul 21, 2015 at 7:29 AM, Johann Nallathamby joh...@wso2.com wrote:

 Yes. We have a global setting and can be overridden in tenant.

 Thanks.

 On Tue, Jul 21, 2015 at 7:52 PM, Prabath Siriwardena prab...@wso2.com
 wrote:

 The $subject is now listed under Resident Provider of each tenant.. Does
 that me these settings are tenant specific..?

 --
 Thanks  Regards,
 Prabath

 Twitter : @prabath
 LinkedIn : http://www.linkedin.com/in/prabathsiriwardena

 Mobile : +1 650 625 7950

 http://blog.facilelogin.com
 http://blog.api-security.org




 --
 Thanks  Regards,

 *Johann Dilantha Nallathamby*
 Technical Lead  Product Lead of WSO2 Identity Server
 Integration Technologies Team
 WSO2, Inc.
 lean.enterprise.middleware

 Mobile - *+9476950*
 Blog - *http://nallaa.wordpress.com http://nallaa.wordpress.com*




-- 
Thanks  Regards,
Prabath

Twitter : @prabath
LinkedIn : http://www.linkedin.com/in/prabathsiriwardena

Mobile : +1 650 625 7950

http://blog.facilelogin.com
http://blog.api-security.org
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev