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

2015-07-22 Thread Thilini Cooray
Hi Priyadarssini, Are you facing the same issue when providing any callback url or is this only with WSO2 OAuth2 Playground? Thanks. On Thu, Jul 23, 2015 at 12:01 PM, Priyadarssini Kishokumar < priyadarss...@wso2.com> wrote: > Hi Ushani, > > That also did not work. The problem is callback url i

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

2015-07-22 Thread Priyadarssini Kishokumar
Hi Ushani, That also did not work. The problem is callback url is null in registered App. Thanks, On Thu, Jul 23, 2015 at 11:49 AM, Ushani Balasooriya wrote: > Hi Priyadarshini, > > If you are using the latest playground app in documentation, the callback > url should be : http://localhost:808

Re: [Dev] How to add a SCIM user to secondary userstore

2015-07-22 Thread Ushani Balasooriya
Hi Udara, Is the given command you tried for primary user store? Can you please try in the below format for secondary user store as explained in this doc [1] curl -v -k --user admin:admin --data "{"schemas":[],"name":{"familyName":" kahawala","givenName":"venura"},"userName":'demo.com/venura',"p

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

2015-07-22 Thread Ushani Balasooriya
Hi Priyadarshini, If you are using the latest playground app in documentation, the callback url should be : http://localhost:8080/playground2/oauth2client You have given http://localhost:8080/playground2.0/oauth2client On Tue, Jul 21, 2015 at 11:47 AM, Priyadarssini Kishokumar < priyadarss...@ws

Re: [Dev] [GSoC-2015] Data Wrangler extension for WSO2 Machine Learner

2015-07-22 Thread Nirmal Fernando
Thanks Danula. On Thu, Jul 23, 2015 at 11:41 AM, Danula Eranjith wrote: > You can find the source at [1] > . I have to do > some refactoring when integrating to ML. > > [1] - https://github.com/danula/wso2-ml-wrangler-integration > > On Thu

Re: [Dev] How to add a SCIM user to secondary userstore

2015-07-22 Thread Udara Liyanage
Hi Ushani, Yes I reffered the same doc you shared, I did the claim mapping. On Thu, Jul 23, 2015 at 11:08 AM, Ushani Balasooriya wrote: > Hi Udara, > > Have you done the claim mapping correctly? > > E.g., > > urn:scim:schemas:core:1.0:id - > homePostalAddress;udaraad/homePostalAddress; > > Then

Re: [Dev] Interns working on data analysis

2015-07-22 Thread Niranda Perera
Additionally, you could access the docs [1] and the issue reporting [2] here. cheers [1] https://docs.wso2.com/display/DAS300/WSO2+Data+Analytics+Server+Documentation [2] https://wso2.org/jira/browse/BAM On Thu, Jul 23, 2015 at 10:58 AM, Niranda Perera wrote: > Hi Di, > > we would be more t

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

2015-07-22 Thread Nirmal Fernando
Sure. Please let us know few time slots. Let's take it off the list. On Thu, Jul 23, 2015 at 9:27 AM, Madawa Soysa wrote: > Hi Nirmal, > > Sorry for the late reply. > > I have successfully integrated the Recommendation Algorithm to ML for data > sets with explicit Rating. Currently I am implemen

Re: [Dev] How to add a SCIM user to secondary userstore

2015-07-22 Thread Ushani Balasooriya
Hi Udara, Have you done the claim mapping correctly? E.g., urn:scim:schemas:core:1.0:id - homePostalAddress;udaraad/homePostalAddress; Then the command should be as below : Please refer [1] curl -v -k --user admin:admin --data "{"schemas":[],"userName":'udaraad /user1',"password":"Wso2@123"}"

[Dev] How to add a SCIM user to secondary userstore

2015-07-22 Thread Udara Liyanage
Hi, I used below REST call to create a SCIM user. This create a users in primary userstore sucesfully. I want to how to create the user in my secondary userstore (AD) which has domain name "udaraad". curl -v -k --user admin:admin --data "{"schemas":[],"name":{"familyName":"gunasinghe","givenName"

Re: [Dev] Interns working on data analysis

2015-07-22 Thread Niranda Perera
Hi Di, we would be more than happy to help you out with any problems you come across. on a side note, we are now moving BAM development to DAS (data analytics server). DAS comes with a new approach and whole new architecture. so, we suggest you take a look into that as well. you could try the bet

Re: [Dev] How to check "exceeded allocated quota" in RoleBasedAccessRateController

2015-07-22 Thread Supun Malinga
On Thu, Jul 23, 2015 at 9:58 AM, Thilini Cooray wrote: > Hi, > > We are going to add an attribute to tier policies such as "ignoreThrottle" > (attribute name not finalized). If this attribute is enabled for a > particular tier policy, throttled out requests will not be halt. > Its better if the n

Re: [Dev] How to check "exceeded allocated quota" in RoleBasedAccessRateController

2015-07-22 Thread Thilini Cooray
Hi, We are going to add an attribute to tier policies such as "ignoreThrottle" (attribute name not finalized). If this attribute is enabled for a particular tier policy, throttled out requests will not be halt. For this particular scenario, we want to filter out requests which throttled out becau

[Dev] Interns working on data analysis

2015-07-22 Thread Di Zhong
Hi all, Corey and I are two interns from IU Bloomington, we are working on analyzing two datasets using WSO2 BAM. Right now we are still on the stage of pushing data to BAM. We might be sending emails asking some questions about BAM for a while, we appreciate any help and thanks for bearing with

Re: [Dev] Please review and merge

2015-07-22 Thread Elilmatha Sivanesan
Hi Malaka, Please review and merge PR[1] for bugherd connector. After fixing the certificate issue from bugherd support , I have changed the http endpoints to work with esb beta. [1] https://github.com/wso2/esb-connectors/pull/241/ Thank you. On Thu, Jul 23, 2015 at 3:06 AM, Vanjikumaran Sivajo

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

2015-07-22 Thread Madawa Soysa
Hi Nirmal, Sorry for the late reply. I have successfully integrated the Recommendation Algorithm to ML for data sets with explicit Rating. Currently I am implementing the feature for data sets with implicit feedback data. Is it possible to have a code review next week? Then I could demonstrate w

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

2015-07-22 Thread Malaka Silva
thx On Thu, Jul 23, 2015 at 8:54 AM, Supun Malinga wrote: > Hi, > > The fix seems appropriate. Will discuss with the team further and merge > this today.. > For the integration tests, is there no way to verify the fix without doing > load requests ?. > > thanks, > > On Wed, Jul 22, 2015 at 1:39

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

2015-07-22 Thread Supun Malinga
Hi, The fix seems appropriate. Will discuss with the team further and merge this today.. For the integration tests, is there no way to verify the fix without doing load requests ?. thanks, On Wed, Jul 22, 2015 at 1:39 PM, Supun Malinga wrote: > Hi Malaka, > > Can you point out the place where

[Dev] G-Reg 5.0.0 nightly build pack - 22/07/2015

2015-07-22 Thread Chandana Napagoda
Hi, Please find $subject from[1]. [1]. https://svn.wso2.org/repos/wso2/scratch/G-Reg/5.0.0/nightlybuild/20150722/ Regards, Chandana -- *Chandana Napagoda* Senior Software Engineer WSO2 Inc. - http://wso2.org *Email : chand...@wso2.com **Mobile : +94718169299* *Blog :http

Re: [Dev] Please review and merge

2015-07-22 Thread Malaka Silva
We can't merge this until we fully test this. There seems to be http endpoints which may not work with esb 490 beta. On Wed, Jul 22, 2015 at 2:04 PM, Elilmatha Sivanesan wrote: > Hi Malaka, > > Please review and merge PR [1] > > [1] > *https://github.com/wso2/esb-connectors/pull/241 >

[Dev] [EMM][CDM] EMM url prints from cdmf

2015-07-22 Thread Ayyoob Hamza
Hi, What is the reason for printing emm url from CDMF[1][2]. because this block will be executed even if we are running only cdmf without the emm. I believe this needs to be moved into cdmf-plugins for emm. [1] https://github.com/wso2/carbon-device-mgt/blob/master/components/device-mgt/org.wso2.

[Dev] XML works in devstudio but fails in UI editor

2015-07-22 Thread John Hawkins
Hi Folks, I tried to manually edit an esb flow through the web UI but it fails with javax.xml.stream.XMLStreamException: ParseError at [row,col]:[27,62] Message: Element type "header" must be followed by either attribute specifications, ">" or "/>". This flow had been exported from devstudio -

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

