There are two ways you can run the blueprint processor application.
- Using blueprint processor container
- Running application using Intellij IDE.
In this document I am showing the how can we run it using Intellij IDE. I will cover the first way in the coming weeks
- Build the blueprint processor project (ccsdk/apps/ms/blueprintsprocessor)
mvn clean install -DskipTests -Dmaven.test.skip=true -Pdocker
(After one successful build, you may add -o option to speed up the build) - Start the maria-db container with docker-compose in directory ccsdk/apps/ms/blueprintsprocessor/distribution/src/main/dc
docker-compose up -dThe docker compose file is present under distribution/code/ccsdk/apps/ms/blueprintsprocessor/distribution/src/main/dc/
You have to configure your IDE like in order to run the application.
4. Also as per the application properties file the blueprint processor files inside deploy and archive directories get copied at this location -> opt/app/onap/blueprints/deploy, opt/app/onap/blueprints/archive
I was getting error something like could not able to transfer the files so I had to create archive and deploy directories manually and changed the user permission using chown command.
For example –
5. Postman collection to upload and process the blueprint
https://www.getpostman.com/collections/b99863b0cde7565a32fc