- Create a database
- Build the source
- Clone the repo
- Build the source
- Deploy to HSDP (Cloud Foundry)
- Docker vs Spring Boot
- CF Push
- License
# cf create-service hsdp-rds mysql-medium-dev camunda-db-dev
# watch -g "cf service camunda-db-dev | grep status"
Clone the project
# git clone https://github.com/PhilipsRespironics/camunda-service.git
Build the project:
# cd camunda-service
# ./gradlew clean build
Considerations:
- Docker versus Spring:
- Additional dependency (Docker) to maintain
- PCF patches for stemcells and application dependencies not applied for Docker
Deploy to CF:
# cf push --vars-file vars-dev.yml -n camunda-service-dev
Replace camunda-service-dev
with any preferred subdomain of .cloud.pcftest.com
Upload workflows for example use cases:
- Open one of the workflows (
workflows
dir) in Modeler, e.g. SleepStudy.bpmn - Click the "Deploy current diagram" button to upload the workflow to the HSDP-deployed instance
- The REST Endpoint field should be
http://camunda-service-dev.cloud.pcftest.com//engine-rest
- The Deployment Name field should be "SleepStudy", or similar
- The REST Endpoint field should be
Copyright (c) 2019-2020 Respironics Inc, a Philips company