On Sat, Apr 20, 2013 at 12:31 AM, Senaka Fernando <[email protected]> wrote:
> Hi Nuwan, > > I believe some of the RXT or other related configuration population might > be happening on first login. So, do you need to use this method call before > somebody logs in? I didn't quite get he requirement as yet. > The requirement is that once a publisher creates a publicly advertised API, it should be visible on the store anonymously (without anyone logging in). > > Thanks, > Senaka. > > > On Fri, Apr 19, 2013 at 11:59 PM, Nuwan Dias <[email protected]> wrote: > >> 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 >> >> > > > -- > *Senaka Fernando* > Member - Integration Technologies Management Committee; > Technical Lead; WSO2 Inc.; http://wso2.com* > Member; Apache Software Foundation; http://apache.org > > E-mail: senaka AT wso2.com > **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818 > Linked-In: http://linkedin.com/in/senakafernando > > *Lean . Enterprise . Middleware > -- Nuwan Dias Member, Management Committee - Solutions Technology Group 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
