On 2012/4/14 13:41, Amin Mohammed-Coleman wrote:
Hi
I am trying to use the Guvnor Rest API to upload rules and BPMN process definitions to a
remote Guvnor installation. So far I am able to update the binary content of the asset
using:
/drools-guvnor/rest/packages/myPackage/assets/myAsset/binary
However when I look at the history for the asset, the current version does not point to
the version I have uploaded using the API. Is there a separate API I have to call in
order to set the current version to be the one I've uploaded or is there an example
which I can reference?
What is the latest version? What does the check in comment
say?
There are plenty of examples in this test:
https://github.com/droolsjbpm/guvnor/blob/master/guvnor-webapp-drools/src....
Take a look at testCreateAndUpdateAndGetBinaryAsset.
Cheers,
Jervis
I'm using Guvnor 5.4.0-CR1
Any help would be appreciated.
Thanks
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users