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) public String[] listKeyspacesOfCurrentUser() 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'
_______________________________________________ Carbon-dev mailing list [email protected] http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