2015-07-22 Thread Thushan Ganegedara
Hi, Apologies about the late reply. Notes of the Demonstration Time duration: approximately 30 mins The demonstration was to demonstrate the implemented deeplearning feature of WSO2-ML. The demo started first explaining the dataset used (i.e. MNIST). The dataset is a CSV file with approximately

Re: [Dev] How to check "exceeded allocated quota" in RoleBasedAccessRateController

2015-07-22 Thread Supun Malinga
Hi, For the moment this would be the way to filter out the cause. But the better approach would be to set a flag in AccessInformation class on the respective error type. For this we need to improve AccessInformation class. May I know your use case ?. thanks, On Wed, Jul 22, 2015 at 11:37 AM, Th

Re: [Dev] How to avoid addTenant from changing already existing password in LDAP

2015-07-22 Thread Amila Maha Arachchi
+1 On Wed, Jul 22, 2015 at 5:43 PM, Danushka Fernando wrote: > We can do something like thos > > @Override >public void doUpdateCredentialByAdmin(String userName, Object > newCredential) >throws UserStoreException { >if (newCredential != null && !newCredential.equals(""))

Re: [Dev] How to avoid addTenant from changing already existing password in LDAP

2015-07-22 Thread Danushka Fernando
We can do something like thos @Override public void doUpdateCredentialByAdmin(String userName, Object newCredential) throws UserStoreException { if (newCredential != null && !newCredential.equals("")) { super.doUpdateCredentialByAdmin(userName, newCreden

Re: [Dev] How to avoid addTenant from changing already existing password in LDAP

2015-07-22 Thread Amila Maha Arachchi
On Wed, Jul 22, 2015 at 12:49 PM, Manjula Rathnayake wrote: > Hi all, > > Let me add bit more context here. > > Registering an organization(creating a tenant) was originated from AF in > app cloud. By upon receiving a tenant registration request to AF node, AF > node trigger tenant creation in St

[Dev] [EMM] Android Device Management - Challenges

2015-07-22 Thread Kasun Dananjaya Delgolla
Hi All, Given below are the tasks which are in progress on the Android device management layer. I'm listing this down according to the priority with the challenges we faced so far. 1. Policy Monitoring - Plugin level implementation. - We need to generalize all the platforms in this scenario

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

2015-07-22 Thread Darshana Gunawardana
Hi Prabath, This is fixed with https://github.com/wso2/carbon-identity/pull/657 Thanks, Darshana On Tue, Jul 21, 2015 at 7:45 PM, Prabath Siriwardena wrote: > At the moment search is limited to the required claims (it looks so from > the UI). > > Shouldn't support all the claims - having the '

Re: [Dev] API Manager associating a new version of an API with its previous version

2015-07-22 Thread Uvindra Dias Jayasinha
Ticket has been updated with the requirement, please add 1.10 release to API Manager JIRA to set the fix version so that this can be prioritised. On 22 July 2015 at 15:10, Nuwan Dias wrote: > > > On Wed, Jul 22, 2015 at 2:55 PM, Uvindra Dias Jayasinha > wrote: > >> Let me summarise, >> >> If th

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

2015-07-22 Thread Madhawa Gunasekara
Hi All, Please find the created JIRA https://wso2.org/jira/browse/CARBON-15322 Thanks Madhawa On Wed, Jul 22, 2015 at 2:46 PM, Niranjan Karunanandham wrote: > Hi Madhawa, > > Can you raise a JIRA in Kernel as an improvement for this? > > Regards, > Nira > > On Wed, Jul 22, 2015 at 2:14 PM, Mad

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

2015-07-22 Thread Thilini Cooray
Thank you Chamath for the update. On Wed, Jul 22, 2015 at 3:06 PM, Chamath Gunawardana wrote: > Hi Thilini, > > The refereed link by you is a temp location used by me for some time back. > Hence please use [2] for the same artifact. > > [2] - > https://svn.wso2.org/repos/wso2/carbon/platform/bra

Re: [Dev] API Manager associating a new version of an API with its previous version

2015-07-22 Thread Nuwan Dias
On Wed, Jul 22, 2015 at 2:55 PM, Uvindra Dias Jayasinha wrote: > Let me summarise, > > If the requirement is to only transfer the subscriptions of the API > version we are copying from, then we need to store the parent API version > in the rxt or the DB as has been already suggested. > I believe

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

2015-07-22 Thread Chamath Gunawardana
Hi Thilini, The refereed link by you is a temp location used by me for some time back. Hence please use [2] for the same artifact. [2] - https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/platform-integration/test-automation-framework/4.2.8/org.wso2.carbon.automation.api/src/main/jav

Re: [Dev] API Manager associating a new version of an API with its previous version

2015-07-22 Thread Uvindra Dias Jayasinha
Let me summarise, If the requirement is to only transfer the subscriptions of the API version we are copying from, then we need to store the parent API version in the rxt or the DB as has been already suggested. But if the requirement is to transfer all subscriptions of an existing APIs versions

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

2015-07-22 Thread Niranjan Karunanandham
Hi Madhawa, Can you raise a JIRA in Kernel as an improvement for this? Regards, Nira On Wed, Jul 22, 2015 at 2:14 PM, Madhawa Gunasekara wrote: > Hi Thusitha, > > Can we add wild-card option for the implementation ? > > Thanks > > On Wed, Jul 22, 2015 at 2:12 PM, Thusitha Thilina Dayaratne < >

Re: [Dev] API Manager associating a new version of an API with its previous version

2015-07-22 Thread Uvindra Dias Jayasinha
@Sajith, we already have those options you have mentioned in API Manager, if we are publishing a new version of an API either we can choose to make the users of the API to re-subscribe or we can automatically transfer over the subscriptions from the previous version. On 22 July 2015 at 14:25, Saji

Re: [Dev] API Manager associating a new version of an API with its previous version

2015-07-22 Thread Uvindra Dias Jayasinha
I think what is trying to be achieved here is to iterate through all existing versions of a given API and subscribe to all applications that those API versions have subscribed to in the latest version. For example, *foo:1.0.0* is subscribed to by *Application1* and *foo:2.0.0* is subscribed to by

Re: [Dev] API Manager associating a new version of an API with its previous version

2015-07-22 Thread Sajith Ariyarathna
Hi Uvindra, As pointed out by RuwanA, AppM had a similar problem when creating a new version of a web app based on an existing version. In AppM, when 'Publish'ing version *2.0.0* of web app *Foo* (which was created from *Foo* version *1.0.0*), version *1.0.0* is 'Un-publish'ed (because only one ve

Re: [Dev] Automated tests to tests Application Server with Apache Ldap as a User Store

2015-07-22 Thread Nuwan Wimalasekara
Hi Kasun, Please find the inline answers. On Tue, Jul 21, 2015 at 8:39 PM, KasunG Gajasinghe wrote: > Hi Nuwan, > > Can you please answer following questions regarding this PR? > > 1. Can you rename to module name "tests-with-ldap" to > "tests-ldap-userstores". I believe that's more meaningful.

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

2015-07-22 Thread Madhawa Gunasekara
Hi Thusitha, Can we add wild-card option for the implementation ? Thanks On Wed, Jul 22, 2015 at 2:12 PM, Thusitha Thilina Dayaratne < thusit...@wso2.com> wrote: > Hi Madhawa, > > AFAIU In the implementation it get the links and add them to a Map where > key and value both are same. When we do

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

2015-07-22 Thread Thusitha Thilina Dayaratne
Hi Madhawa, AFAIU In the implementation it get the links and add them to a Map where key and value both are same. When we do a request it check from the map whether the key exist for the path. If exist it will be bypass otherwise it will redirect. In your case /odataservices/* will be the key and

Re: [Dev] User already exist when AD as a userstore

2015-07-22 Thread Udara Liyanage
Hi, However I don't get this issue when I configured AD as the secondary userstore. On Wed, Jul 22, 2015 at 2:05 PM, Udara Liyanage wrote: > Hi, > > I used org.wso2.carbon.user.core.ldap.ReadWriteLDAPUserStoreManager > usermanager for AD > > On Wed, Jul 22, 2015 at 2:02 PM, Udara Liyanage wrot

Re: [Dev] User already exist when AD as a userstore

2015-07-22 Thread Udara Liyanage
Hi, I used org.wso2.carbon.user.core.ldap.ReadWriteLDAPUserStoreManager usermanager for AD On Wed, Jul 22, 2015 at 2:02 PM, Udara Liyanage wrote: > Hi, > > I tried adding a AD as a RW userstore and encountered the following > exception. I tried setting AddAdmin false but found no luck. Then I c

[Dev] Please review and merge

2015-07-22 Thread Elilmatha Sivanesan
Hi Malaka, Please review and merge PR [1] [1] *https://github.com/wso2/esb-connectors/pull/241 * Thank you. -- *S.Elilmatha* Associate Software Engineer, WSO2 Inc.; http://wso2.com lean.enterprise.middleware Mobile 0779842221. ___

[Dev] User already exist when AD as a userstore

2015-07-22 Thread Udara Liyanage
Hi, I tried adding a AD as a RW userstore and encountered the following exception. I tried setting AddAdmin false but found no luck. Then I changed admin name to admin1 and encountered the exception [2](*One or more attributes you are trying to add/update are not supported by underlying LDAP*). Pl

Re: [Dev] API Manager associating a new version of an API with its previous version

2015-07-22 Thread Nuwan Dias
Adding this to the rxt is the correct way IMO. But we have to be careful when fixing this for API Manager 1.9.1. We cannot do migrations for 1.9.1. Hence cannot introduce rxt changes. Since the error trace is harmless, I think we should comment and ignore the error for 1.9.1 and make it a point to

Re: [Dev] API Manager associating a new version of an API with its previous version

2015-07-22 Thread Sanjeewa Malalgoda
Adding new field to rxt would be ideal IMO. I noticed some users already reported this issue. Thanks, sanjeewa. On Wed, Jul 22, 2015 at 1:00 PM, Ruwan Abeykoon wrote: > Hi Uvindra, > What if we keep the "parent" apiID in the asset itself, rather than in > new DB column. (by adding the field to

Re: [Dev] API Manager associating a new version of an API with its previous version

2015-07-22 Thread Uvindra Dias Jayasinha
Hi Ruwan, Updating the rxt is a good option, thanks for suggesting. But since this will lead to a data migration we cant do it for 1.9.1 release, so we will prioritise the fix for the 1.10 release. On 22 July 2015 at 13:00, Ruwan Abeykoon wrote: > Hi Uvindra, > What if we keep the "parent" apiI

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

2015-07-22 Thread Supun Malinga
Hi Malaka, Can you point out the place where its being set in message context ?. Basically I want to understand why we cannot destroy the context at that level (after the usage of CC is done). thanks, On Tue, Jul 21, 2015 at 8:10 PM, Malaka Silva wrote: > Hi Supun, > > This issue can only be r

Re: [Dev] API Manager associating a new version of an API with its previous version

2015-07-22 Thread Ruwan Abeykoon
Hi Uvindra, What if we keep the "parent" apiID in the asset itself, rather than in new DB column. (by adding the field to api.rxt) Cheers, Ruwan On Wed, Jul 22, 2015 at 12:44 PM, Uvindra Dias Jayasinha wrote: > The correct way I can think of solving this is to store the apiID of the > version t

Re: [Dev] How to avoid addTenant from changing already existing password in LDAP

2015-07-22 Thread Manjula Rathnayake
Hi all, Let me add bit more context here. Registering an organization(creating a tenant) was originated from AF in app cloud. By upon receiving a tenant registration request to AF node, AF node trigger tenant creation in Stratos nodes(namely Dev,Test,Prod Stratos manager nodes). All above nodes m

Re: [Dev] API Manager associating a new version of an API with its previous version

2015-07-22 Thread Uvindra Dias Jayasinha
The correct way I can think of solving this is to store the apiID of the version that is being copied from in the newly created api object so that we can make the association later on when we are publishing the new api version. This means we will need to add a new column to the AM_API table to sto

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

2015-07-22 Thread Thilini Cooray
Hi, Yes, you will be able to access the tenant key store via KeyStoreAdminService. [1] contains a KeyStoreAdminServiceClient which might be useful for you. [1] https://svn.wso2.org/repos/wso2/people/chamathg/sandbox/test-automation-framework/org.wso2.carbon.automation.api/src/main/java/org/wso2/c

Re: [Dev] API Manager associating a new version of an API with its previous version

2015-07-22 Thread Ruwan Abeykoon
Hi Uvindra, We are having same issue and being solved in AppM 1.1.0. We were informed that ES 2.0 has a grouping capability, exposed by registry. So we may be exploit that to correlate versions. We plan to back-port some ES 2.0 functions to ES 1 branch to get this done. Sajith (AR) working on this