Hi Deep, Thanks for the reply. Comments inline. Appreciate a quick resolution as this is critical for BAM2.
On Mon, Oct 10, 2011 at 6:37 AM, Deependra Ariyadewa <[email protected]> wrote: > > > On Wed, Oct 5, 2011 at 2:25 PM, Tharindu Mathew <[email protected]> wrote: > >> Hi, >> >> We need $subject simliar to how we get the tenant registry. We need to run >> system configured tasks on tenant's data for BAM. >> > >> How feasible is this? >> > > There are two ways to get keySpaces inthe current implementation. > > public String[] listKeyspaces(String clusterName, String username, String > password) > When I'm running a system task I do not know the credentials of the tenant. So this will not work. > > public String[] listKeyspacesOfCurrentUser() > There is no current user or logged in user as this is a system tasks. I need to run a system task. > > check : > > cassandra/org.wso2.carbon.cassandra.mgt/3.2.1/src/main/java/org/wso2/carbon/cassandra/mgt/CassandraKeyspaceAdmin.java > > Listing keyspaces for a give tenant ID is possible. In the implementation > this action should only allow for super tenant or a admin role. > > Thanks, > > Deependra. > >> > >> >> -- >> Regards, >> >> Tharindu >> >> blog: http://mackiemathew.com/ >> >> > > > -- > Deependra Ariyadewa > WSO2, Inc. http://wso2.com/ http://wso2.org > > email [email protected]; cell +94 71 403 5996 ; > Blog http://risenfall.wordpress.com/ > PGP info: KeyID: 'DC627E6F' > > -- Regards, Tharindu blog: http://mackiemathew.com/
_______________________________________________ Carbon-dev mailing list [email protected] http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
