Hi all,
In current app factory implementation whenever a user view one
application's Database/Database users/Database permission templates  in
resources UI, he can see all the Databases/Database users/Data base
permission templates from within a tenant.
At run time database of one application cannot be accessed by other
applications,
because the database user password is only known by the first application
user.
So here we need to only filter the  Database/Database user/Data base
permission template in UI level. In order to filter at app factory UI level
we need to keep mapping between the applications and Databases/Database
users/Data base permission templates.

Here there will be three RXTs (DB,DBUser,PermissionTemplate) to store the
name and environment of the database,user and template.An OwnedBy type of
registry association will be used to associate each RXTs to application.

While adding the database or user or template first we will check
availability of the name in Storage Server(SS) side  and then only it will
be added to RXT and SS.While listing the database,user and template, first
the name of those resources will be retrieved from RXTs that have
ownedByassociation with the selected application and then displayed
.When the user click on the name of the resources only more details will be
pulled from SS.

Appreciate any feedback or concerns on this approach.
-- 
Ajanthan Balachandiran
Senior Software Engineer;
Solutions Technologies Team ;WSO2, Inc.;  http://wso2.com/

email: ajanthan <http://goog_595075977>@wso2.com; cell: +94775581497
blog: http://bkayts.blogspot.com/

Lean . Enterprise . Middleware
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to