[Dev] API subscribe not working in tenant mode in test automation`
Hi, Currently i'm writing on a test case to publish a api through tenant and want to subscribe that api and need to invoke the api i have created, But im getting below error when calling org.wso2.carbon.am.tests.util.APIStoreRestClient's subscribe() method {error : true, message : org.wso2.carbon.apimgt.api.APIManagementException: Error while adding the subscription for user: amuse...@wso2.com} This process works fine when doing it using super tenant mode. Im using api manager 1.8.0. Thank you. -- Shashika Prabath Karunatilaka, Software Engineer, WSO2, Inc: http://wso2.com/ mobile : +94 77 7487792 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] API subscribe not working in tenant mode in test automation`
HI Shashika, Can you manually do the subscription from the same user (amuse...@wso2.com)? Check whether the given user has subscription permition. Thanks and Best Regards, Saneth Dharmakeerthi Senior Software Engineer WSO2, Inc. Mobile: +94772325511 On Sat, Apr 4, 2015 at 12:23 PM, Shashika Karunatilaka shashi...@wso2.com wrote: Hi, Currently i'm writing on a test case to publish a api through tenant and want to subscribe that api and need to invoke the api i have created, But im getting below error when calling org.wso2.carbon.am.tests.util.APIStoreRestClient's subscribe() method {error : true, message : org.wso2.carbon.apimgt.api.APIManagementException: Error while adding the subscription for user: amuse...@wso2.com} This process works fine when doing it using super tenant mode. Im using api manager 1.8.0. Thank you. -- Shashika Prabath Karunatilaka, Software Engineer, WSO2, Inc: http://wso2.com/ mobile : +94 77 7487792 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] API subscribe not working in tenant mode in test automation`
Hi Shashika, Is there any detail log available in server side about this error. Thanks and Best Regards, Saneth Dharmakeerthi Senior Software Engineer WSO2, Inc. Mobile: +94772325511 On Sat, Apr 4, 2015 at 12:50 PM, Shashika Karunatilaka shashi...@wso2.com wrote: Hi Saneth, yes, can do the same thing.it works from ui. On Sat, Apr 4, 2015 at 12:33 PM, Saneth Dharmakeerthi sane...@wso2.com wrote: HI Shashika, Can you manually do the subscription from the same user ( amuse...@wso2.com)? Check whether the given user has subscription permition. Thanks and Best Regards, Saneth Dharmakeerthi Senior Software Engineer WSO2, Inc. Mobile: +94772325511 On Sat, Apr 4, 2015 at 12:23 PM, Shashika Karunatilaka shashi...@wso2.com wrote: Hi, Currently i'm writing on a test case to publish a api through tenant and want to subscribe that api and need to invoke the api i have created, But im getting below error when calling org.wso2.carbon.am.tests.util.APIStoreRestClient's subscribe() method {error : true, message : org.wso2.carbon.apimgt.api.APIManagementException: Error while adding the subscription for user: amuse...@wso2.com} This process works fine when doing it using super tenant mode. Im using api manager 1.8.0. Thank you. -- Shashika Prabath Karunatilaka, Software Engineer, WSO2, Inc: http://wso2.com/ mobile : +94 77 7487792 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Shashika Prabath Karunatilaka, Software Engineer, WSO2, Inc: http://wso2.com/ mobile : +94 77 7487792 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] API subscribe not working in tenant mode in test automation`
Hi Saneth, yes, can do the same thing.it works from ui. On Sat, Apr 4, 2015 at 12:33 PM, Saneth Dharmakeerthi sane...@wso2.com wrote: HI Shashika, Can you manually do the subscription from the same user (amuse...@wso2.com )? Check whether the given user has subscription permition. Thanks and Best Regards, Saneth Dharmakeerthi Senior Software Engineer WSO2, Inc. Mobile: +94772325511 On Sat, Apr 4, 2015 at 12:23 PM, Shashika Karunatilaka shashi...@wso2.com wrote: Hi, Currently i'm writing on a test case to publish a api through tenant and want to subscribe that api and need to invoke the api i have created, But im getting below error when calling org.wso2.carbon.am.tests.util.APIStoreRestClient's subscribe() method {error : true, message : org.wso2.carbon.apimgt.api.APIManagementException: Error while adding the subscription for user: amuse...@wso2.com} This process works fine when doing it using super tenant mode. Im using api manager 1.8.0. Thank you. -- Shashika Prabath Karunatilaka, Software Engineer, WSO2, Inc: http://wso2.com/ mobile : +94 77 7487792 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Shashika Prabath Karunatilaka, Software Engineer, WSO2, Inc: http://wso2.com/ mobile : +94 77 7487792 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] API subscribe not working in tenant mode in test automation`
Hi Saneth, I checked with Shashika regarding this issue happen when give provider name incorrectly. Because We are replacing '@' mark in tenant domain seperation in provider in to '-AT-' therefore we have to give provider name by replacing @ mark from that '-AT-' mark . Thanks Tharindu On Sat, Apr 4, 2015 at 1:19 PM, Saneth Dharmakeerthi sane...@wso2.com wrote: Hi Shashika, Is there any detail log available in server side about this error. Thanks and Best Regards, Saneth Dharmakeerthi Senior Software Engineer WSO2, Inc. Mobile: +94772325511 On Sat, Apr 4, 2015 at 12:50 PM, Shashika Karunatilaka shashi...@wso2.com wrote: Hi Saneth, yes, can do the same thing.it works from ui. On Sat, Apr 4, 2015 at 12:33 PM, Saneth Dharmakeerthi sane...@wso2.com wrote: HI Shashika, Can you manually do the subscription from the same user ( amuse...@wso2.com)? Check whether the given user has subscription permition. Thanks and Best Regards, Saneth Dharmakeerthi Senior Software Engineer WSO2, Inc. Mobile: +94772325511 On Sat, Apr 4, 2015 at 12:23 PM, Shashika Karunatilaka shashi...@wso2.com wrote: Hi, Currently i'm writing on a test case to publish a api through tenant and want to subscribe that api and need to invoke the api i have created, But im getting below error when calling org.wso2.carbon.am.tests.util.APIStoreRestClient's subscribe() method {error : true, message : org.wso2.carbon.apimgt.api.APIManagementException: Error while adding the subscription for user: amuse...@wso2.com} This process works fine when doing it using super tenant mode. Im using api manager 1.8.0. Thank you. -- Shashika Prabath Karunatilaka, Software Engineer, WSO2, Inc: http://wso2.com/ mobile : +94 77 7487792 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Shashika Prabath Karunatilaka, Software Engineer, WSO2, Inc: http://wso2.com/ mobile : +94 77 7487792 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Tharindu Dharmarathna*Associate Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: *+94779109091* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [Orbit] pls merge the PR for protobuf-java v 2.5.0-spark
Hi, Kind reminder to look into this. Rgds On Mon, Mar 30, 2015 at 1:44 PM, Niranda Perera nira...@wso2.com wrote: Hi Kasun, I created the orbit bundle for the $subject with the artifact ID 'spark-protobuf-java'. could you please review it and merge? [1] this follows the discussion we had in this thread [2] rgds [1] https://github.com/wso2/orbit/pull/74 [2] [Dev] [Carbon] Carbon P2 Plugin issue - jars with different package name BUT same artifact IDs rgds -- *Niranda Perera* Software Engineer, WSO2 Inc. Mobile: +94-71-554-8430 Twitter: @n1r44 https://twitter.com/N1R44 -- *Niranda Perera* Software Engineer, WSO2 Inc. Mobile: +94-71-554-8430 Twitter: @n1r44 https://twitter.com/N1R44 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] App Manager sample deployer
Hi Dinusha, I sent you a pull request[A] with above changes. A. https://github.com/wso2/carbon-appmgt/pull/25 But I didn't add the following changes, 1. Since NetworkUtil class is defined in org.wso2.carbon.utils package i didn't remove that method 2. That key store thing because it needs to be discussed. *Sachith Ushan* Software Engineering intern WSO2 : http://wso2 http://goog_1352065705.com mobile :- +94 71 8853336 sachi...@wso2.com On Fri, Apr 3, 2015 at 8:00 PM, Sachith Herath sachi...@wso2.com wrote: Hi Dinusha, OK.I will add those changes. Regards, *Sachith Ushan* Software Engineering intern WSO2 : http://wso2 http://goog_1352065705.com mobile :- +94 71 8853336 sachi...@wso2.com On Fri, Apr 3, 2015 at 1:17 PM, Dinusha Senanayaka dinu...@wso2.com wrote: Hi Sachith, Good work . I have merged your pull request [A] since pack need to be tested with this. Please do following changes to your next immediate pull request. Also schedule a code review for Monday. [A]. https://github.com/wso2/carbon-appmgt/pull/24 1. Update licence headers in all files 2. Add class level and method level comments and mentioned what each class/method is doing 3. Exception hanldling in all classes -Remove all e.printStackTrace() -Introduce new exception class like AppMSampleDeployerException and log the original exception and throw this exception. eg: catch (IOException e) { e.printStackTrace(); } chnage it as, catch (IOException e) { log.error(Error while building login html page, e); throw new AppMSampleDeployerException(Error while building login html page, e); } 4. ApplicationController.java - - Read ip address from carbon server properties instead of NetworkUtils.getLocalHostname() - Remove hardcoded 8280 port in accsesWebPages() method 5. HttpHandler.java - - Is this correct private final static String USER_AGENT = Mozilla/5.0; - Also this won't run if the default keystores get changed. Need to discuss whether we need to handle this HttpsURLConnection.setDefaultHostnameVerifier(new HostnameVerifier() { public boolean verify(String hostname, SSLSession session) { if (hostname.equals(localhost)) return true; return false; } }); Regards, Dinusha. -- Dinusha Dilrukshi Senior Software Engineer WSO2 Inc.: http://wso2.com/ Mobile: +94725255071 Blog: http://dinushasblog.blogspot.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] WSO2 IS 5.1.0 with Carbon Kernel 4.4.0
On Fri, Apr 3, 2015 at 11:35 PM, Manoj Kumara ma...@wso2.com wrote: HI Malithi, Did you install the mail transport features from the 'wso2-axis2-transports' repo. Previously these dependencies came from the kernel and in git we move them to a separate repo. I believe we don't yet have the java8-support branch for this repo that is dependent on kernel 4.4.0. Therefore we can't install these features. Regards, Manoj *Manoj Kumara* Software Engineer WSO2 Inc. http://wso2.com/ *lean.enterprise.middleware* Mobile: +94713448188 On Fri, Apr 3, 2015 at 11:12 PM, Malithi Edirisinghe malit...@wso2.com wrote: Hi All, Please note kindly that WSO2 IS 5.1.0 pack shared above has below limitations. *Limitations:* Email transport is not working. Thus, any email sending feature of Identity Management (Account Recovery and Credential Management Feature) will not work as expected. Thanks, WSO2 IS Team On Fri, Apr 3, 2015 at 10:00 PM, Malithi Edirisinghe malit...@wso2.com wrote: Hi All, Please find WSO2 IS 5.1.0 built with Carbon Kernel 4.4.0 supporting Java 7 and Java 8 at [1]. Your feedback is most welcome, and any issues can be reported on our JIRA at [2]. [1] https://svn.wso2.org/repos/wso2/people/isteam/ispacks/5.1.0-SNAPSHOT.build1/wso2is-5.1.0-SNAPSHOT.zip [2] https://wso2.org/jira/browse/IDENTITY WSO2 IS Team -- *Malithi Edirisinghe* Senior Software Engineer WSO2 Inc. Mobile : +94 (0) 718176807 malit...@wso2.com -- *Malithi Edirisinghe* Senior Software Engineer WSO2 Inc. Mobile : +94 (0) 718176807 malit...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Thanks Regards, *Johann Dilantha Nallathamby* Associate 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