Running Command Executor Locally

  • Refer to Running Blueprints Controller Microservice Locally to build CDS docker images

  • On Success verify if you can see  ccsdk-commandexecutor docker images locally

  • $ docker images -a | grep  ccsdk-commandexecutor

  • You should have the onap/ccsdk-commandexecutor:latest image

  • Execute the following commands to start the command executor docker container

cd $HOME

tee start-ccsdk-container.sh << EOM
#!/bin/bash
echo "trying to run the latest onap/ccsdk-commandexecutor"
docker run -p 50051:50051 -v /opt/app/onap/blueprints/deploy:/opt/app/onap/blueprints/deploy -d onap/ccsdk-commandexecutor:latest python_re
EOM

chmod +x start-ccsdk-container.sh
./start-ccsdk-container.sh

  • Verify if you can see the docker container

docker ps -a | grep ccsdk-commandexecutor

  • Execute the following command to see the logs

docker logs -f CONTAINER_ID