summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVictor Morales <victor.morales@intel.com>2018-02-02 08:41:42 -0800
committerMichael Lando <ml636r@att.com>2018-04-09 21:57:20 +0000
commitd5d8840c02835d3f73c74007e6d3724dd65ab39c (patch)
treefbcb723a116e4d23e84cb557020f9f5c611ae438
parent1788983cf083303c51d538608c92abbebef10307 (diff)
Fix Docker file path
This change modifies the docker file path that is used for the pom.xml file and updates the instructions for building the docker docker image. Change-Id: I9aaf3792134292f5556d429155d144f8ef8d8018 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: SDC-993
-rw-r--r--README.md6
-rw-r--r--utils/webseal-simulator/README.txt6
-rw-r--r--utils/webseal-simulator/pom.xml2
-rwxr-xr-x[-rw-r--r--]utils/webseal-simulator/sdc-simulator/startup.sh0
4 files changed, 7 insertions, 7 deletions
diff --git a/README.md b/README.md
index 320b1009dc..4a962259cc 100644
--- a/README.md
+++ b/README.md
@@ -13,7 +13,7 @@ OpenECOMP SDC is delivered with 5 Docker containers:
4. sdc-cs - hosting cassandra
5. sdc-es - hosting elastic search
-All containers runs on the same machine and can be started by runnin the command:
+All containers runs on the same machine and can be started by running the command:
/data/scripts/docker_run.sh -e <environment name> -r <release> -p <docker-hub-port>
Example: /data/scripts/docker_run.sh -e OS-ETE-DFW -p 51220
@@ -41,7 +41,7 @@ Docker containers are build with the following profile
# Getting the containers
-***to be changed for rrelease*** OpenECOMP SDC containers are stored on the Rackspace Nexus Docker Registry
+***to be changed for release*** OpenECOMP SDC containers are stored on the Rackspace Nexus Docker Registry
The following Docker images are the actual deployment images used for running SDC
@@ -93,7 +93,7 @@ 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:
-1. Run `mvn clean install -Ddocker.buildArg.http_proxy=<http_proxy> -Ddocker.buildArg.https_proxy=<https_proxy> -P docker`
+1. Run `mvn clean package docker:build -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 Dockerfiles
2. Copy the script /webseal-simulator/scripts/simulator_docker_run.sh to the docker engine environment and run:
`simulator_docker_run.sh -r 1.1-STAGING-latest`
diff --git a/utils/webseal-simulator/README.txt b/utils/webseal-simulator/README.txt
index 46fd622bc8..937d22c6b3 100644
--- a/utils/webseal-simulator/README.txt
+++ b/utils/webseal-simulator/README.txt
@@ -1,8 +1,8 @@
-------------------------
++----------------------+
| |
| webseal simulator |
| |
-------------------------
++----------------------+
Working with webseal simulator:
-------------------------------
@@ -11,7 +11,7 @@ Working with webseal simulator:
2. Ftp war file: webseal-simulator\target\WSSimulator.war to your localhost vagrant machine: /home/vagrant/webseal-simulator/webapps folder
3. Ftp configuration file: webseal-simulator\src\main\resources\webseal.conf to your localhost vagrant machine: /home/vagrant/webseal-simulator/config
4. To run the simulator, enter to your local vagrant and run: startWebsealSimulator.sh
-5. Open browser and navigate to: http://localhost:8285/sdc1.login
+5. Open browser and navigate to: http://localhost:8285/login
Note: the user in webseal configuration file will appear in the login screen. Pressing on user link will perform authentication and redirect to SDC.
The users should be predefined in SDC
diff --git a/utils/webseal-simulator/pom.xml b/utils/webseal-simulator/pom.xml
index 2fa9fca2ee..f4585612b3 100644
--- a/utils/webseal-simulator/pom.xml
+++ b/utils/webseal-simulator/pom.xml
@@ -232,7 +232,7 @@
<alias>sdc-simulator</alias>
<build>
<cleanup>try</cleanup>
- <dockerFileDir>${basedir}/sdc-simulator</dockerFileDir>
+ <dockerFileDir>${basedir}${file.separator}sdc-simulator</dockerFileDir>
<tags>
<tag>${docker.tag}</tag>
<tag>${docker.latest.tag}</tag>
diff --git a/utils/webseal-simulator/sdc-simulator/startup.sh b/utils/webseal-simulator/sdc-simulator/startup.sh
index 89582082eb..89582082eb 100644..100755
--- a/utils/webseal-simulator/sdc-simulator/startup.sh
+++ b/utils/webseal-simulator/sdc-simulator/startup.sh