Chapter 3. Dashbuilder Standalone on Red Hat OpenShift Container Platform
Dashbuilder Standalone is an independent implementation of Dashbuilder, which is the dashboard and reporting tool that is integrated with Business Central.
You can install Dashbuilder Standalone separately from Red Hat Process Automation Manager and import or create your own dashboards.
For more information about Dashbuilder integrated with Business Central, see Dashbuilder runtimes in the Installing and configuring Red Hat Process Automation Manager on Red Hat JBoss EAP 7.3 guide.
3.1. Custom Resource Parameters
When you use the Dashbuilder Container Image within operator, you can configure Dashbuilder by using the environment variables or through Custom Resource.
Table 3.1. Custom Resource parameters
Parameter | Equivalent Environment Variable | Description | Example value |
---|---|---|---|
|
| Allows downloading of external (remote) files. Default value is false. | False |
|
| Enables external components. | True |
|
| Enables partitioning of components by the Runtime Model ID. Default value is true. | True |
|
| Allows the use of the properties file with Dashbuilder configurations. Unique properties are appended and if a property is set more than once, the one from the properties file is used. | True |
|
| Enables partitioning of Dataset IDs by the Runtime Model ID. Default value is true. | True |
| — | Enables integration with Business Central by configuring Business Central and Dashbuilder automatically. Only available on operator. | True |
| — | Enables integration with KIE Server by configuring KIE Server and Dashbuilder automatically. Only available on operator. | True |
|
|
Sets the base directory where dashboard ZIP files are stored. If | — |
|
| Sets a static dashboard to run automatically. If this property is set, imports are not allowed. | — |
|
|
Sets the base directory where dashboard ZIP files are stored. If | — |
|
| Defines the KIE Server Datasets access configuration. | — |
|
| Defines the KIE Server Templates access configuration. | — |
|
| Enables automatic removal of model file from the file system. Default value is false. | False |
|
| Allows Runtime to check model last update in the file system to update the content. Default value is true. | True |
| `` |
Sets Dashbuilder as not ephemeral. If | True |
|
| Allows Runtime to allow imports (multi-tenancy). Default value is false. | False |
|
| Sets the size limit for dashboard uploads (in kb). Default value is 10485760 kb. | 10485760 |
| — | Represents an environment variable present in a Container. | — |
You can use Operator to set environment variables by using the env
property. All configurations listed above with a corresponding environment variable is shown in the following example:
apiVersion: app.kiegroup.org/v2 kind: KieApp metadata: name: standalone-dashbuilder spec: environment: rhpam-standalone-dashbuilder objects: dashbuilder: env: - name: DASHBUILDER_UPLOAD_SIZE value: '1000'
3.2. Installing Dashbuilder Standalone using Operator
Use Operator to install Dashbuilder Standalone separately from other services.
Procedure
- On the Installation page, enter a name for your application in the Application name field.
-
In the Environment field, enter a name for your environment, for example
rhpam-standalone-dashbuilder
. - Click Next.
- Optional: On the Security page, configure LDAP or Red Hat Single Sign-On.
- On the Components page, select Dashbuilder from the Components list.
To add a KIE Server dataset, complete the following tasks:
- Click Add new KIE Server DataSets.
-
In the DataSet name field, enter
kieserver-1
. -
In the Kie Server Location field, enter the location of your KIE Server, for example
https://my-kie-server:80/services/rest/server
. To set your credentials, complete one of the following tasks:
- If you do not have a token set, in the Username and Password fields, enter your username and password. Leave the Token field blank.
If you have a token, in the Token field, enter your token. Leave the Username and Password fields blank.
The custom resource example:
apiVersion: app.kiegroup.org/v2 kind: KieApp metadata: name: standalone-dashbuilder spec: environment: rhpam-standalone-dashbuilder objects: dashbuilder: config: kieServerDataSets: - name: kieserver-1 location: 'https://my-kie-server:80/services/rest/server' user: kieserverAdmin password: kieserverAdminPwd replaceQuery: true
NOTE: You can add additional KIE Server DataSets by repeating this step.
To add a KIE Server template, complete the following tasks:
- Click Add new KIE Server Templates.
-
In the Template name field, enter a name for your template, for example
kieserver-template
. -
In the KIE Server Location field, enter the location of your KIE Server, for example
https://my-other-kie-server:80/services/rest/server
. To set your credentials, complete one of the following tasks:
- If you do not have a token set, in the Username and Password fields, enter your username and password. Leave the Token field blank.
If you have a token, in the Token field, enter your token. Leave the Username and Password fields blank.
apiVersion: app.kiegroup.org/v2 kind: KieApp metadata: name: standalone-dashbuilder spec: environment: rhpam-standalone-dashbuilder objects: dashbuilder: config: kieServerDataSets: - name: kieserver-1 location: 'https://my-kie-server:80/services/rest/server' user: kieserverAdmin password: kieserverAdminPwd replaceQuery: true kieServerTemplates: - name: kieserver-template location: 'https://my-another-kie-server:80/services/rest/server' user: user password: pwd replaceQuery: true
NOTE: You can add additional KIE Server Templates by repeating this step.