Skip to content

The main aim of that demo application is to give an example that how the Camunda Rest API works.

Notifications You must be signed in to change notification settings

eyrafabdullayev/camunda-rest-api

Repository files navigation

Camunda Rest API

The main purpuse of that application is to give an example that how the Camunda Rest API works. More about loot up at (https://docs.camunda.org/manual/7.14/reference/rest/) [https://docs.camunda.org/manual/7.14/reference/rest/]

About

  1. First you have to deploy your process.bpmn file. To do that i give an example below. For more about take look up at (https://docs.camunda.org/manual/7.14/reference/rest/deployment/post-deployment/) [https://docs.camunda.org/manual/7.14/reference/rest/deployment/post-deployment/]

    deployment

    But as you know that we also have used JWT Token to access the resources, for that i have to create and send it with request header.

    authenticate

    then to do that select Bearer Token as Type and add the given token.

    access token

  2. After that you have to send a request to start that process by id. I have already given an example below. For more about take look up at (https://docs.camunda.org/manual/7.14/reference/rest/process-definition/post-start-process-instance/) [https://docs.camunda.org/manual/7.14/reference/rest/process-definition/post-start-process-instance/]

    starting the process

    And also have to send access token.

    access token

Then Service tast will have been completed and a request will been sended to refresh the current token. If the auth_token variable is empty or not found the exception will be raise. Else the process will be complete successfully.

  1. And i have also used Spring Cloud Vault to secure and store some of the properties or secrets. For that you have to start vault server and add that properties as i have already shown below.

vault setting

Running

$ docker run -it -p 8080:8080 eyrafabdullayev/camunda-rest-api:latest

About

The main aim of that demo application is to give an example that how the Camunda Rest API works.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages