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

2015-07-24 Thread Udara Liyanage
Hi, I will apply SP and try again. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev

Re: [Dev] [ESB490] We are observing a lot of UI issues related to Servlet API

2015-07-24 Thread Chanaka Fernando
Hi Kishanthan, Thanks for heads up. Actually these components were using the dynamic import package feature due to some historical reasons. We will use the specific versions in the future as you have mentioned. Thanks, Chanaka On Fri, Jul 24, 2015 at 5:38 PM, Kishanthan Thangarajah wrote: > >

Re: [Dev] Unable to call JAX-RS using Jaggery post method

2015-07-24 Thread Manuranga Perera
for future referenc, CFX expects data in URL not in post body, even when it's a post method. fixed it that way On Sat, Jul 25, 2015 at 1:28 AM, Charitha Goonetilleke wrote: > Hi, > > I tried with following method: > > post(endPoint, data, "text"); > > it is calling to JAX-RS but parameters beco

Re: [Dev] Web-Deployment order in an OSGI execution flow

2015-07-24 Thread Ruwan Abeykoon
Hi Ayoob, I am not sure this answers your question. However I observed following duplicate exports in your bundle. Please try to remove one of them manually and check. javax.xml.soap; version="0.0.0" javax.xml.soap; version="1.0.0" org.apache.ws.security.handler; version="1.5.11.wso2v9" org.apac

[Dev] WSO2 Identity Server 5.1.0 Milestone 4 Released!

2015-07-24 Thread Darshana Gunawardana
WSO2 Identity Server 5.1.0 Milestone 4 Released! Date: 25th July 2015The WSO2 Identity Server team is pleased to announce the 4th Milestone of WSO2 Identity Server 5.1.0. You can download this distribution from https://github.com/wso2/product-is/releases/tag/v5.1.0-m4 Following list [1] contains a

Re: [Dev] Unable to call JAX-RS using Jaggery post method

2015-07-24 Thread Charitha Goonetilleke
Hi, I tried with following method: post(endPoint, data, "text"); it is calling to JAX-RS but parameters become null inside the JAX-RS. On Sat, Jul 25, 2015 at 1:21 AM, Manuranga Perera wrote: > instead of json try text > > > -- > With regards, > *Manu*ranga Perera. > > phone : 071 7 70 20 50

Re: [Dev] Unable to call JAX-RS using Jaggery post method

2015-07-24 Thread Manuranga Perera
instead of json try text -- With regards, *Manu*ranga Perera. phone : 071 7 70 20 50 mail : m...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev

[Dev] Unable to call JAX-RS using Jaggery post method

2015-07-24 Thread Charitha Goonetilleke
Hi, I have implemented JAX-RS service and all endpoints are working fine. I have tested them with Advance REST client. But when I tried to access it from post method in jaggery, my jaggery code throws following error and service isn't call. However all get/delete methods are working fine. [2015-

Re: [Dev] Please review and merge

2015-07-24 Thread Johann Nallathamby
https://wso2.org/jira/browse/IDENTITY-3166 On Fri, Jul 24, 2015 at 10:15 PM, Aruna Karunarathna wrote: > > > On Fri, Jul 24, 2015 at 8:18 PM, Godwin Amila Shrimal > wrote: > >> Hi, >> >> Please review and commit PR [1] >> >> [1] https://github.com/wso2/carbon4-kernel/pull/333 >> > > Hi Godwin,

Re: [Dev] Fix for ESBJAVA-3956

2015-07-24 Thread Chanaka Fernando
Hi Shakila, I have tried to reproduce the issue in the latest ESB pack without your fix and I couldn't reproduce. Please confirm with the latest pack that do we really need to fix this issue or not. Thanks, Chanaka On Fri, Jul 24, 2015 at 10:20 PM, Shakila Sivagnanarajah wrote: > Please review

[Dev] Fix for ESBJAVA-2536

2015-07-24 Thread Shakila Sivagnanarajah
Hi Malaka, Please review and merge the PR [1] for $Subject. [1] https://github.com/wso2/carbon-mediation/pull/321 Thank you -- Shakila Sivagnanarajah Associate Software Engineer Mobile :+94 (0) 770 760240 shak...@wso2.com

Re: [Dev] Please review and merge

2015-07-24 Thread Aruna Karunarathna
On Fri, Jul 24, 2015 at 8:18 PM, Godwin Amila Shrimal wrote: > Hi, > > Please review and commit PR [1] > > [1] https://github.com/wso2/carbon4-kernel/pull/333 > Hi Godwin, Can you point me to the public jira for this issue? can't seems to find the related jira. Regards, Aruna\ > > > Thanks >

