summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorKanagaraj Manickam <kanagaraj.manickam@huawei.com>2020-08-24 10:31:03 +0000
committerGerrit Code Review <gerrit@onap.org>2020-08-24 10:31:03 +0000
commit1b847c8df05fe0e8be28e115a6953c0b18eaf053 (patch)
tree029d52f8e4b6eb7d40a52d974b9c7ed086092605 /README.md
parent89325b0b6a011787637f76bf3b423fed905088ec (diff)
parent0aa56e61319ae87adadd95e419f7cea12474b2ed (diff)
Merge "Migrate from java 8 to java 11"
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
+```