Reputation: 35
I am a new bee to JBOSS BPM and started researching on Continuous Integration and Continuous Deployment (CI&CD) of BPM workflow
Here is the workflow that we have come up with for CI&CD in our project.
Manual steps followed to import the project into BPM suite.
Open http://localhost:8080/business-central/ with valid credentials
Authoring tab -> Administration -> Clone Repository - > provided project details with GIT repo -> Clone.
Authoring tab -> Artifact Repository -> Upload project jar.
Authoring tab -> Project Authoring -> Select created project in project explorer.
Open Project Editor -> Build & Deploy.
Register a server and create a container.
Since, we had followed a manual process so far, we have a requirement to automate this process now. Can anyone please suggest feasible options on how to automate workflow in BPM in order to achieve CI&CD
Upvotes: 0
Views: 582
Reputation: 1210
Basically, almost all manual steps you have described can also be executed using REST API. Knowledge Store REST API allows you to clone your project, Deployment REST API to deploy it and REST API for Intelligent Process Server Administration to create servers and containers. The only thing that I am not sure about is uploading project JAR.
But I wonder why you upload your project to Business Central if you do not modify it there in any way. It seems you use KIE Server to run your processes (according to step 6) so you just need to put your project to the Maven repository where KIE Server can find it.
Upvotes: 0