Skip to content

msjo66/camunbankia-8.4

Repository files navigation

Camunda showcase "Insurance Application" / "Versicherungsneuantrag"

What it does

This demo showcases a simplified bank account application process using the Camunda Platform 8 for workflow and decision automation.

The project includes a simple self-contained, custom-made web frontend, which can be used to submit applications. After deploymnet the web pages are available under:

Versions (Iterations)

The most recent stable version is always accessible in the branch camunda-8. Every iteration of the showcase is stored in a branch with naming scheme c8-iterationX, where X is the most recent iteration. Note that this might point to a work-in-process state. When an Iteration is final, you can find it as a tag/release as well.

Instructions

  1. If you do not have your own Camunda Cloud account and cluster, you will need to create both. Reference the Camunda Cloud Getting Started Guide for further instructions.

  2. Once you have an account and have created a cluster, click on your cluster within Cloud Console. You should see something similar to the image below. Cloud Console

  3. You now need to create API credentials so that your client code is able to connect to your cluster. Click on 'API' then the blue 'Create' button. Name your client, and ensure the checkboxes labelled 'Zeebe' and 'Tasklist' are both checked. Click 'Create' again and download the credentials for the next steps.

  4. You need to add the API-key for a sendgrid account to your cluster. To do this, navigate to in Console yo your cluster and open 'Connector Secrets'. Click the 'Create' button and name the key SENDGRID_DEMO, provide your sendgrid API key as 'Secret'.

  5. Clone and start process application:

    1. Clone the 'camunda-cloud' branch of this repository into a local folder <process-app-dir>.

    2. Create a copy setup-secrets.sh of setup-secrets-template.sh

      cp setup-secrets-template.sh setup-secrets.sh
      

      and fill it with mail server password and the credentials you just downloaded.

    3. Use your OS's mechanism to load the contents of this file as environmental variables. In Linux/mac os this works with

      source setup-secrets.sh
      
    4. Start the application:

      mvn spring-boot:run  -Dmaven.test.skip=true
      

      This will deploy the process to zeebe and start some job workers, also it published the UI.

      Hint: Make sure that you did not modify the credential part in application.yml in the project, this might overwrite the settings from setup-secrets.sh and connection can fail.

  6. Navigate to

    Congratulations! Submit an application or two and check out your live processes by launching Operate from your Camunda Cloud SaaS cluster.