[rules-users] Dynamic Fact(field) Generation in Declarative Model

Michael Anstis michael.anstis at gmail.com
Thu Dec 8 08:55:58 EST 2011


Section 9.2 REST API of Guvnor's documentation gives examples.

The URL pattern /packages/{packageName}/assets will provide a list of
assets.

You'll probably have to iterate the result to find an asset of the correct
format (org.drools.guvnor.client.common.AssetFormats contains a list).

URL pattern packages/{packageName}/assets/{assetName}/source can then use
used to retrieve the DRL.

On 8 December 2011 13:33, srinivasasanda <srinivasasanda at gmail.com> wrote:

> Hi Manstis,
>
> I've updated the version to 5.3.0.Could you please suggest me in one of the
> context which I was struggling.There is a REST API to GET and POST the
> packages present at server side in Drools Guvnor.In the same way,Is there
> REST API to GET the facts present in the declarative model of a specified
> package.If it is,can you suggest me how to achieve.
>
> The main objective is I need to retrieve the facts present in the
> declarative model of a package.
>
> Thanks
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/Dynamic-Fact-field-Generation-in-Declarative-Model-tp3545088p3570297.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20111208/c6886629/attachment.html 


More information about the rules-users mailing list