Hi Sinthuja, >From the registry point of view, we are not replicating one tenant's resources into another tenant's registry. I would like to know how you guys set one resource visible to other tenants?
Regards, Chandana On Jun 1, 2016 11:47 PM, "Sinthuja Ragendran" <[email protected]> wrote: > Hi, > > I did some further testing, and it looks like we are replicating the super > tenant cache entries to tenant cache, when the tenant is loading at the > first time. Because if I first create the dashboard (a registry resource) > in super tenant and configured it to be shared by all nodes, and secondly > if I create the tenant and try to login, then I can see my shared > dashboards. But if I create the tenant first and secondly I configure the > share option in the dashboard, then I'm not seeing the dashboard. Therefore > I believe that there is simply a cache replication issue. > > Can we get a fix for this issue? > > Thanks, > Sinthuja. > > On Wed, Jun 1, 2016 at 10:51 PM, Megala Uthayakumar <[email protected]> > wrote: > >> Hi, >> >> We are using super-tenant registry to load the dashboards in other >> tenants. We are using following code. >> >> superTenantRegistry = new carbon.registry.Registry(server, { >> system: true, >> tenantId: carbon.server.superTenant.tenantId >> }); >> >> Thanks. >> >> Regards, >> >> Megala >> >> >> On Wed, Jun 1, 2016 at 10:47 PM, Chandana Napagoda <[email protected]> >> wrote: >> >>> Hi, >>> >>> How are you sharing the asset between all the tenants? Is it a public >>> visible asset? >>> >>> Regards, >>> Chandana >>> On Jun 1, 2016 10:08 PM, "Megala Uthayakumar" <[email protected]> wrote: >>> >>>> Hi All, >>>> >>>> We are developing a shared dashboard feature for Dashboard Server. This >>>> feature allows the dashboard created from super-tenant to be shared among >>>> all the tenants. We have observed following behavior when developing this >>>> feature. >>>> >>>> When we create a shareable dashboard in super-tenant mode and if we >>>> immediately login to portal as a different tenant-user. Shared database is >>>> not visible in the tenant mode. We were able to see the shared dashboard in >>>> other tenants after we restart the server. >>>> >>>> However after we disable registry caching, we were able to see the >>>> shared dashboard in tenant mode immediately after login without requiring >>>> to restart the server. Is it possible to get the same type of behavior >>>> without disabling registry cache? >>>> >>>> Thanks >>>> >>>> Regards, >>>> Megala >>>> -- >>>> Megala Uthayakumar >>>> >>>> Software Engineer >>>> Mobile : 0779967122 >>>> >>>> _______________________________________________ >>>> Dev mailing list >>>> [email protected] >>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>> >>>> >> >> >> -- >> Megala Uthayakumar >> >> Software Engineer >> Mobile : 0779967122 >> >> _______________________________________________ >> Dev mailing list >> [email protected] >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > *Sinthuja Rajendran* > Associate Technical Lead > WSO2, Inc.:http://wso2.com > > Blog: http://sinthu-rajan.blogspot.com/ > Mobile: +94774273955 > > >
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
