Ok, so I have this working now. You have to push a string of the form:
import ObjectName
import anotherObjectName
To:
http://127.0.0.1:8080/guvnor-5.5.0.Final-jboss-as-7.0/org.drools.guvnor.Guvnor/webdav/packages/{packageName}/drools
The following code worked for me:
String guvnorExtension =
Thanks for your help. I'll take a look at that.
--
View this message in context:
http://drools.46999.n3.nabble.com/Uploading-JAR-using-REST-tp4022115p4022154.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users ma
On 2013/2/7 22:06, rjr201 wrote:
> Since posting this, I've realised that if I go to the Edit tab on the Package
> page and click the green cross on imported types I can see the objects in my
> JAR and import them. The rules can then use them fine. When uploading a JAR
> file by hand there is no ne
Since posting this, I've realised that if I go to the Edit tab on the Package
page and click the green cross on imported types I can see the objects in my
JAR and import them. The rules can then use them fine. When uploading a JAR
file by hand there is no need to do this import step.
Do you know
Rich,
I suspect we don't invalidate the cache containing package+models when a
new model is pushed via REST. The only work around would be to restart
Guvnor.
Jliu,
Could you please have a quick look (at 5.5.x) and confirm this is the case.
On 7 February 2013 12:37, rjr201 wrote:
> Hi,
>
> I'v
Hi,
I've successfully uploaded a JAR file using the rest api. I can see it under
the model tab of a package in Guvnor. However, when I go to create a rule
using the Guided Editor it tells me that no model has been uploaded.
Does anyone have any ideas why this happens and how to go about solving