Integrating flowable ui and flowable rest-api to our existing spring boot application

Hi Team,

we are in the process of using Flowable BPMN to our spring boot application.
we would like to make use of the below flowable features in our application

  1. Create a bpmn file using flowable-modeler app
  2. Deploy it using flowable-task or flowable-admin??? rest endpoints
  3. start the process using flowable-task app rest endpoints
  4. view the progress of tasks using flowable-UI apps

To implement this, I managed to have flowable-all-in-one container running seperately
and we attempt to access the rest endpoint of flowable-task to start the process and flowable-admin to do the deployment

please note that we haven’t used flowable rest-api app as it might points to different database from all-in-one app as
flowable rest-api app is not a part of all-in-one

I am using the below curl command to deploy the bpmn file to flowable engine where I am getting error

curl -i ‘http://admin:test@192.168.99.100:8080/flowable-admin/app/rest/admin/deployments
-H “accept: application/json”
-H “Content-Type: application/x-www-form-urlencoded”

I am getting the below error:

X-Frame-Options: DENY
Location: http://localhost:8080/flowable-idm/#/login?redirectOnAuthSuccess=true&redirectUrl=http://192.168.99.100:8500/flowable-admin/app/rest/admin/deployments

I can understand , it is redirecting to flowable-idm page. this issue can easily be resolved in web browser by logging into flowable-idm and then accessing
flowable-admin page. I wonder , how this would be resolved in curl

please advise us the best flowable implementation approach for the below requirement for our existing spring boot application:

  1. Create a bpmn file using flowable-modeler app -> this can be done manually
  2. Deploy it using flowable-task or flowable-admin??? rest endpoints -> should be done automatically by our spring boot application
  3. start the process using flowable-task app rest endpoints -> should be done through our spring boot application
  4. view the progress of tasks using flowable-UI apps

Is it best to integrate these flowable -ui & flowable-rest-api to our spring boot application or is it advisable to have them running seperately and invoking their services
through rest template from our spring boot app?
Kindly advise on the best fit approach for our microservices application. Thanks in advance.

See: Flowable Rest API integration with flowable spring boot application