summaryrefslogtreecommitdiffstats
path: root/kud/tests/_common.sh
diff options
context:
space:
mode:
authorChenjieXu <chenjie.xu@intel.com>2020-04-01 13:26:54 +0800
committerChenjie Xu <chenjie.xu@intel.com>2020-05-08 01:43:34 +0000
commit1449bbe36e44315fa6e74375e7ab0607dd182344 (patch)
tree806a01996d93b605d1be3921fc2ba5a641665d4c /kud/tests/_common.sh
parent3d8e9a41d55cd862e9963e8c561e80f9ec09d484 (diff)
Integrate Openness EAA
Openness EAA provides application/service registration and authentication. EAA is integrated by running EAA via ONAP4K8S. Issue-ID: MULTICLOUD-1044 Signed-off-by: ChenjieXu <chenjie.xu@intel.com> Change-Id: I66dffc5bcfc66675f6b62672e32496ec7f71454c
Diffstat (limited to 'kud/tests/_common.sh')
-rwxr-xr-xkud/tests/_common.sh24
1 files changed, 24 insertions, 0 deletions
diff --git a/kud/tests/_common.sh b/kud/tests/_common.sh
index cd704c53..8da7471e 100755
--- a/kud/tests/_common.sh
+++ b/kud/tests/_common.sh
@@ -1158,6 +1158,30 @@ function populate_CSAR_fw_rbdefinition {
popd
}
+# populate_CSAR_eaa_rbdefinition() - Function that populates CSAR folder
+# for testing resource bundle definition of openness eaa scenario
+function populate_CSAR_eaa_rbdefinition {
+ _checks_args "$1"
+ pushd "${CSAR_DIR}/$1"
+ print_msg "Create Helm Chart Archives for Openness EAA"
+ rm -f *.tar.gz
+ tar -czf rb_profile.tar.gz -C $test_folder/openness/eaa/profile .
+ tar -czf rb_definition.tar.gz -C $test_folder/openness/eaa/helm eaa
+ popd
+}
+
+# populate_CSAR_eaa_sample_app_rbdefinition() - Function that populates CSAR folder
+# for testing resource bundle definition of openness sample-app scenario
+function populate_CSAR_eaa_sample_app_rbdefinition {
+ _checks_args "$1"
+ pushd "${CSAR_DIR}/$1"
+ print_msg "Create Helm Chart Archives for Openness EAA Sample Apps: producer and consumer"
+ rm -f *.tar.gz
+ tar -czf rb_profile.tar.gz -C $test_folder/openness/sample-app/profile .
+ tar -czf rb_definition.tar.gz -C $test_folder/openness/sample-app/helm sample-app
+ popd
+}
+
function populate_CSAR_composite_app_helm {
_checks_args "$1"
pushd "${CSAR_DIR}/$1"