This content has been marked as final.
Show 2 replies
-
1. Re: How to get BPMN Process Definition xml from Guvnor repository
tsurdilovic Aug 25, 2011 9:36 PM (in response to uvijayreddy657)If you want to do this with Java code, you can use the Guvnor REST api. Example URL (GET request):
http://localhost:8080/drools-guvnor/rest/packages/<packageName>/assets/<assetName>/source/
(substitute <packageName> and <assetName> with your concrete values. This will return you the bpmn2 (source) of your process in Guvnor. If you are using jaas auth in guvnor, you would need to use for example BASE64Encoder to encode usr/pwd and set the Authorization request property.
You can also use the Drools Eclipse plugin and use the Guvnor perspective to connect to your repository and view the sources, or you could write your own WebDav client also.
Hope this helps.
-
2. Re: How to get BPMN Process Definition xml from Guvnor repository
uvijayreddy657 Aug 29, 2011 8:24 AM (in response to tsurdilovic)1 of 1 people found this helpfulThanks Tihomir. I am able to get the definition xml.