X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=test%2Fmocks%2Fdatafilecollector-testharness%2Fsimulator-group%2FREADME.md;h=e13389373450247e60e02a2d66a28a053005ad62;hb=1cb88f315b0ead933e8b6051a498daf85271d950;hp=545776a24993c88ed5e922a92d7d917471a4cdfe;hpb=ee8669cc6b2dd8591c84dff3ccc4e2394f99fc33;p=integration.git diff --git a/test/mocks/datafilecollector-testharness/simulator-group/README.md b/test/mocks/datafilecollector-testharness/simulator-group/README.md old mode 100644 new mode 100755 index 545776a24..e13389373 --- a/test/mocks/datafilecollector-testharness/simulator-group/README.md +++ b/test/mocks/datafilecollector-testharness/simulator-group/README.md @@ -9,10 +9,9 @@ In general these steps are needed to run the simulator group and dfc 1. Build the simulator images 2. Edit simulator env variables (to adapt the behavior of simulators) -3. Configure consul -4. Start the simulator monitor (to view the simulator stats) -5. Start the simulators -6. Start dfc +3. Start the simulator monitor (to view the simulator stats) +4. Start the simulators +5. Start dfc # Overview of the simulators. @@ -44,7 +43,6 @@ Run the script `prepare-images.sh` to build the docker images for MR, DR and FTP ## Summary of scripts and files -- `consul_config.sh` - Convert a json config file to work with dfc when manually started as java-app or container and then add that json to Consul. - `dfc-internal-stats.sh` - Periodically extract jvm data and dfc internal data and print to console/file. - `docker-compose-setup.sh` - Sets environment variables for the simulators and start the simulators with that settings. - `docker-compose-template.yml` - A docker compose template with environment variables setting. Used for producing a docker-compose file to defined the simulator containers. @@ -112,7 +110,7 @@ Kill all the containers with `simulators-kill.se` `setup-ftp-files.for-image.sh` and `setup-http-files-for-image.sh` is for CSIT and executed when the ftp/http servers are started from the docker-compose-setup.sh\`. To make DFC to be able to connect to the simulator containers, DFC need to run in host mode. -Start DFC by the following cmd: ` docker run -d --network="host" --name dfc_app ` +Start DFC by the following cmd: `docker run -d --network="host" --name dfc_app ` `` could be either the locally built image `onap/org.onap.dcaegen2.collectors.datafile.datafile-app-server` or the one in nexus `nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.datafile.datafile-app-server`.