Hi All,

Do we have a better way to $subject, other than following?

<%
    var carbon = require('carbon');
    var url = 'https://localhost:9443/admin/services/';
    var server = new carbon.server.Server(url);
    var options = {username: 'admin',  domain: 'carbon.super' , tenantId:
-1234};
    var registry = new carbon.registry.Registry(server, options);

    var resource = registry.get('/_system/config/ues/dashboards');
    print(resource.content.length);
%>

-- 
Regards,
UdaraR
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to