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(a)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...
Sent from the Drools: User forum mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users