Enabling widgets to work with multiple endpoints
If you have one dashboard instance configured and you have a need to create another instance of the service endpoints in your environment, you must configure IBM® Business Monitor so that the widgets can display data from the multiple service endpoints. You must edit two files: the endpoints file, which registers endpoints with the Business Space component, and the widget catalog file, which contains definitions of widgets.
Before you begin
- Installed Business Monitor.
- Created a server or cluster and configured it for Business Space.
- Configured the database tables (if you are using a remote database or deployment environment).
- Configured the additional Representational State Transfer (REST) services for your additional widgets.
About this task
In a deployment environment, you can have partitioning of work. For example, you can have two clusters, one that processes accounting data and one that processes insurance data. However, a service endpoint serves only one cluster. To access both partitions of work from dashboard, you must register two separate widgets, one for each partition of work, so you can access them both from dashboard. For example, you could have an Account Human Task List widget and an Insurance Task List widget in the catalog (both with the same actual human task list code).
You must manually edit the endpoints file and the widget catalog file.
- IBM Business Monitor: monitorEndpoints.xml
- IBM Business Monitor with IBM Cognos Business Intelligence: cognosEndpoints.xml
- wsumEndpoint.xml (for user membership)
- catalog_WBMonitor.xml
Both the service endpoint files and the widget catalog files are located at install_root\BusinessSpace\registryData\product_name\. The endpoints files are located in the endpoints subdirectory, and the catalog files are located in the catalogs subdirectory.
The install_root\BusinessSpace\registryData\product_name\ directory contains service endpoint and widget catalog template files for Business Monitor. You can copy the files that you need to use as a template and add your changes.
Procedure
What to do next
- After running the updateBusinessSpaceWidgets command, you must perform manual steps to update dashboards templates and spaces. For more information, see Updating templates and spaces after installing or updating widgets.
- If dashboards are running on a different cell than where the REST services are running, you must manually edit the endpoints files.
- If you have enabled security for your environment, you must make sure that it is set up properly to work with dashboards.