Starting in Maximo® Civil Infrastructure 8.6, the image stitching
service is available. As an administrator, you create a persistent volume claim record for the
stitching image service in Maximo Manage. You edit the custom
resource definition to include the persistent volume claim for the stitching service in the Red Hat® OpenShift® Container Platform console. You also configure the system properties that are related
to the stitching image service.
About this task
The following table describes the system properties that are used for the Defect detection
application:
Table 1. System properties for the Defect detection
application
| Property |
Description |
| civil.maximo.apikey |
The API key that is used to authenticate the connection between the Defect detection
application and the stitching process. |
| imagestitching.dataInputPath |
The directory that is used to store temporary images that are processed by the stitching
service. |
| mci.imagestitching.apiurl
|
The API URL that connects the stitching process to the Defect detection application. |
Procedure
- In Maximo Application Suite, configure a persistent volume claim for the
image stitching service to specify the directory that stores photos. Copy and paste the
Mount path value and the PVC name value for the image
stitching service into a text editor.
- In the Red Hat OpenShift Container Platform console, edit the custom resource
definition to add a custom property for the image stitching service that was created in Maximo Application Suite to store the photos:
- In the Red Hat OpenShift Container Platform console, from the side navigation
menu, click .
- On the CustomResourcesDefinitions page, select the
ManageWorkspace custom resource definition.
- On the Instances tab, select the relevant deployment instance
that you want to update.
- On the YAML tab, search for the
components
section and add the following property to the script: Add the
imagestitchingpvcname custom property and specify the PVC name of the
persistent volume claim that was configured for the image stitching service in Maximo Application Suite.
components:
base:
version: latest
civil:
version: latest
imagestitchingpvcname: PVC name
- Click Save.
- In Maximo Manage, in the System Properties
application, in the Global Properties section, open and set the global values for the following
properties:
| Select |
Global Value |
| civil.maximo.apikey |
Enter the API key that was created in Maximo Manage. For
more information about creating API keys, see API Keys application. Note: For security reasons, ensure that
you refresh the API key every 90 days.
|
| imagestitching.dataInputPath |
Enter the mount path that was created as persistent storage for the image stitching
service. |
| mci.imagestitching.apiurl |
Enter the URL for the image stitching service. To get the URL and the port value for the
stitching service:
- In the Red Hat OpenShift Container Platform console, from the side navigation menu, click
and open
the stitching instance that was created for persistent storage.
- On the Service details page of the relevant instance, in the
Service routing section, copy the following values into a text editor:
- The Hostname URL value.
- In the Service port mapping section, copy the Port
value.
http://Hostname url:Port/maximo/stiching
|
- After the global values are specified, save and refresh the
properties.
- From the Common Actions menu, click
Save Property.
- In the Global Properties table, select the checkbox for the property
that you set.
- From the Common Actions menu, click
Live Refresh.
- In the Live Refresh dialog, click
OK.
The new value for the property takes effect immediately.