[rules-users] Changing asset metadata properties in Guvnor

Viktor Chekh cheh.viktor at gmail.com
Mon Mar 25 05:34:59 EDT 2013


Hi guys!

I am quite new to Guvnor so i would like to ask you for some assistance.
I need to change Guvnor asset metadata property by using REST Api. I am
sending XML

<asset>
<author>test</author>
<binaryContentAttachmentFileName/>
<binaryLink>
http://localhost:8080/guvnor-5.5.0.Final-tomcat-6.0/rest/packages/mortgages/assets/bobik/binary
</binaryLink>
<description/>
<metadata>
<checkInComment>disabled</checkInComment>
<created>2013-03-20T18:53:55.253+02:00</created>
<disabled>false</disabled>
<format>brl</format>
<note></note>
<state>Draft</state>
<uuid>5c8b1767-d9ee-42fa-bb4d-ab0e2b37aff5</uuid>
<versionNumber>43</versionNumber>
</metadata>
<published>2013-03-22T11:41:52.018+02:00</published>
<refLink>
http://localhost:8080/guvnor-5.5.0.Final-tomcat-6.0/rest/packages/mortgages/assets/bobik
</refLink>
<sourceLink>
http://localhost:8080/guvnor-5.5.0.Final-tomcat-6.0/rest/packages/mortgages/assets/bobik/source
</sourceLink>
<title>bobik</title>
</asset>

to my url :

http://localhost:8080/guvnor-5.5.0.Final-tomcat-6.0/rest/packages/mortgages/assets/bobik

via HTTP PUT and nothing exept version number of the asset is changed.

Do you have any ideas why is that?

-- 
Best regards,
Viktor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20130325/0bd67740/attachment.html 


More information about the rules-users mailing list