aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZebek Bogumil <bogumil.zebek@nokia.com>2021-03-17 14:08:26 +0100
committerZebek Bogumil <bogumil.zebek@nokia.com>2021-03-17 14:08:26 +0100
commit60b08e9c4990a1070641dc5378c49a85d1a9cf20 (patch)
treeda4b17293d2d8d9a74cbe4be45691240dd45bffe
parentbb84e030c255b379a46cc1b0bbaaebb24ec056b9 (diff)
Replace pnf-simulator by ves-client1.0.0
Issue-ID: INT-1869 Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com> Change-Id: I4a6287397059b72814c775e31e0b7dbbdef587c7
-rw-r--r--README.md12
-rw-r--r--docker-compose.yml2
2 files changed, 7 insertions, 7 deletions
diff --git a/README.md b/README.md
index fffb368..4d740a4 100644
--- a/README.md
+++ b/README.md
@@ -358,7 +358,7 @@ Expected output of such request (body of an event being send to a ves) should be
```
### Logging
-Every start of simulator will generate new logs that can be found in docker pnf-simualtor container under path:
+Every start of simulator will generate new logs that can be found in docker ves-client container under path:
/var/log/ONAP/pnfsimulator/pnfsimulator_output.log
### Swagger
@@ -388,7 +388,7 @@ Once certificate are not used for authorization, user can set up VES url using u
### Integration tests
Integration tests are located in folder 'integration'. Tests are using docker-compose from root folder.
-This docker-compose has pnfsimulator image set on nexus3.onap.org:10003/onap/pnf-simulator:1.0.1-SNAPSHOT.
+This docker-compose has ves-client image set on onap/org.onap.integration.nfsimulator.vesclient:1.0.0-SNAPSHOT.
To test your local changes before running integration tests please build project using:
'mvn clean install -P docerk'
@@ -402,7 +402,7 @@ Simulator can cooperate with VES server in different security types in particula
Warning: according to VES implementation which uses certificate with Common Name set to DCAELOCAL we decided not to use strict hostname verification, so at least this parameter is skipped during checking of the client certificate.
-#### How to generate client correct keystore for pnf-simulator
+#### How to generate client correct keystore for ves-client
The Root CA cert is available in certs folder in VES repository. The password for rootCA.key is collector.
The procedure of generating client's certificate:
@@ -410,9 +410,9 @@ Warning: according to VES implementation which uses certificate with Common Name
2. Use the client’s private key to generate a cert request: ```openssl req -new -key client.key -out client.csr```
3. Issue the client certificate using the cert request and the CA cert/key: ```openssl x509 -req -in client.csr -CA rootCA.crt -CAkey rootCA.key -CAcreateserial -out client.crt -days 500 -sha256```
4. Convert the client certificate and private key to pkcs#12 format: ```openssl pkcs12 -export -inkey client.key -in client.crt -out client.p12```
- 5. Copy pkcs file into pnf simulators folder: ```/app/store/```
+ 5. Copy pkcs file into ves client folder: ```/app/store/```
-#### How to generate correct truststore for pnf-simulator
+#### How to generate correct truststore for ves-client
Create truststore with rootCA.crt:
1. ```keytool -import -file rootCA.crt -alias firstCA -keystore trustStore```
2. Copy truststore to ```/app/store/```
@@ -424,7 +424,7 @@ Warning: according to VES implementation which uses certificate with Common Name
Depending on your needs, you are able to change client certificate, replace trustStore to accept new server certificate change keystore and truststore passwords or completely disable client cert authentication.
For this purpose:
-1. Go to the pnf simulator container into the /app folder.
+1. Go to the ves-client container into the /app folder.
2. If you want to replace keystore or truststore put them into the /app/store folder.
3. Edit /app/application.properties file as follow:
- ssl.clientCertificateEnabled=true (to disable/enable client authentication)
diff --git a/docker-compose.yml b/docker-compose.yml
index 2e1f3b7..78c3b43 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -23,7 +23,7 @@ services:
ME_CONFIG_MONGODB_ADMINUSERNAME: root
ME_CONFIG_MONGODB_ADMINPASSWORD: zXcVbN123!
- pnf-simulator:
+ ves-client:
image: onap/org.onap.integration.nfsimulator.vesclient
ports:
- "5000:5000"