Skip to content

Latest commit

 

History

History
 
 

optimize-as-a-service

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Running Camunda Optimize on PCF

Camunda Optimize is a business analysis tool that can make sense of data in Camunda engines. Please not that this is not available within the community edition and needs an enterprise subscription. Nevertheless I wanted to include it here, as customers ask about running it on PCF.

Optimize is - like the Camunda engine - a Java application, so you can also run it using the Java build pack of PCF. It requires a REST connection to Camunda and an Elastic datasource to store data.

In order to properly configure Optimize this repo provides a small overlay project you can build and push, either locally, or again using your CI/CD pipeline as shown in the Camunda as a Service / NodeJS sample.

Screencast

Screencast

Step-by-step

  1. Build this project locally. Make sure you have your Camunda Enterprise Edition login configured. You can get a trial license here.
mvn clean install
  1. Edit the config for your Camunda and Elastic installation in the manifest.yml, e.g.:
      CAMUNDA_REST_ENDPOINT: http://camunda-on-pcf-engine-as-a-service.cfapps.io/rest
      CAMUNDA_REST_AUTH_ENABLED: false
      CAMUNDA_REST_USERNAME:
      CAMUNDA_REST_PASSWORD:
      CAMUNDA_WEBAPP_ENDPOINT: http://camunda-on-pcf-engine-as-a-service.cfapps.io/
      ELASTIC_CLUSTERNAME: elasticsearch
      ELASTIC_HOST: d104d2bf325044f183612f8c0c74bebd.europe-west1.gcp.cloud.es.io
      ELASTIC_PORT: 9243
      ELASTIC_SSL_ENABLED: true
      ELASTIC_USERNAME: elastic
      ELASTIC_PASSWORD: Aps0k8j9vnvipKdVxYUIhjR1
  1. Push optimize to PCF:
cf push -f target/camunda-on-pcf-optimize-as-a-service.jar
  1. Now you can access Optimize via the Route PCF creates, e.g. http://camunda-on-pcf-optimize.cfapps.io/. Login with the credentials from the Camunda installation, which in the default case is demo / demo.