GUI Deployment in BAW
We can use Swagger UI to deploy a snapshot on the BAW servers. Following are the three steps to perform the deployment on BAW UAT environment:
- Get CSRF_Token
- Install the snapshot
- Check the status of the installation
Get CSRF_Token
- Go to the URL https://bpmhosturl:port/bpm/explorer/?url=/ops/docs#/
- Expand System -> /system/login POST request as shown below:

- Click on Try it out then click on Execute
- Under server response, copy csrf_token value to be used in the subsequent APIs.
Install the Snapshot
- Expand Container -> /std/bpm/containers/install POST request as shown below:

- Click on Try it out
- Input BPMCSRFToken value same as the csrf_token value copied in section 1
- Browser for install_file (file to be installed)
- Click Execute
- Under server response, copy id and key values form the url field (highlighted in below screenshot) as shown below to find the status of the process app installation
Check Status of the Installation
- Expand System -> /system/queue/{id} GET request
- Input BPMCSRFToken same as csrf_id value obtained in section 1
- Input id and key values obtained in section 2 as shown below:

- Under server response, check the state field value should be success, which means the installation is successful.
------------------------------
Muhammad Haris Khan
------------------------------