[Dev] [APIM][Integration-test]Integration test for Application Subscription Sharing
Hi, I need to write a test case for Application subscription sharing feature. For this, I require a user who has claims. I could not find how to add claims for user. Please let me know if there are any references that I could refer to in order to write this. -- Thanks and Regards *,Shani Ranasinghe* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: +94 77 2273555 linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [APIM][Integration-test]Integration test for Application Subscription Sharing
Hi, Thanks for the info. Will follow this. On Tue, Mar 17, 2015 at 10:23 AM, Waruna Perera waru...@wso2.com wrote: Hi Shani, Remember that due to cache storage, you need to restart the server in the test case after the user claims are updated. Thanks, On Tue, Mar 17, 2015 at 9:43 AM, Saneth Dharmakeerthi sane...@wso2.com wrote: Hi Shani, RemoteUserStoreManagerServiceClient [1] has setUserClaimValue() method. You can find the usage in [2] [1] https://github.com/wso2/product-apim/blob/master/modules/integration/tests-common/admin-clients/src/main/java/org/wso2/am/admin/clients/user/RemoteUserStoreManagerServiceClient.java [2] https://github.com/wso2/product-apim/blob/master/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/am/integration/tests/sample/JWTTestCase.java Thanks and Best Regards, Saneth Dharmakeerthi Senior Software Engineer WSO2, Inc. Mobile: +94772325511 On Tue, Mar 17, 2015 at 8:38 AM, Shani Ranasinghe sh...@wso2.com wrote: Hi, I need to write a test case for Application subscription sharing feature. For this, I require a user who has claims. I could not find how to add claims for user. Please let me know if there are any references that I could refer to in order to write this. -- Thanks and Regards *,Shani Ranasinghe* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: +94 77 2273555 linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab ___ 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 -- Waruna Perera Senior Software Engineer - Test Automation Mobile: +94 77 3867037 WSO2, Inc.; http://wso2.com/ lean . enterprise . middlewear. -- Thanks and Regards *,Shani Ranasinghe* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: +94 77 2273555 linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [APIM][Integration-test]Integration test for Application Subscription Sharing
Hi Shani, RemoteUserStoreManagerServiceClient [1] has setUserClaimValue() method. You can find the usage in [2] [1] https://github.com/wso2/product-apim/blob/master/modules/integration/tests-common/admin-clients/src/main/java/org/wso2/am/admin/clients/user/RemoteUserStoreManagerServiceClient.java [2] https://github.com/wso2/product-apim/blob/master/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/am/integration/tests/sample/JWTTestCase.java Thanks and Best Regards, Saneth Dharmakeerthi Senior Software Engineer WSO2, Inc. Mobile: +94772325511 On Tue, Mar 17, 2015 at 8:38 AM, Shani Ranasinghe sh...@wso2.com wrote: Hi, I need to write a test case for Application subscription sharing feature. For this, I require a user who has claims. I could not find how to add claims for user. Please let me know if there are any references that I could refer to in order to write this. -- Thanks and Regards *,Shani Ranasinghe* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: +94 77 2273555 linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab ___ 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] [APIM][Integration-test]Integration test for Application Subscription Sharing
Hi Shani, Remember that due to cache storage, you need to restart the server in the test case after the user claims are updated. Thanks, On Tue, Mar 17, 2015 at 9:43 AM, Saneth Dharmakeerthi sane...@wso2.com wrote: Hi Shani, RemoteUserStoreManagerServiceClient [1] has setUserClaimValue() method. You can find the usage in [2] [1] https://github.com/wso2/product-apim/blob/master/modules/integration/tests-common/admin-clients/src/main/java/org/wso2/am/admin/clients/user/RemoteUserStoreManagerServiceClient.java [2] https://github.com/wso2/product-apim/blob/master/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/am/integration/tests/sample/JWTTestCase.java Thanks and Best Regards, Saneth Dharmakeerthi Senior Software Engineer WSO2, Inc. Mobile: +94772325511 On Tue, Mar 17, 2015 at 8:38 AM, Shani Ranasinghe sh...@wso2.com wrote: Hi, I need to write a test case for Application subscription sharing feature. For this, I require a user who has claims. I could not find how to add claims for user. Please let me know if there are any references that I could refer to in order to write this. -- Thanks and Regards *,Shani Ranasinghe* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: +94 77 2273555 linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab ___ 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 -- Waruna Perera Senior Software Engineer - Test Automation Mobile: +94 77 3867037 WSO2, Inc.; http://wso2.com/ lean . enterprise . middlewear. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev