JUnit tests with sample data are provided that can be used
to call some of the IBM® Intelligent Operations Center REST
APIs. You can configure the JUnit tests for a local server on Windows.
Procedure
- Run the scripts to create the database on the local server.
- Start WebSphere® Application Server Liberty Profile on
the local server.
- In the Enterprise Explorer view in Eclipse, in the junit_round_rock_data project,
edit the following file:
config.properties
- Set Sysprop.TileServerUrl.value to the
value of your ArcGIS tile server URL.
Note: Only an Esri ArcGIS XYZ
tile server is supported for use with the supplied JUnit tests.
- Set KPI.customConnection.host to the
host name for the server.
- Set KPI.customConnection.port to the
database server port that is used to access the IOCDB database.
- Set KPI.customConnection.user to the
database ID that owns the IOCDB database.
- Set KPI.customConnection.password to
the password for the ID that is configured as the value for KPI.customConnection.user.
- Save your changes and then close the editor.
- In the Enterprise Explorer view in Eclipse, expand the junit_round_rock_testsuite_utils project.
- Right-click Create Round Rock Samples on Local.launch and
then click .