aboutsummaryrefslogtreecommitdiffstats
path: root/test/mocks/pnf-onboarding
diff options
context:
space:
mode:
authormrichomme <morgan.richomme@orange.com>2020-04-10 18:22:59 +0200
committerMorgan Richomme <morgan.richomme@orange.com>2020-04-14 17:25:12 +0000
commit28babfa0a7ab8a6c1df9d16c7235d968c1337df3 (patch)
tree2a3bf4bd9aeb83ac2ee44a2e41ee665b3b394931 /test/mocks/pnf-onboarding
parentc06ea62716be250a59bd1d3857baa1a3a927a317 (diff)
Fix integration markdown errors for linter
Issue-ID: INT-1523 Signed-off-by: mrichomme <morgan.richomme@orange.com> Change-Id: I2be0865395b12e1f277834b0c096f5d183cb5056 Signed-off-by: mrichomme <morgan.richomme@orange.com>
Diffstat (limited to 'test/mocks/pnf-onboarding')
-rw-r--r--test/mocks/pnf-onboarding/README.md22
1 files changed, 13 insertions, 9 deletions
diff --git a/test/mocks/pnf-onboarding/README.md b/test/mocks/pnf-onboarding/README.md
index b14b34d95..b75a77631 100644
--- a/test/mocks/pnf-onboarding/README.md
+++ b/test/mocks/pnf-onboarding/README.md
@@ -1,20 +1,22 @@
-PNF Package for Integration Test
-================================
+# PNF Package for Integration Test
**NOTE: Requires openssl to be preinstalled.**
This module builds 3 PNF packages based on the files in `/src/main/resources/csarContent/`
1. unsigned package:
- `sample-pnf-1.0.1-SNAPSHOT.csar`
+ `sample-pnf-1.0.1-SNAPSHOT.csar`
2. signed packages:
- A) `sample-signed-pnf-1.0.1-SNAPSHOT.zip`
- B) `sample-signed-pnf-cms-includes-cert-1.0.1-SNAPSHOT.zip`
- The signed packages are based on ETSI SOL004 Security Option 2. They contain csar, cert and cms files. In package B cms includes cert.
+ A) `sample-signed-pnf-1.0.1-SNAPSHOT.zip`
+ B) `sample-signed-pnf-cms-includes-cert-1.0.1-SNAPSHOT.zip`
+ The signed packages are based on ETSI SOL004 Security Option 2. They contain csar, cert and cms files. In package B cms includes cert.
The packages are generated by running the following command in the same directory as this readme file i.e. pnf-onboarding directory:
-> `$ mvn clean install`
+
+> ```
+> `$ mvn clean install`
+> ```
The packages will be stored in the maven generated `target` directory.
@@ -22,5 +24,7 @@ To be able to use the signed packages in SDC the `src/main/resources/securityCon
If SDC is running in containers locally then the following commands could be used to copy the root.cert to the default location in SDC Onboarding Container. It is assumed that the commands are executed from inside pnf-onboarding directory.
-> `$ docker exec -it <sdc-onboard-backend-container-id> mkdir -p /var/lib/jetty/cert`
-> `$ docker cp src/main/resources/securityContent/root.cert <sdc-onboard-backend-container-id>:/var/lib/jetty/cert` \ No newline at end of file
+> ```
+> `$ docker exec -it <sdc-onboard-backend-container-id> mkdir -p /var/lib/jetty/cert`
+> `$ docker cp src/main/resources/securityContent/root.cert <sdc-onboard-backend-container-id>:/var/lib/jetty/cert`
+> ```