From shazin.swe at gmail.com Sat Mar 18 00:20:07 2017 From: shazin.swe at gmail.com (Shazin Sadakath) Date: Sat, 18 Mar 2017 09:50:07 +0530 Subject: [rules-users] Regarding Programmatically Adding Rules to Workbench Message-ID: 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/rules-users/attachments/20170318/fb28524f/attachment.html From michael.anstis at gmail.com Sat Mar 18 11:21:56 2017 From: michael.anstis at gmail.com (Michael Anstis) Date: Sat, 18 Mar 2017 15:21:56 +0000 Subject: [rules-users] Regarding Programmatically Adding Rules to Workbench In-Reply-To: References: Message-ID: 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" 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 > 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/20170318/d7857244/attachment.html