Connector for HCL Commerce Manual / Version 2207
Table Of ContentsCoreMedia Content Cloud integrates with HCL Commerce 9 using the Commerce REST API, therefore you have to deploy the custom packages in the HCL Commerce. These custom packages are for the remote store server, the transaction server and the search server.
Warning
Only follow these instructions when you have no other customizations in your HCL Commerce Server. Otherwise, you have to adapt your RAD workspace as described in the other sections of this chapter and create new deployable custom packages.
The following procedure shows how to build the custom Docker images from the customized packages that include the customization code.
Create separate
CusDeploy
directories for the remote store server, the transaction server and the search server docker image. For example,/opt/WebSphere/store/CusDeploy
/opt/WebSphere/app/CusDeploy
/opt/WebSphere/search/CusDeploy
Extract every customization packages to the appropriate directory. For example,
websphere-commerce-crs archive to
/opt/WebSphere/store/CusDeploy
websphere-commerce-ts archive to
/opt/WebSphere/app/CusDeploy
websphere-commerce-search archive to
/opt/WebSphere/search/CusDeploy
In order to create or update the Dockerfile to build each custom docker image, you need to:
-
copy
CusDeploy
directory to/SETUP/Cus
directory. - run applyCustomization.sh script.
-
copy
Stop and remove the running docker containers.
Run the docker-compose command to build the new custom images. For example, docker-compose -f docker-compose.yml build