summaryrefslogtreecommitdiffstats
path: root/bin/caservicecontainer/README
diff options
context:
space:
mode:
authorKiran Kamineni <kiran.k.kamineni@intel.com>2018-11-26 18:14:40 +0000
committerGerrit Code Review <gerrit@onap.org>2018-11-26 18:14:40 +0000
commit5d26785885a54cfb35d5eed2e78d641b6d28ebd7 (patch)
tree246b71a51090545f15568e6d693771fb957549c9 /bin/caservicecontainer/README
parent0976a6af289d3940ac4b90be09517b31aa03099a (diff)
parentcdeedf52ff5d545fa4d7a1061224e075a3aad1a1 (diff)
Merge "Adding multithreading support to the application"
Diffstat (limited to 'bin/caservicecontainer/README')
-rwxr-xr-xbin/caservicecontainer/README14
1 files changed, 12 insertions, 2 deletions
diff --git a/bin/caservicecontainer/README b/bin/caservicecontainer/README
index 930d510..0d874c7 100755
--- a/bin/caservicecontainer/README
+++ b/bin/caservicecontainer/README
@@ -5,19 +5,29 @@
### Build docker image with a base image
````
-$ docker build -t <image name> -f dockerfile .
+$ docker build -t <imagename> -f dockerfile .
````
### Running the CA service container - Below command will run and log you into the container
````
-$ docker run -v /tmp/run/dbus:/var/run/dbus:rw -v /tmp/volume:/tmp/files:rw --name <container name> -i -t --entrypoint=/bin/bash <image name>
+$ docker run -d -e DATA_FOLDER=<Location of shared directory> -v /tmp/run/dbus:/var/run/dbus:rw -v /tmp/volume:/tmp/files:rw --name <containername> -i -t --entrypoint=/bin/bash <imagename>
+````
+
+### Login to the container
+````
+$ docker exec -it <containername> /bin/bash
````
### Running the Import utility
````
$ import.sh
````
+
+### Running the Import utility with stress test with multithreading
+````
+$ ./testca/test/multithreadimport.sh
+````
#### Make sure the TABRMD container is running on the same dbus mountpoint on the host as the CA service container
### Expected Input files for SoftHSM operations