Hi,

I think this should be asked in dev@, first?! If it appears that there's no
such feature/API, then only you should have discussed this in architecture@IMO.

On Wed, Jun 12, 2013 at 11:26 AM, Chan <[email protected]> wrote:

> 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
>
>


-- 

Thanks & regards,
Nirmal

Senior Software Engineer- Platform Technologies Team, WSO2 Inc.
Mobile: +94715779733
Blog: http://nirmalfdo.blogspot.com/
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to