This module contains the dashboard REST APIs and widget REST APIs. This module also provides code for a generic setup for widgets including some default out-of-the-box widgets.
In order to use dashboard and widgets, the dashboard module needs to be added as a dependency. The following can be added to your project, depending on whether Maven or Gradle is used:
The samples below assume the valtimo-dependency-versions module is used. If not, please specify the artifact version as well.
<dependencies>
<dependency>
<groupId>com.ritense.valtimo</groupId>
<artifactId>dashboard</artifactId>
</dependency>
</dependencies>
dependencies {
implementation("com.ritense.valtimo:dashboard")
}
{
"dependencies": {
"@valtimo/dashboard": "<valtimo_frontend_version>"
}
}