Running Blueprints Processor Microservice Locally
Objective
The purpose of this page is to show how to run the Blueprints Processor microservice locally, using the docker-compose.yaml file provided in the project.
Check out the CDS code
Check out the latest code from Gerrit: https://gerrit.onap.org/r/#/admin/projects/ccsdk/cds
Build CDS locally
Pre-requisite: Use attached settings.xml to have recommended repository settings locally.
Build the checked out cds repository by running below:
mvn clean install -Pq
Create the needed Docker images
The Blueprints Processor microservice project has a module, called application, 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 application module. From the CDS home directory (where the code was checked out), navigate to the module:
cd ms/blueprintsprocessor/application/
Build it using the Maven profile called Docker:
mvn clean install -Pdocker -Ddocker.skip.push=true
Testing the environment
Point 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.