Changing the REST API context root

Follow these steps to change the REST API context root.

Procedure

  1. Download the RDMClientEAR.ear file from the WebSphere® Application Server administrative console.
  2. Open the RDMClientEAR.ear/RDMClientWeb.war/WEB-INF/classes/rdm_security.properties file.
  3. Locate the RDM_REST_API_CONTEXT_ROOT property and set it to your choice for root, such as:
    RDM_REST_API_CONTEXT_ROOT = /MY/CHOICE/FOR/ROOT/ 
  4. Save the file.
  5. Open the WebSphere Application Server administrative console.
  6. Select Applications > Applications types > WebSphere enterprise applications.
  7. Click RDMClientEAR.ear.
  8. In the Web Module Properties section, click Context Root For Web Modules.
  9. Enter the new name of the context root for the REST API web module. You must use the same name that you entered in the rdm_security.properties file, such as the /MY/CHOICE/FOR/ROOT/ example in Step 3.
  10. Click OK.
  11. Click Save.

Results

The REST API context root has been changed.


Last updated: 22 Mar 2017