We’ve embedded the Camunda web apps inside our Spring Boot microservice, and we can access the web apps by browsing to the microservice endpoint in a browser; we are currently using an in-memory H2 database for Camunda.
We have added the following maven dependencies to our microservice pom.xml, and are using Camunda v7.9.0 (bom version 3.0).
<dependency>
<groupId>org.camunda.bpm.springboot</groupId>
<artifactId>camunda-bpm-spring-boot-starter</artifactId>
<version>${camunda.version}</version>
</dependency>
<dependency>
<groupId>org.camunda.bpm.springboot</groupId>
<artifactId>camunda-bpm-spring-boot-starter-webapp</artifactId>
<version>${camunda.version}</version>
</dependency>
and the following dependency management entry:
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.camunda.bpm</groupId>
<artifactId>camunda-bom</artifactId>
<version>${camunda.bom.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
Each of the apps (Cockpit, Tasklist and Admin) return pages OK to the browser, and there aren’t any errors in the microservice logs, however they seem to be behaving oddly (with the exception of Cockpit that seems to work without any issues).
The odd things I have noticed are as follows:
- Tasklist doesn’t show any tasks at all, despite Cockpit showing that processes are active and tasks are present
- Tasklist doesn’t show any filters, and adding filters still does not show any tasks
- Only a few of the Admin functions are showing and available, namely only options:
- My Profile
- Manage Authorizations
- General
- Execution Metrics
Other actions such as Create New User, Create New Tenant, etc. aren’t shown as links on the dashboard.
There is one user that exists, created as a result of the embedded Camunda starting up, and this is a user created via the following YAML configuration in bootstrap.yml:
camunda.bpm:
webapp:
index-redirect-enabled: true
admin-user:
id: camunda
password: password
This “Camunda” user details as shown in the Camunda UI show it as a user in the “camunda-admin” group.
Does anyone have any idea why the Admin and Tasklist web apps do not seem to be working properly, and if there’s anything I can check to correct this issue?
Thanks Steve