简体   繁体   中英

Need help on JBPM workflow Automation

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.

  1. Developer pushes code to GIT repository.
  2. Jenkins pulls code from GIT, builds code and publishes to NEXUS repository.
  3. JBOSS FUSE pulls binaries from NEXUS and deploys them.
  4. Once FUSE deploys the code, we can view output accordingly through REST services.

Manual steps followed to import the project into BPM suite.

  1. Open http://localhost:8080/business-central/ with valid credentials

  2. Authoring tab -> Administration -> Clone Repository - > provided project details with GIT repo -> Clone.

  3. Authoring tab -> Artifact Repository -> Upload project jar.

  4. Authoring tab -> Project Authoring -> Select created project in project explorer.

  5. Open Project Editor -> Build & Deploy.

  6. 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

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM