The CIB seven webclient is the official web application interface for the CIB seven process automation platform. It includes the Cockpit, Tasklist, and Admin applications for process monitoring, user task management, and administrative controls.
This project contains the following integrated top-level web applications:
- Cockpit – Monitoring and operation of running process instances.
- Tasklist – Interface for end-users to complete and manage workflow tasks.
- Admin – Management of users, groups, and authorizations.
- Java 17+
- Maven 3.8+
- Node.js (for frontend development tasks)
Clone the repository and build all applications using Maven:
git clone https://github.com/cibseven/cibseven-webclient.git
cd cibseven-webclient
mvn clean installThe webclient can be configured using Spring Boot properties. Key configuration options include:
All settings below cibseven.webclient and their defaults are defined in one class,
SevenWebclientProperties.
The build turns its Javadoc into META-INF/spring-configuration-metadata.json in the cibseven-interfaces jar,
which IDEs use for completion and documentation of these properties in application.yaml.
The webclient no longer ships an application.yaml. Put your own settings in cibseven-webclient.yaml
or cibseven-webclient.properties on the classpath, or use any other Spring Boot property source
(environment variables, system properties, an external application.yaml).
The webclient reads cibseven-webclient.properties and cibseven-webclient.yaml from the classpath
in every setup: standalone, in the Run distribution and embedded into another Spring Boot application.
They rank just above the defaults: every configuration file of the application, environment variables
and system properties override them, and the YAML file overrides the properties file. They are not read
when cibseven.webclient.enabled is false.
The Run distribution also imports both files in its default.yml and production.yml, so there they
keep overriding Run's own configuration.
The webclient's tables (modeler, folders, history) live in its own JPA persistence unit. Its naming strategy
(PhysicalNamingStrategyStandardImpl, matching the engine's DDL) and schema generation (none, the engine
creates the tables) are fixed, so spring.jpa.hibernate.ddl-auto and spring.jpa.hibernate.naming.* of your
application do not apply to it. Other settings, such as spring.jpa.properties.*, still do. Hibernate
settings for that unit alone go under cibseven.webclient.persistence.properties, for example
cibseven.webclient.persistence.properties.hibernate.default_schema; they also override the two fixed ones.
When the webclient runs as its own application (java -jar or a WAR on Tomcat/WildFly), it additionally
sets the following framework defaults, see
StandaloneDefaults.
They have the lowest precedence, so any configured value overrides them.
| Property | Default | Spring Boot's own default |
|---|---|---|
spring.servlet.register-default-servlet |
true |
false |
spring.servlet.multipart.max-file-size |
10MB |
1MB |
spring.servlet.multipart.max-request-size |
1GB |
10MB |
spring.jpa.open-in-view |
false |
true (with a startup warning) |
springdoc.swagger-ui.path |
/swagger-ui |
/swagger-ui.html |
springdoc.swagger-ui.operationsSorter, tagsSorter |
alpha |
unsorted |
springdoc.swagger-ui.doc-expansion |
none |
list |
When the webclient is embedded into another Spring Boot application, none of these defaults are set.
The webclient's REST services and its engine REST client read and write JSON with Jackson 3 and a mapper of their
own, configured with Jackson 2's defaults so the JSON stays what it was before 3.0 (ISO-8601 dates, unknown
properties ignored, properties in declaration order). It is not a bean: an application that embeds the webclient
keeps Spring Boot's own JsonMapper, and its spring.jackson.* settings apply to that one, not to the webclient's
services. The only setting of the webclient's mapper is
cibseven.webclient.custom.spring.jackson.parser.max-size, the maximum length of a JSON string value.
cibseven.webclient.custom.spring.jackson.serialization.write-dates-as-timestamps, the interim opt-out that came with
the ISO-8601 dates, is gone; dates are always written as ISO-8601 strings, and a leftover setting is ignored with a
warning at startup.
cibseven:
webclient:
engineRest:
url: http://localhost:8080 # Base URL of the CIB seven engine
path: /engine-rest # Configurable REST API path (default: /engine-rest)The path property allows you to customize the engine REST API path to support different Jersey application configurations. For example, if your Spring Boot application defines a custom Jersey path:
# Custom Jersey path example
cibseven:
webclient:
engineRest:
url: http://localhost:8080
path: /different-path # Custom path instead of default /engine-restWhen developing the frontend, if you are using a custom engine REST path, you should also update the frontend development proxy configuration in frontend/vite.config.js:
// Set ENGINE_REST_PATH environment variable to match your backend configuration
const engineRestPath = process.env.ENGINE_REST_PATH || '/engine-rest'You can set this environment variable when running the development server:
# For custom path
ENGINE_REST_PATH=/different-path npm run dev
# For default path (no environment variable needed)
npm run devWe welcome contributions!
Have a look at our contribution guide for how to contribute to this repository.
- Fork the repository.
- Create your feature branch:
git checkout -b feature/my-feature - Commit your changes:
git commit -am 'Add new feature' - Push to the branch:
git push origin feature/my-feature - Submit a pull request.
Check out the Releases page for version history, features, and patch notes.
This project is licensed under the Apache 2.0 License – see the LICENSE file for details.
CIB seven uses and includes third-party dependencies published under various licenses. By downloading and using CIB seven artifacts, you agree to their terms and conditions. Refer to https://docs.cibseven.org/manual/latest/introduction/third-party-libraries/ for an overview of third-party libraries and particularly important third-party licenses we want to make you aware of.
Developed and maintained by the CIB software GmbH.