1 docker login nexus3.onap.org:10001
\r
4 APP PORT MAPPINGS Internal-k8s External-k8s Docker
\r
5 otf-frontend 443 32524 8082
\r
6 otf-service-api 8443 32303 8081
\r
7 otf-camunda 8443 31313 8080
\r
8 otf-ping-test-head 5000 32223 5001
\r
9 otf-ssh-test-head 5000 32222 5002
\r
10 otf-robot-test-head 5000 32224 5003
\r
13 comment app.run for ssl
\r
14 uncomment app.run without ssl
\r
15 change port if needed
\r
16 docker build -t otf-ping-test-head:0.0.1-SNAPSHOT .
\r
17 docker run -d --network="host" otf-ping-test-head:0.0.1-SNAPSHOT
\r
20 comment app.run for ssl
\r
21 uncomment app.run without ssl
\r
22 change port if needed
\r
23 docker build -t otf-ssh-test-head:0.0.1-SNAPSHOT .
\r
24 docker run -d --network="host" otf-ssh-test-head:0.0.1-SNAPSHOT
\r
27 comment app.run for ssl
\r
28 uncomment app.run without ssl
\r
29 change port if needed
\r
30 docker build -t otf-robot-test-head:0.0.1-SNAPSHOT .
\r
31 docker run -d --network="host" otf-robot-test-head:0.0.1-SNAPSHOT
\r
35 docker build -t otf-frontend:0.0.1-SNAPSHOT .
\r
36 docker run -d --network="host" otf-frontend:0.0.1-SNAPSHOT
\r
39 Modify src/main/resources/application.properties according to needs (disable aaf/ssl, set ports)
\r
40 navigate to otf-service-api folder and run "docker build -t otf-service-api:0.0.1-SNAPSHOT -f docker/Dockerfile ." (maven will run from inside the container, command is inside the Dockerfile)
\r
41 docker run -d --network="host" otf-service-api:0.0.1-SNAPSHOT
\r
45 Modify src/main/resources/application.yaml according to needs, and validate the yaml is correct format (disable aaf/ssl, set ports)
\r
46 navigate to otf-camunda folder and run "docker build -t otf-camunda:0.0.1-SNAPSHOT -f docker/Dockerfile ." (maven will run from inside the container, command is inside the Dockerfile)
\r
47 docker run -d --network="host" otf-camunda:0.0.1-SNAPSHOT
\r
50 run sudo installdbs.sh and export PATH=/usr/local/mysql/bin:$PATH to add mysql commands to path
\r
51 run sudo createMongoUser.sh
\r
52 edit mongo to create a replica set by modifying replication and net fields on file /etc/mongod.conf
\r
53 add security: authorization: 'enabled'
\r
54 after script is ran mysql should be able to be used, connect to mysql using the password set by script and mysql command and
\r
55 alter the root password
\r
56 alter user 'root'@'localhost' identified by 'new_password'
\r
57 grant root ability to connect remotely
\r
58 grant all on *.* to 'root'@'%' identified by 'password'
\r
59 create db and exit mysql shell
\r
60 create database 'new_db'
\r
61 create tables using mysql scripts
\r
62 mysql -u root -p db < engine.sql
\r
63 mysql -u root -p db < identity.sql
\r