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

srinivasasanda srinivasasanda at gmail.com
Fri Jan 13 01:54:07 EST 2012


Hi 
Hi,
I'm able to get asset information like UUID, format etc using the following
Rest API
:http://localhost:8080/drools-guvnor/rest/packages/defaultPackage/assets/ABC

It displaying the following xml code in browser :
<asset><binaryLink>http://localhost:8080/drools-guvnor/rest/packages/defaultPackage/asset/ABC/binary</binaryLink><checkInComment/><description>created
by standalone
editor</description><metadata><created>2012-01-09T16:09:42.284+05:30</created><createdBy>guest</createdBy><disabled>false</disabled><format>template</format><lastModified>2012-01-09T16:09:48.122+05:30</lastModified><note/><title>ABC</title><uuid>cf3823ca-f805-42c9-82d3-842b17b344fe</uuid></metadata><refLink>http://localhost:8080/drools-guvnor/rest/packages/defaultPackage/asset/ABC</refLink><sourceLink>http://localhost:8080/drools-guvnor/rest/packages/defaultPackage/asset/ABC/source</sourceLink><type/><version>1</version></asset>

Suppose if i have 5 rules in the above template asset "ABC" how can i get
those rules information using Rest API or any other drools API (if i have
UUID of the template).

Please suggest me.

--
View this message in context: http://drools.46999.n3.nabble.com/How-to-get-Asset-UUID-tp3650138p3655941.html
Sent from the Drools: User forum mailing list archive at Nabble.com.



More information about the rules-users mailing list