This options is for developers to run locally SDC SDC Simulator is a project that enables emulation of web server that provides security policy and sign-on to the SDC component in dev environments.
If you are using onap vagrant you can deploy the simulator by:
Set up the DOCKER_HOST environmental variable
To set environmental variable in Windows (the docker engine environment):
Run cmd
-- Issue command set NAME=VAL Example: set DOCKER_HOST=tcp://127.0.0.1:2375 --To check if the variable set succeeded issue
echo %DOCKER_HOST%`
To compile sdc-simulator docker:
mvn clean install -Ddocker.buildArg.http_proxy=<http_proxy> -Ddocker.buildArg.https_proxy=<https_proxy> -P docker
-- The proxy arguments are passed and used as environmental variables in Dockerfilessimulator_docker_run.sh -r 1.1-STAGING-latest
docker ps
to verify that sdc-simulator docker is up and running.http://<ip address>:8285/login
mvn clean install
on project “webseal simulator”. This will generate war file (WSSimulator.war) in the target folder.docker build -t openecomp/sdc-simulator:1.1-STAGING-latest <PATH/sdc-simulator>
Example: docker build -t openecomp/sdc-simulator:1.1-STAGING-latest /tmp/docker/sdc-simulator/ -- If running behind a proxy: docker build --build-arg http_proxy=http://URL:PORT --build-arg https_proxy=http://URL:PORT -t openecomp/sdc-simulator:1.1-STAGING-latest /tmp/docker/sdc-simulator/
docker images
simulator_docker_run.sh -r 1.1-STAGING-latest
docker ps
to verify that sdc-simulator docker is up and running.http://<ip address>:8285/login
mvn clean install
on project "webseal simulator". This will generate war file (WSSimulator.war) in the target folder.