summaryrefslogtreecommitdiffstats
path: root/kud/tests/plugin_collection_v2.sh
diff options
context:
space:
mode:
Diffstat (limited to 'kud/tests/plugin_collection_v2.sh')
-rwxr-xr-xkud/tests/plugin_collection_v2.sh9
1 files changed, 5 insertions, 4 deletions
diff --git a/kud/tests/plugin_collection_v2.sh b/kud/tests/plugin_collection_v2.sh
index 05ff4265..84f5ca27 100755
--- a/kud/tests/plugin_collection_v2.sh
+++ b/kud/tests/plugin_collection_v2.sh
@@ -47,12 +47,12 @@ composite_app_name="test_composite_app_collection"
composite_app_description="test_project_description"
composite_app_version="test_composite_app_version"
app1_helm_path="$CSAR_DIR/$csar_id/collectd.tar.gz"
-app2_helm_path="$CSAR_DIR/$csar_id/prometheus.tar.gz"
+app2_helm_path="$CSAR_DIR/$csar_id/prometheus-operator.tar.gz"
app1_profile_path="$CSAR_DIR/$csar_id/collectd_profile.tar.gz"
-app2_profile_path="$CSAR_DIR/$csar_id/prometheus_profile.tar.gz"
+app2_profile_path="$CSAR_DIR/$csar_id/prometheus-operator_profile.tar.gz"
app1_name="collectd"
-app2_name="prometheus"
+app2_name="prometheus-operator"
app1_desc="collectd_desc"
app2_desc="prometheus_desc"
@@ -467,7 +467,7 @@ payload="$(cat <<EOF
"spec":{
"intent":{
"${genericPlacementIntent}":"${genericPlacementIntentName}",
- "${hpaIntent}" : "${hpaControllerIntentName}",
+ "${hpaIntent}" : "${hpaControllerIntentName}",
"${trafficIntent}" : "${trafficControllerIntentName}",
"${CostBasedIntent}" : "${CostBasedIntentName}",
"${OVNintent}" : "${OVNintentName}"
@@ -563,5 +563,6 @@ call_api -d "${payload}" "${base_url}/controllers"
#BEGIN: Instantiation
print_msg "Getting the sorted templates for each of the apps.."
+call_api -d "" "${base_url}/projects/${project_name}/composite-apps/${composite_app_name}/${composite_app_version}/deployment-intent-groups/${deploymentIntentGroupName}/approve"
call_api -d "" "${base_url}/projects/${project_name}/composite-apps/${composite_app_name}/${composite_app_version}/deployment-intent-groups/${deploymentIntentGroupName}/instantiate"
# END: Instantiation