[Dev] Fix for ESBJAVA-3956

2015-07-24 Thread Shakila Sivagnanarajah
Please review and merge the PR [1] for $Subject. [1] https://github.com/wso2/carbon-mediation/pull/314 . Thank you -- Shakila Sivagnanarajah Associat

[Dev] IS Error while adding a user

2015-07-24 Thread Udara Liyanage
Hi, Following error message is displayed when a user is added. Claims are mapped as mentioned in the doc [2015-07-24 13:46:59,662] ERROR {org.wso2.carbon.user.core.ldap.ReadWriteLDAPUserStoreManager} - Profile information could not be updated in ApacheDS LDAP user store javax.naming.directory.Sc

[Dev] Please review and merge

2015-07-24 Thread Godwin Amila Shrimal
Hi, Please review and commit PR [1] [1] https://github.com/wso2/carbon4-kernel/pull/333 Thanks Godwin -- *Godwin Amila Shrimal* Senior Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: *+94772264165* linkedin: *http://lnkd.in/KUum6D * twitt

Re: [Dev] [ESB490] We are observing a lot of UI issues related to Servlet API

2015-07-24 Thread Kishanthan Thangarajah
On Fri, Jul 24, 2015 at 3:44 PM, Chanaka Fernando wrote: > Hi Devs, > > In the latest ESB 490 packs, we have observed several mediator UIs are > throwing the following exceptions[1] related to javax.servlet API. This > issue is reported in [2] and [3]. This issue is related to package imports. >

Re: [Dev] [App Factory] UX/UI Incorporation

2015-07-24 Thread Dakshika Jayathilaka
Hi All, We have added another page to git. 4. database_permission_listing.html Regards, *Dakshika Jayathilaka* PMC Member & Committer of Apache Stratos Senior Software Engineer WSO2, Inc. lean.ent

Re: [Dev] Error when generating/refreshing keys in APIM 1.9.0

2015-07-24 Thread Amalka Subasinghe
HI, I had configured revoke api url incorrectly. Thanks Amilad for helping to fix this. Thanks On Fri, Jul 24, 2015 at 4:56 PM, Harsha Kumara wrote: > Hi Amalka, > > When you new creating application, Is this coming during first click of > generate token? I think your first attempt is failed a

Re: [Dev] Error when generating/refreshing keys in APIM 1.9.0

2015-07-24 Thread Harsha Kumara
Hi Amalka, When you new creating application, Is this coming during first click of generate token? I think your first attempt is failed and you get this when you click it for the second time? Thanks, Harsha On Fri, Jul 24, 2015 at 4:40 PM, Amalka Subasinghe wrote: > I'm getting this error when

Re: [Dev] Error when generating/refreshing keys in APIM 1.9.0

2015-07-24 Thread Amalka Subasinghe
I'm getting this error when I create new application and try to generate keys as well On Fri, Jul 24, 2015 at 4:33 PM, Roshan Wijesena wrote: > Yes, As Uvindra said there will be a duplicate record in > AM_APPLICATION_REGISTRATION > table.. Is it possible to delete your APIM application and try

Re: [Dev] Error when generating/refreshing keys in APIM 1.9.0

2015-07-24 Thread Roshan Wijesena
Yes, As Uvindra said there will be a duplicate record in AM_APPLICATION_REGISTRATION table.. Is it possible to delete your APIM application and try again ? On Fri, Jul 24, 2015 at 4:31 PM, Uvindra Dias Jayasinha wrote: > According to the exception seems there is a duplicate entry value when > tr

Re: [Dev] Error when generating/refreshing keys in APIM 1.9.0

2015-07-24 Thread Uvindra Dias Jayasinha
According to the exception seems there is a duplicate entry value when trying to insert into AM_APPLICATION_REGISTRATION table. Seems that the same Application is getting registered multiple times. Can you let us know the exacts steps you are following? On 24 July 2015 at 16:13, Amalka Subasinghe

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

2015-07-24 Thread Supun Malinga
Merged. thanks, On Fri, Jul 24, 2015 at 2:03 PM, Supun Malinga wrote: > Great! > Thanks for the fixes Malaka.. > Will build and merge this. > > p.s. > I checked with Malaka and he has tested the scenario after the CC > modifications. > > thanks, > > On Fri, Jul 24, 2015 at 1:56 PM, Malaka Silva

[Dev] Error when generating/refreshing keys in APIM 1.9.0

