Re: Integration tests for metadata service

2015-11-09 Thread Imesh Gunaratne
On Sat, Nov 7, 2015 at 1:56 PM, Akila Ravihansa Perera wrote: > > I modified the mock iaas component to pass the payload string to the mock > instance. Also added a new API method to mock iaas API to return the > payload string. In the test case, it will retrieve the access token from > the paylo

Re: Integration tests for metadata service

2015-11-08 Thread Akila Ravihansa Perera
Yup, there is a separate test case called "MetadataServiceTestCase". No need to put that to test suite explicitly. I've updated the integration test to load from package name. It will automatically run any test class in the package unless that test group is excluded. On Sun, Nov 8, 2015 at 9:25 PM

Re: Integration tests for metadata service

2015-11-08 Thread Gayan Gunarathne
Great Stuff Akila. So we have separate test case for this? Did we put it to the main test suit? Thanks, Gayan On Sun, Nov 8, 2015 at 12:26 AM, Akila Ravihansa Perera wrote: > Hi Imesh, > > I modified the mock iaas component to pass the payload string to the mock > instance. Also added a new AP

Re: Integration tests for metadata service

2015-11-07 Thread Akila Ravihansa Perera
Hi Imesh, I modified the mock iaas component to pass the payload string to the mock instance. Also added a new API method to mock iaas API to return the payload string. In the test case, it will retrieve the access token from the payload and call the metadata service with it in the Authorization h

Re: Integration tests for metadata service

2015-11-07 Thread Imesh Gunaratne
Great work Akila!! How do we test the access token verification? Thanks On Friday, November 6, 2015, Akila Ravihansa Perera wrote: > Adding missing link > > [1] https://issues.apache.org/jira/browse/STRATOS-1607 > > On Fri, Nov 6, 2015 at 9:58 PM, Akila Ravihansa Perera > wrote: > >> Hi, >> >>

Re: Integration tests for metadata service

2015-11-06 Thread Akila Ravihansa Perera
Adding missing link [1] https://issues.apache.org/jira/browse/STRATOS-1607 On Fri, Nov 6, 2015 at 9:58 PM, Akila Ravihansa Perera wrote: > Hi, > > I've written a set of test cases for Stratos metadata service API which > covers the following scenarios; > > >- Adding application level proper

[jira] [Resolved] (STRATOS-1607) Integration tests for metadata service

2015-11-06 Thread Akila (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1607?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Akila resolved STRATOS-1607. Resolution: Fixed > Integration tests for metadata serv

Integration tests for metadata service

2015-11-06 Thread Akila Ravihansa Perera
Hi, I've written a set of test cases for Stratos metadata service API which covers the following scenarios; - Adding application level properties. - Adding cluster level properties. - Removing application properties - Removing cluster properties - Add properties concurrently throu

[jira] [Commented] (STRATOS-1607) Integration tests for metadata service

2015-11-06 Thread Akila (JIRA)
3a66 > Integration tests for metadata service > -- > > Key: STRATOS-1607 > URL: https://issues.apache.org/jira/browse/STRATOS-1607 > Project: Stratos > Issue Type: Test >

[jira] [Created] (STRATOS-1607) Integration tests for metadata service

2015-11-06 Thread Akila (JIRA)
Akila created STRATOS-1607: -- Summary: Integration tests for metadata service Key: STRATOS-1607 URL: https://issues.apache.org/jira/browse/STRATOS-1607 Project: Stratos Issue Type: Test