[rules-users] How to get Asset UUID??

Esteban Aliverti esteban.aliverti at gmail.com
Wed Jan 11 05:29:28 EST 2012


For some reason I don't know, it is not possible to retrieve assets using
their UUID in REST-API. Everything must be done using asset's name
If you want to get all the assets' uuid from all your packages in guvnor
you could do something like:

   1. Get all the packages:
   http://localhost:8080/drools-guvnor/rest/packages This will return you a
   list of all the packages with their corresponding assets.
   2. The problem is that the list returned in step1 doesn't contain the
   uuid of the assets, so you have to query each url returned as <asset> to
   get asset information.
   3. Each individual asset will have its uuid under metadata/uuid attribute

Best Regards,



XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Esteban Aliverti
- Developer @ http://www.plugtree.com
- Blog @ http://ilesteban.wordpress.com


On Wed, Jan 11, 2012 at 10:42 AM, srinivasasanda
<srinivasasanda at gmail.com>wrote:

> Hi,
>
> How to get or retrieve Asset UUID's which are present in guvnor.I've
> referred Interacting with guvnor stand-alone  editor in guvnor docs,but
> couldn't able to get the way to retrieve.Could you please suggest me REST
> API url or any other way to retrieve each Asset UUID.
>
> Thanks
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/How-to-get-Asset-UUID-tp3650138p3650138.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20120111/9bd6669e/attachment.html 


More information about the rules-users mailing list