Build CDS locallyIn the checked out directory, type mvn clean install -DskipTests=true -Dmaven.test.skip=true -Dmaven.javadoc.skip=true -Dadditionalparam=-Xdoclint:none Create the needed Docker imagesThe Blueprints Processor microservice project has a module, called distribution, that provides a docker-compose.yaml file that can be used to spin up Docker containers to run this microservice. The first step is to create any custom image needed, by building the distribution module. From the CDS home directory (where the code was checked out), navigate to the module: cd ms/blueprintsprocessor/distribution/ Build it using the Maven profile called Docker: mvn clean install -Pdocker Image Modified Start Docker containers using docker-composerNavigate to the docker-compose file in the distribution module: cd src/main/dc/ From there, start the containers: docker-compose up -d This will spin the Docker containers declared inside the docker-compose.yaml file in the background: Image Modified To verify the logs generated by docker-composer, type: docker-compose logs -f Testing the environmentPoint your browser to http://localhost:8000/api/v1/execution-service/ping (please note that the port is 8000, not 8080) To authenticate, use ccsdkapps / ccsdkapps as login / password. Image Modified Image Modified
|