Configuring IBM Sterling Omni-Configurator REST API base path for Swagger

IBM® Sterling™ Omni-Configurator services are exposed as REST APIs. These REST APIs are documented by using Swagger UI. IBM Sterling Omni-Configurator can be integrated into an existing application or any third-party applications by using these REST APIs. By default, the base path of IBM Sterling Omni-Configurator REST APIs in Swagger is configured to: http://configurator.in.ibm.com:9080/configurator/api

Procedure

  1. From the supplied Visual Modeler (with omni-configurator) DVD or DVD image, copy the configurator.war package file, present inside the omni-configurator folder, to your system.
  2. Open the WEB-INF/web.xml file in a text editor.
  3. Locate the servlet init param with the name swagger.api.basepath and provide the hostname and port number of the system where the product is installed in the following manner:
    <init-param>
    	<param-name>swagger.api.basepath</param-name>
    	<param-value>http://<hostname>:<portno>/configurator/api</param-value>
    </init-param>
  4. Select File > Save to save your changes.