Copying resources for the API (RESTful) role
Add resources to your website's web application.
Procedure
- If you're a Content Delivery customer, access the folder in which you extracted the Content Delivery client software and navigate to the folder Content Delivery Client\roles\.
- Access your installation media and navigate to the folder Content Delivery\roles\.
- Navigate to the api\rest\ subfolder.
- Navigate to the java\ subfolder.
- From the config\ subfolder, copy cd_ambient_conf.xml to WEB-INF/classes/, and additionally copy cd_client_conf.xml and logback.xml to the same location.
- Do one of the following:
- If your web application does not have any customizations applied to its web.xml file, copy the file web.xml from the installation media to the web application root location, over the existing file.
- If your web application does have customizations applied to its web.xml file, open the file web.xml on the installation media and merge its contents into the web.xml in the web application root location.
- If you have chosen not to reference the online Content Interaction Libraries (CILs) on Maven from a pom.xml file, copy the contents of the java\lib\ subfolder to the website's /WEB-INF/lib/ folder.