2015-07-24 Thread Amalka Subasinghe
Hi, I'm upgrading API Manager to 1.9.0 in App Factory setup. When generating/refreshing keys I'm getting following exception. I removed consumer key from AM_APPLICATION_KEY_MAPPING and try to generate the key again -> but the exception is still throwing Any idea about this? TID: [0] [AM] [2015-

[Dev] [ESB490] We are observing a lot of UI issues related to Servlet API

2015-07-24 Thread Chanaka Fernando
Hi Devs, In the latest ESB 490 packs, we have observed several mediator UIs are throwing the following exceptions[1] related to javax.servlet API. This issue is reported in [2] and [3]. This issue is related to package imports. When I debug from the OsgiConsole, I found that the javax.servlet pac

[Dev] Web-Deployment order in an OSGI execution flow

2015-07-24 Thread Ayyoob Hamza
Hi All, In Carbon, when the webdeployer features are installed, will the web apps be deployed after all the osgi's are activated or will they run soon after the tomcat is activated ?. Is there a such a order ? Thanks, *Ayyoob Hamza* *Software Engineer* WSO2 Inc.; http://wso2.com email: ayy...@wso2

Re: [Dev] How to handle REST_URL_POSTFIX property when Query Parameter values are defined

2015-07-24 Thread Uvindra Dias Jayasinha
I found the following on SO[1] which is the exact same problem we are discussing here. The solution for it provided here[2]. So is this the way we should go about it? We can adjust our velocity_template to generate the synapse config conditionally. That way no need to do any changes to publisher an

[Dev] ESB product pom.xml

2015-07-24 Thread Imesh Gunaratne
Hi Devs, I can see a property with the name "stratos.version" in the ESB product pom.xml [1], are we still using any of the Stratos components in the ESB? [1] https://github.com/wso2/product-esb/blob/master/pom.xml#L192 Thanks -- *Imesh Gunaratne* Senior Technical Lead WSO2 Inc: http://wso2.co

Re: [Dev] How to handle REST_URL_POSTFIX property when Query Parameter values are defined

2015-07-24 Thread Uvindra Dias Jayasinha
Ok so from what you saying is that even though we are setting that attribute at resource level it is not getting considered at endpoint level. So have been doing things incorrectly? How is the correct way of achieving this functionality with synapse? On 24 July 2015 at 14:46, Isuru Udana wrote:

Re: [Dev] How to handle REST_URL_POSTFIX property when Query Parameter values are defined

2015-07-24 Thread Isuru Udana
It's related to the API Resource not to the HTTP Endpoint. Please note that there is no relationship between how we define resource url (whether it is url-template or url-mapping) with the HTTP Endpoint url. And we can't even introduce a such relationship. On Fri, Jul 24, 2015 at 2:41 PM, Uvind

Re: [Dev] How to handle REST_URL_POSTFIX property when Query Parameter values are defined

2015-07-24 Thread Uvindra Dias Jayasinha
Im referring to the attribute in the* * tag, that how we are triggering the different functionalities On 24 July 2015 at 14:39, Isuru Udana wrote: > In both scenarios you can see, HTTP Endpoint contains an url-template. > > > > http://ws.cdyne.com/phoneverify/phoneverify.as

Re: [Dev] How to handle REST_URL_POSTFIX property when Query Parameter values are defined

2015-07-24 Thread Isuru Udana
In both scenarios you can see, HTTP Endpoint contains an url-template. http://ws.cdyne.com/phoneverify/phoneverify.asmx?name={uri.var.name}"/> http://ws.cdyne.com/phoneverify/phoneverify.asmx"/> On Fri, Jul 24

Re: [Dev] How to handle REST_URL_POSTFIX property when Query Parameter values are defined

2015-07-24 Thread Uvindra Dias Jayasinha
Attached are two synpase files generated with API Manager for the above use cases. Ok end of the day we need to support both attributes, its critical to API Manager functionality. Do you agree that from a functional perspective our expectation is correct? Because there is nothing to stop someone fr

Re: [Dev] How to handle REST_URL_POSTFIX property when Query Parameter values are defined

2015-07-24 Thread Isuru Udana
On Fri, Jul 24, 2015 at 2:10 PM, Uvindra Dias Jayasinha wrote: > In our velocity template we are conditionally deciding when the > url-mapping attribute or uri-template attribute should be used in the > synapse config generated for each API, eher is the velocity template logic, > > #if($resource.

[Dev] Please review and merge PR Test case for IDENTITY-3327

2015-07-24 Thread Kasun Bandara
Hi, Please $Subject the PR [1] as the Test case for the Public JIRA [2]. [1] https://github.com/wso2/product-is/pull/156 [2] https://wso2.org/jira/browse/IDENTITY-3327 Thanks, Kasun Bandara -- Kasun Bandara *Software Engineer* Mobile : +94 (0) 718 338 360 <%2B94%20%280%29%20773%20451194> kas.

Re: [Dev] [ES] Database Support Issues for ES 2.0

2015-07-24 Thread Chandana Napagoda
On Fri, Jul 24, 2015 at 12:29 PM, Manuranga Perera wrote: > Hi Nadeesha, > > https://wso2.org/jira/browse/STORE-829 > https://wso2.org/jira/browse/STORE-918 > https://wso2.org/jira/browse/STORE-904 > > have to be re-tested whit new IS dependency update. I'll provide a pack > today for this. > > h

Re: [Dev] How to handle REST_URL_POSTFIX property when Query Parameter values are defined

2015-07-24 Thread Uvindra Dias Jayasinha
In our velocity template we are conditionally deciding when the url-mapping attribute or uri-template attribute should be used in the synapse config generated for each API, eher is the velocity template logic, #if($resource.getUriTemplate().contains("{") || ($resource.getUriTemplate().cont

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

2015-07-24 Thread Supun Malinga
Great! Thanks for the fixes Malaka.. Will build and merge this. p.s. I checked with Malaka and he has tested the scenario after the CC modifications. thanks, On Fri, Jul 24, 2015 at 1:56 PM, Malaka Silva wrote: > Updated pls check. > > On Fri, Jul 24, 2015 at 12:43 PM, Supun Malinga wrote: >

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

2015-07-24 Thread Malaka Silva
Updated pls check. On Fri, Jul 24, 2015 at 12:43 PM, Supun Malinga wrote: > Thanks Malaka. I added few comments on code formatting. Could you pls > update ? > > On Fri, Jul 24, 2015 at 12:33 PM, Malaka Silva wrote: > >> Hi All, >> >> Please review and merge the revised fix. >> >> https://github

Re: [Dev] How to handle REST_URL_POSTFIX property when Query Parameter values are defined

2015-07-24 Thread Isuru Udana
Hi Uvindra, I think the correct approach is to completely remove REST_URL_POSTFIX getting appended for HTTP Endpoint. And append only if the user configure to do so. Initially we implemented HTTP Endpoint in that way. But somehow implementation has changed now. I am not sure whether we are too lat

[Dev] How to handle REST_URL_POSTFIX property when Query Parameter values are defined

2015-07-24 Thread Uvindra Dias Jayasinha
We need to come up with $subject. The issue related to this has been highlighted in [1] The REST_URL_POSTFIX property appends the url-mapping of a given resource to the end of the api endpoint in synapse. This is applied by synapse for all APIs that are defined. For example, *API URL* - http://

Re: [Dev] wso2 siddhi CEP integration with storm

2015-07-24 Thread Lasantha Fernando
[Adding WSO2 dev list] Hi Huizhi, It is great to hear that you are using Siddhi for your usecase!. Siddhi 3.0.0-SNAPSHOT version available in master branch [1] can be used with Storm. Currently Siddhi is on 3.0.0 and we have not yet created Siddhi 3.1.0 version. Can you try out with Siddhi-3.0.

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

2015-07-24 Thread Supun Malinga
Thanks Malaka. I added few comments on code formatting. Could you pls update ? On Fri, Jul 24, 2015 at 12:33 PM, Malaka Silva wrote: > Hi All, > > Please review and merge the revised fix. > > https://github.com/wso2/carbon4-kernel/pull/327 > > Pls note: > I have only used following since it'll r

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

2015-07-24 Thread Malaka Silva
Hi All, Please review and merge the revised fix. https://github.com/wso2/carbon4-kernel/pull/327 Pls note: I have only used following since it'll resolve the tenant id internally. privilegedCarbonContext.setTenantDomain(tenantDomain, true); On Fri, Jul 24, 2015 at 12:31 PM, Malaka Silva wrote

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

2015-07-24 Thread Malaka Silva
Hi All, Please review and merge the revised fix. https://github.com/wso2/carbon4-kernel/pull/327 On Fri, Jul 24, 2015 at 9:52 AM, Malaka Silva wrote: > Well we get the required info from the url and that logic is inside and > cannot bring to the startup. > > On Fri, Jul 24, 2015 at 9:29 AM, Su

Re: [Dev] [ES] Database Support Issues for ES 2.0

2015-07-24 Thread Manuranga Perera
Hi Nadeesha, https://wso2.org/jira/browse/STORE-829 https://wso2.org/jira/browse/STORE-918 https://wso2.org/jira/browse/STORE-904 have to be re-tested whit new IS dependency update. I'll provide a pack today for this. https://wso2.org/jira/browse/STORE-765 is also fixed. need to retest I am n