You do this with REST API using a HTTP PUT to the URL http://localhost:8080/guvnor-5.5.0.CR1/rest/packages{packageName}/assets/{assetName}/binary with MIME type application/octet-stream.
There is a test called "testCreateAndUpdateAndGetBinaryAsset" (https://github.com/droolsjbpm/guvnor/blob/master/guvnor-webapp-drools/src/test/java/org/drools/guvnor/server/jaxrs/BasicPackageResourceIntegrationTest.java)
that can be used as an example.
Hi Mike,
Thanks for your confirmation. As an alternate for it, we thought of having
the rules in Excel sheet and upload it to the guvnor using Rest Api /
WebDAV.
Is there an easy way to achieve this ? or I have to manually parse the excel
sheet and construct the xml string and update the Decision table ? coz I
found in a blog,
http://blog.athico.com/2008/05/accessing-guvnor-as-filesystem-webdav.html
that we can use WebDAV for saving Excel directly to the repository. But I
didn t find any info regarding how to do this.
Can you give some guidance for saving Excel to repository directly.
Thanks,
Prasanna Venkataraman.
--
View this message in context: http://drools.46999.n3.nabble.com/Clustered-Guvnor-performance-issue-tp4020370p4020420.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users