On 2013/4/19 19:40, Charles Moulliard wrote:
Hi,

I try to fetch using REST from Guvnor the mortgages packages, drl, .. . With the String retrieved, I would like to recreate a Knowledge repository to insert a fact in a session and fire Drools rules

Here is the code :

https://gist.github.com/cmoulliard/4e9b6dc3ff384715ff9a
Hi, your code looks alright. What content did you get back from URL http://127.0.0.1:8080/guvnor.war/rest/packages/mortgages/source ? and did you see any errors on servers log?

Cheers,
Jervis

Apparently no packages have been created from source / string retrieved. What is wrong ?

Regards,

--
Charles Moulliard
Apache Committer / Sr. Enterprise Architect (RedHat)
Twitter : @cmoulliard | Blog : http://cmoulliard.blogspot.com



_______________________________________________
rules-dev mailing list
rules-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev