[rules-users] Regarding Programmatically Adding Rules to Workbench

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[rules-users] Regarding Programmatically Adding Rules to Workbench

Shazin Sadakath
Hi,

I am working a on a Drools based Promotion Engine where from an External Application I need to create the rules and load it to Drools Workbench Programmatically preferably using REST API. Is there a similar functionality implemented in Drools Workbench or does it need custom development?

Thanks in advance.

Regards,
Shazin

_______________________________________________
rules-users mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/rules-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [rules-users] Regarding Programmatically Adding Rules to Workbench

manstis

We promote use of jgit or similar Git libraries to manipulate the underlying repositories rather than providing a REST API to manipulate assets.

That said you don't need to worry unduly about manipulating assets with a low level Git library; you can clone workbench repositories, manipulate assets at the file system level - e.g. add, edit or delete files and folders - git add, git commit and git push and the changes will appear in the Workbench.

You'll need to go to the Administration Perspective, get the ssh url for the repository you want to manipulate.

On 18 Mar 2017 05:18, "Shazin Sadakath" <[hidden email]> wrote:
Hi,

I am working a on a Drools based Promotion Engine where from an External Application I need to create the rules and load it to Drools Workbench Programmatically preferably using REST API. Is there a similar functionality implemented in Drools Workbench or does it need custom development?

Thanks in advance.

Regards,
Shazin

_______________________________________________
rules-users mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/rules-users

_______________________________________________
rules-users mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/rules-users
Loading...