Follow these steps to change the REST API context root.
Procedure
- Download the RDMClientEAR.ear file
from the WebSphere® Application
Server administrative console.
- Open the RDMClientEAR.ear/RDMClientWeb.war/WEB-INF/classes/rdm_security.properties file.
- 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/
- Save the file.
- Open the WebSphere Application
Server administrative console.
- Select Applications > Applications types > WebSphere
enterprise applications.
- Click RDMClientEAR.ear.
- In the Web Module Properties section,
click Context Root For Web Modules.
- 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.
- Click OK.
- Click Save.
Results
The REST API context root has been changed.