Hi,
I'm testing a scenario[1] where a .rxt file (service.rxt) is saved by
adding content.
Then the saved content is accessed using
'governanceServiceClient.getConfiguration(service)'.
But, it returns 'null'. If I login to the server manually, and invoke the
above method,it returns the content properly.
So, I added
'new LoginLogoutClient(automationContext).login();' before the method, to
achieve it.
But, the issue remains the same.
I now tried with invoking 'GovernanceUtils.loadGovernanceArtifacts()' as
you mentioned.But, the content returned is still null.
[1]
https://github.com/wso2-dev/product-greg/blob/master/modules/integration/tests-integration/tests-governance-api/src/test/java/org/wso2/carbon/registry/governance/api/ui/test/ConfigureServiceUITestCase.java
Thanks,
On Wed, Jul 16, 2014 at 11:10 AM, Ajith Vitharana aji...@wso2.com wrote:
On Wed, Jul 16, 2014 at 10:54 AM, Denuwanthi De Silva denuwan...@wso2.com
wrote:
Hi,
The LoginListener (RXTLoader.java) does not seems to catch the login
events invoked inside 'AuthenticationAdmin' backend service login
method. (but works fine with the UI loggings)
What could be the cause?
What is your requirement ? If you are going to do some governance
artifact access from a client/API, first should invoke GovernanceUtils.
loadGovernanceArtifacts().
Thanks
Ajith.
Thanks,
--
Denuwanthi De Silva
Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev
--
Ajith Vitharana.
WSO2 Inc. - http://wso2.org
Email : aji...@wso2.com
Mobile : +94772217350
--
Denuwanthi De Silva
Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev