Hi Chandana, Can you please share the test case, you have written? > >> >> Please find the test case at [1].
[1] https://github.com/Sithumini/Registry1103TestCase/blob/master/Registry1103TestCase.java Hi Sanath, > As we discussed yesterday, did you check with GReg team about why the >> option to set the endpoint name and version is not available in the method >> you are using ? Can that have a impact to this behavior? >> > Yes, I discussed that problem with chandana. His suggestion was to create the endpoint using GenericArtifactManager not using the EndpointManager. And now this problem is solved. As instructed endpoint is created using GenericArtifactManager and endpoint name and the version is set. I think that doesn't have an impact on this behaviour. Thanks, Sithumini Thanks and Best Regards, >> >> Saneth Dharmakeerthi >> Senior Software Engineer >> WSO2, Inc. >> Mobile: +94772325511 >> >> On Wed, Mar 4, 2015 at 10:29 PM, Sithumini Senevirathne < >> sithumi...@wso2.com> wrote: >> >>> Hi Sagara, >>> >>> Yes, I have already talked to them. >>> >>> Thanks, >>> Sithumini >>> >>> On Wed, Mar 4, 2015 at 9:51 PM, Sagara Gunathunga <sag...@wso2.com> >>> wrote: >>> >>>> >>>> Did you talk to Krishantha or someone from automation team about the >>>> issue ? >>>> >>>> Thanks ! >>>> >>>> On Wed, Mar 4, 2015 at 9:28 PM, Sithumini Senevirathne < >>>> sithumi...@wso2.com> wrote: >>>> >>>>> Hi, >>>>> >>>>> Currently I am working on writing a test case. >>>>> The problem context is when login to the registry through a tenant >>>>> user and when we create an endpoint then SOF errors are thrown. Errors can >>>>> be found in carbon.log file. >>>>> >>>>> So in test case I followed below steps. >>>>> >>>>> - Created an tenant. >>>>> - Logged in to the registry through the tenant. >>>>> - Added an endpoint using registry GenericArtifactManager. >>>>> - Read the log file to find the error. >>>>> >>>>> But here SOF error is not thrown. Then I manually add an endpoint and >>>>> found the SOF error was thrown. Even the endpoint added through the code >>>>> was not listed in the registry management console metadata list. But both >>>>> endpoints have been created at the correct path. >>>>> >>>>> location of endpoint add in test case code level : >>>>> >>>>> /_system/governance/mediation/mediationdata/endpoint/endpoint1/1.0.0/endpoint >>>>> >>>>> location of manually added endpoint : >>>>> >>>>> /_system/governance/mediation/mediationdata/endpoint/TestEndpoint1/2.0.0/endpoint >>>>> >>>>> This behaviour has become a blocker for this test. >>>>> Can someone explain me the reason for this behaviour? Is there other >>>>> way to overcome this? >>>>> >>>>> >>>>> Thank you, >>>>> Sithumini >>>>> -- >>>>> -- >>>>> Sithumini Senevirathne >>>>> Software Engineer >>>>> WSO2 Inc. - lean . enterprise . middleware | wso2.com >>>>> >>>>> email: sithumi...@wso2.com, mobile: +94 756977999 >>>>> >>>> >>>> >>>> >>>> -- >>>> Sagara Gunathunga >>>> >>>> Senior Technical Lead; WSO2, Inc.; http://wso2.com >>>> V.P Apache Web Services; http://ws.apache.org/ >>>> Linkedin; http://www.linkedin.com/in/ssagara >>>> Blog ; http://ssagara.blogspot.com >>>> >>>> >>> >>> >>> -- >>> -- >>> Sithumini Senevirathne >>> Software Engineer >>> WSO2 Inc. - lean . enterprise . middleware | wso2.com >>> >>> email: sithumi...@wso2.com, mobile: +94 756977999 >>> >>> _______________________________________________ >>> 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 >> >> > > > -- > *Chandana Napagoda* > Senior Software Engineer > WSO2 Inc. - http://wso2.org > > *Email : chand...@wso2.com <chand...@wso2.com>**Mobile : +94718169299 > <%2B94718169299>* > > *Blog : http://cnapagoda.blogspot.com <http://cnapagoda.blogspot.com>* > > -- -- Sithumini Senevirathne Software Engineer WSO2 Inc. - lean . enterprise . middleware | wso2.com email: sithumi...@wso2.com, mobile: +94 756977999
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev