[rules-dev] Issue when trying to fetch packages (source) and fireRules (mortages)

Jervis Liu jliu at redhat.com
Tue Apr 23 02:22:34 EDT 2013


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 at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-dev/attachments/20130423/1d9fdfbc/attachment.html 


More information about the rules-dev mailing list