On Thu, Nov 21, 2013 at 11:02 PM, Dimuthu Leelarathne <[email protected]>wrote:
> Hi Ajanthan, > > Why do we need 3 RXTs? > We need one RXT for DB,DBUser,PermissionTemplate. Do you thing we can store all three data in one RXT(DBInfo) ?Does Greg support storing multiple values(say arrays) ? > > thanks, > dimuthu > > > > On Thu, Nov 21, 2013 at 10:49 PM, Ajanthan Balachandran <[email protected] > > wrote: > >> 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 OwnedBytype 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 ownedBy association 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 >> > > > > -- > Dimuthu Leelarathne > Architect & Product Lead of App Factory > > WSO2, Inc. (http://wso2.com) > email: [email protected] > Mobile : 0773661935 > > Lean . Enterprise . Middleware > -- ajanthan -- 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
