summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorBogumil Zebek <bogumil.zebek@nokia.com>2020-08-21 08:37:36 +0200
committerZebek Bogumil <bogumil.zebek@nokia.com>2020-08-21 08:37:36 +0200
commit0aa56e61319ae87adadd95e419f7cea12474b2ed (patch)
tree59745c04a47a21fc186968bb7678161b60029335 /README.md
parent87abb288ba1e107fb75148effd967420b6c76148 (diff)
Migrate from java 8 to java 11
- update Dockerfile - update documentation Issue-ID: VNFSDK-632 Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com> Change-Id: Ibdd8a17de96e58bc86ed79b8a7e8fa4f3fa2919d
Diffstat (limited to 'README.md')
-rw-r--r--README.md31
1 files changed, 31 insertions, 0 deletions
diff --git a/README.md b/README.md
index efe41b8c..2f1d9b1f 100644
--- a/README.md
+++ b/README.md
@@ -40,3 +40,34 @@ Docker image building
```
mvn clean package -Pdocker -Dpush.docker.image=false
```
+
+Run refrepo locally
+======================
+```
+ docker run --name refrepo -p 8702:8702 nexus3.onap.org:10003/onap/vnfsdk/refrepo:latest
+```
+
+Refrepo container - important folders
+=====================================
+To browse folder you must enter to the refrepo container, so first run docker container locally (see above section) then execute
+```
+ docker exec -it refrepo bash
+```
+
+In the running container you will find a few important folders:
+- /service/logs - it contains vnfmarket application logs
+- /opt/vtp/logs - it contains oclip logs
+- /opt/vtp/lib - it contains oclip dependencies, such as: validation-csar-XXX.jar file
+
+Verify validation logic
+=============================
+If you want to verify validation logic (validation-csar project), first you need to build validation-csar project,
+next remove existing validation-csar.jar from /opt/vpt/lib folder in the container
+and then copy the new validation-csar jar file into the /opt/vpt/lib folder in the container and restart this container.
+
+```
+ 1. docker exec -it refrepo bash
+ 2. Inside the container: rm /opt/vtp/lib/ validation-csar-XXX.jar
+ 3. docker cp validation-csar.jar refrepo:/opt/vtp/lib
+ 4. docker restart refrepo
+```