-
1. Re: Obtain assets from KnowledgeBase
eaa Jan 10, 2012 12:56 PM (in response to marnold)You can use Guvnor's webdav access to get those files.
-
2. Re: Obtain assets from KnowledgeBase
tsurdilovic Jan 11, 2012 12:14 AM (in response to eaa)You could use the "old" Guvnor api to get this. At what point this may be deprecated I really don't know but works fine with Guvnor 5.3.1 which is used in jBPM 5.2. The URL for lets say my-image.png in package myPackage and snapshot LATEST would be:
http://localhost:8080/drools-guvnor/org.drools.guvnor.Guvnor/package/myPackage/LATEST/my-image.png
You should be able to substitute LATEST with your snapshot name.
Hope this helps.
-
3. Re: Obtain assets from KnowledgeBase
marnold Jan 11, 2012 4:32 AM (in response to tsurdilovic)Esteban,
Thanks - WebDAV works fine.
Tihomir,
Thanks for your suggestion. But I'd rather not use a deprecated API. And, FYI, unexpectedly, when I try to GET...
... I always get the entire package in binary form - no matter what I put as ${filename} in the URL (using Guvnor 5.3.1). But this doesn't concern me. I will use WebDAV.
Thanks.
-
4. Re: Obtain assets from KnowledgeBase
jbpm_new Feb 10, 2012 12:48 PM (in response to tsurdilovic)Hi Tihomir,
Is it possible to get the files from different versions of the package. Lets say, i have default package, and some files in that, and i update the files.
When i use them in my process i always get the latest files, is it possible to get files with different version other than latest?
Thanks