aboutsummaryrefslogtreecommitdiffstats
path: root/plans/oom-platform-cert-service
diff options
context:
space:
mode:
authorJoanna Jeremicz <joanna.jeremicz@nokia.com>2020-08-13 14:43:49 +0200
committerPiotr Marcinkiewicz <piotr.marcinkiewicz@nokia.com>2020-08-26 12:54:50 +0200
commit764e0a41bd0fa062ff32287c53645fcbb650697e (patch)
tree1bb0e9c48a4451e0298da90cfee3f2b71cd55561 /plans/oom-platform-cert-service
parent656f0c5fb085d10f25389c4422186cc107bcf5a7 (diff)
Add CSITs for Truststore Merger
Issue-ID: DCAEGEN2-2253 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com> Change-Id: Ie2d648108c99f4a1e61fe855f318078e6ffc0e21
Diffstat (limited to 'plans/oom-platform-cert-service')
-rw-r--r--plans/oom-platform-cert-service/truststoremerger/setup.sh28
-rw-r--r--plans/oom-platform-cert-service/truststoremerger/teardown.sh18
-rwxr-xr-xplans/oom-platform-cert-service/truststoremerger/testplan.txt3
3 files changed, 49 insertions, 0 deletions
diff --git a/plans/oom-platform-cert-service/truststoremerger/setup.sh b/plans/oom-platform-cert-service/truststoremerger/setup.sh
new file mode 100644
index 00000000..9f618406
--- /dev/null
+++ b/plans/oom-platform-cert-service/truststoremerger/setup.sh
@@ -0,0 +1,28 @@
+#!/bin/bash
+#
+# Copyright 2020 Nokia.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+#export container name
+export MergerContainerName=TrustStoreMerger
+
+#install docker sdk
+echo "Uninstall docker-py and reinstall docker."
+pip uninstall -y docker-py
+pip uninstall -y docker
+pip install -U docker==2.7.0
+
+#install pyjks for .jks files management
+pip install pyjks
diff --git a/plans/oom-platform-cert-service/truststoremerger/teardown.sh b/plans/oom-platform-cert-service/truststoremerger/teardown.sh
new file mode 100644
index 00000000..a0ee4d26
--- /dev/null
+++ b/plans/oom-platform-cert-service/truststoremerger/teardown.sh
@@ -0,0 +1,18 @@
+#!/bin/bash
+#
+# Copyright 2017 ZTE, Inc. and others.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+kill-instance.sh ${MergerContainerName}
diff --git a/plans/oom-platform-cert-service/truststoremerger/testplan.txt b/plans/oom-platform-cert-service/truststoremerger/testplan.txt
new file mode 100755
index 00000000..11e00832
--- /dev/null
+++ b/plans/oom-platform-cert-service/truststoremerger/testplan.txt
@@ -0,0 +1,3 @@
+# Test suites are relative paths under [integration/csit.git]/tests/.
+# Place the suites in run order.
+oom-platform-cert-service/truststoremerger