Hi,
We are having an API Publisher and Store mounted to a remote governance
registry. A tenant logs into the API Publisher to publish an API. When
loading the APIs on the API Store, the tenant registry is queried to load
his APIs. Following is the code block that gets executed.
GovernanceUtils.loadGovernanceArtifacts((UserRegistry) registry);
if(GovernanceUtils.findGovernanceArtifactConfiguration(key,
registry)!=null){
artifactManager = new GenericArtifactManager(registry, key);
}
The registry that is used in here is the tenant's registry. However, the
findGovernanceArtifactConfiguration method returns null until the tenant
logs into the system at least once.
What could be the reason for the above behavior? Any way to get around this
issue?
--
Nuwan Dias
Software Engineer - WSO2, Inc. http://wso2.com
email : [email protected]
Phone : +94 777 775 729
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev