Hi all,
I want to know if there is a way to get an asset with the id of it.

var carbon = require('carbon'),
       server = new carbon.server.Server(),
       registry = new carbon.registry.Registry(server, {
           username : 'admin',
           tenantId : -1234
       });
am = new carbon.registry.ArtifactManager(registry, 'android');

like am.get(id)? I looked into the
documentation<http://wso2.org/project/registry/1.1/docs/apidocs/org/wso2/registry/CoreRegistry.html>and
saw that registry has a get method but that requires a path parameter
(Also this is pure greg, I am accessing Greg through the jaggery module).

-- 
Chan (Dulitha Wijewantha)
Software Engineer - Mobile Development
WSO2Mobile
Lean.Enterprise.Mobileware
 * ~Email       [email protected]*
*  ~Mobile     +94712112165*
*  ~Website   dulithawijewantha.com
*
*  ~Blog         blog.dulithawijewantha.com<http://dulichan.github.io/chan/>
*
*  ~Twitter     @dulitharw <https://twitter.com/dulitharw>*
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to