aboutsummaryrefslogtreecommitdiffstats
path: root/csit/resources/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'csit/resources/scripts')
-rwxr-xr-xcsit/resources/scripts/build-csit-docker-image.sh53
-rwxr-xr-xcsit/resources/scripts/prepare-robot-env.sh60
-rw-r--r--csit/resources/scripts/pylibs.txt25
-rwxr-xr-xcsit/resources/scripts/run-test.sh54
-rw-r--r--csit/resources/scripts/setup-apex-pdp-large.sh53
-rw-r--r--csit/resources/scripts/setup-apex-pdp-medium.sh53
-rwxr-xr-xcsit/resources/scripts/setup-apex-pdp-postgres.sh53
-rwxr-xr-xcsit/resources/scripts/setup-apex-pdp.sh34
-rwxr-xr-xcsit/resources/scripts/setup-api.sh35
-rwxr-xr-xcsit/resources/scripts/setup-clamp.sh36
-rwxr-xr-xcsit/resources/scripts/setup-distribution.sh43
-rwxr-xr-xcsit/resources/scripts/setup-drools-applications.sh41
-rwxr-xr-xcsit/resources/scripts/setup-drools-pdp.sh34
-rwxr-xr-xcsit/resources/scripts/setup-pap.sh36
-rwxr-xr-xcsit/resources/scripts/setup-xacml-pdp.sh36
15 files changed, 91 insertions, 555 deletions
diff --git a/csit/resources/scripts/build-csit-docker-image.sh b/csit/resources/scripts/build-csit-docker-image.sh
new file mode 100755
index 00000000..d4686422
--- /dev/null
+++ b/csit/resources/scripts/build-csit-docker-image.sh
@@ -0,0 +1,53 @@
+#!/bin/bash -x
+#
+# Copyright 2024 Nordix Foundation.
+#
+# 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.
+
+function clone_models() {
+ # download models examples
+ git clone -b "${GERRIT_BRANCH}" --single-branch https://github.com/onap/policy-models.git "${WORKSPACE}"/csit/resources/tests/models
+
+ # create a couple of variations of the policy definitions
+ sed -e 's!Measurement_vGMUX!ADifferentValue!' \
+ tests/models/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json \
+ >tests/models/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.v1_2.json
+
+ sed -e 's!"version": "1.0.0"!"version": "2.0.0"!' \
+ -e 's!"policy-version": 1!"policy-version": 2!' \
+ tests/models/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json \
+ >tests/models/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.v2.json
+}
+
+if [ -z "${WORKSPACE}" ]; then
+ WORKSPACE=$(git rev-parse --show-toplevel)
+ export WORKSPACE
+fi
+
+GERRIT_BRANCH=$(awk -F= '$1 == "defaultbranch" { print $2 }' "${WORKSPACE}"/.gitreview)
+export ROBOT_DOCKER_IMAGE="policy-csit-robot"
+
+echo "Build docker image for robot framework"
+cd ${WORKSPACE}/csit/resources || exit
+
+docker image rm -f ${ROBOT_DOCKER_IMAGE}
+
+# get models
+clone_models
+
+echo "Build robot framework docker image"
+docker build . --file Dockerfile --tag "${ROBOT_DOCKER_IMAGE}" --no-cache
+docker save -o policy-csit-robot.tar ${ROBOT_DOCKER_IMAGE}:latest
+
+rm -rf ${WORKSPACE}/csit/resources/policy-csit-robot.tar
+rm -rf ${WORKSPACE}/csit/resources/tests/models/
diff --git a/csit/resources/scripts/prepare-robot-env.sh b/csit/resources/scripts/prepare-robot-env.sh
deleted file mode 100755
index 2b773802..00000000
--- a/csit/resources/scripts/prepare-robot-env.sh
+++ /dev/null
@@ -1,60 +0,0 @@
-#!/bin/bash -x
-#
-# Copyright 2019 © Samsung Electronics Co., Ltd.
-# Modification Copyright 2021 © AT&T Intellectual Property.
-# Modification Copyright 2021-2023 Nordix Foundation.
-#
-# 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.
-#
-# This script installs common libraries required by CSIT tests
-#
-
-if [ -z "$WORKSPACE" ]; then
- WORKSPACE=$(git rev-parse --show-toplevel)
- export WORKSPACE
-fi
-
-ROBOT_VENV=$(mktemp -d)
-echo "ROBOT_VENV=${ROBOT_VENV}" >> "${WORKSPACE}/env.properties"
-
-echo "Python version is: $(python3 --version)"
-
-python3 -m venv --clear "${ROBOT_VENV}"
-source "${ROBOT_VENV}/bin/activate" > /dev/null
-
-set -exu
-
-python3 -m pip install -qq --upgrade "pip<=23.0" "setuptools<=66.1.1"
-echo "Installing Python Requirements"
-python3 -m pip install -qq -r "${SCRIPTS}"/pylibs.txt
-python3 -m pip -qq freeze
-
-# install eteutils
-mkdir -p "${ROBOT_VENV}"/src/onap
-rm -rf "${ROBOT_VENV}"/src/onap/testsuite
-python3 -m pip install -qq --upgrade --extra-index-url="https://nexus3.onap.org/repository/PyPi.staging/simple" 'robotframework-onap==0.6.0.*' --pre
-
-# install confluent-kafka
-echo "Installing python confluent-kafka library"
-python3 -m pip install -qq confluent-kafka
-
-echo "Uninstall docker-py and reinstall docker."
-python3 -m pip uninstall -y -qq docker
-python3 -m pip install -U -qq docker
-
-python3 -m pip -qq freeze
-
-if (uname | grep -q 'Linux')
-then
- sudo apt-get -y -qq install libxml2-utils
-fi
diff --git a/csit/resources/scripts/pylibs.txt b/csit/resources/scripts/pylibs.txt
deleted file mode 100644
index a9b4e498..00000000
--- a/csit/resources/scripts/pylibs.txt
+++ /dev/null
@@ -1,25 +0,0 @@
-ipaddr==2.2.0
-netaddr==0.8.0
-netifaces==0.11.0
-pyhocon==0.3.60
-requests==2.27.1
-robotframework-httplibrary==0.4.2
-robotframework-requests==0.9.4
-robotframework-selenium2library==3.0.0
-robotframework-sshlibrary==3.8.0
-scapy==2.5.0
-# Module jsonpath is needed by current AAA idmlite suite.
-jsonpath-rw==1.4.0
-# Modules for longevity framework robot library
-elasticsearch==7.17.9
-elasticsearch-dsl==7.4.1
-# Module for pyangbind used by lispflowmapping project
-pyangbind==0.8.1
-# Module for iso8601 datetime format
-isodate==0.6.1
-# Module for TemplatedRequests.robot library
-jmespath==0.10.0
-# Module for backup-restore support library
-jsonpatch==1.32
-# odltools for extra debugging
-odltools==0.1.28
diff --git a/csit/resources/scripts/run-test.sh b/csit/resources/scripts/run-test.sh
index 90dec572..9b01d352 100755
--- a/csit/resources/scripts/run-test.sh
+++ b/csit/resources/scripts/run-test.sh
@@ -18,40 +18,62 @@
# SPDX-License-Identifier: Apache-2.0
# ============LICENSE_END======================================================
-
-ROBOT_FILE=$1
-echo "Invoking the robot tests from: $1"
+echo "Invoking the robot tests from: ${ROBOT_FILE}"
DEFAULT_PORT=6969
DATA=/opt/robotworkspace/models/models-examples/src/main/resources/policies
NODETEMPLATES=/opt/robotworkspace/models/models-examples/src/main/resources/nodetemplates
+CLAMP_K8S_TEST=${K8S_TEST}
-POLICY_RUNTIME_ACM_IP=policy-clamp-runtime-acm:${DEFAULT_PORT}
-POLICY_PARTICIPANT_SIM_IP=policy-clamp-ac-sim-ppnt:${DEFAULT_PORT}
POLICY_API_IP=policy-api:${DEFAULT_PORT}
+
POLICY_PAP_IP=policy-pap:${DEFAULT_PORT}
+
APEX_IP=policy-apex-pdp:${DEFAULT_PORT}
+APEX_EVENTS_IP=policy-apex-pdp:23324
+
POLICY_PDPX_IP=policy-xacml-pdp:${DEFAULT_PORT}
+
POLICY_DROOLS_IP=policy-drools-pdp:9696
-DISTRIBUTION_IP=policy-distribution:6969
+DROOLS_IP_1=policy-drools-apps:${DEFAULT_PORT}
+DROOLS_IP_2=policy-drools-apps:9696
+
+DISTRIBUTION_IP=policy-distribution:${DEFAULT_PORT}
+
+POLICY_RUNTIME_ACM_IP=policy-clamp-runtime-acm:${DEFAULT_PORT}
+POLICY_PARTICIPANT_SIM_IP=policy-clamp-ac-sim-ppnt:${DEFAULT_PORT}
+
KAFKA_IP=kafka:9092
-APEX_EVENTS_IP=policy-apex-pdp:23324
PROMETHEUS_IP=prometheus:9090
-CLAMP_K8S_TEST=true
DIST_TEMP_FOLDER=/tmp/distribution
-export ROBOT_VARIABLES=
-ROBOT_VARIABLES="-v DATA:$DATA -v NODETEMPLATES:$NODETEMPLATES -v POLICY_API_IP:$POLICY_API_IP
--v POLICY_RUNTIME_ACM_IP:$POLICY_RUNTIME_ACM_IP -v POLICY_PARTICIPANT_SIM_IP:$POLICY_PARTICIPANT_SIM_IP
--v POLICY_PAP_IP:$POLICY_PAP_IP -v APEX_IP:$APEX_IP
--v APEX_EVENTS_IP:$APEX_EVENTS_IP -v KAFKA_IP:$KAFKA_IP -v PROMETHEUS_IP:${PROMETHEUS_IP}
--v POLICY_PDPX_IP:$POLICY_PDPX_IP -v POLICY_DROOLS_IP:$POLICY_DROOLS_IP -v TEMP_FOLDER:${DIST_TEMP_FOLDER}
--v DISTRIBUTION_IP:$DISTRIBUTION_IP -v CLAMP_K8S_TEST:$CLAMP_K8S_TEST"
+ROBOT_VARIABLES="-v DATA:${DATA}
+-v NODETEMPLATES:${NODETEMPLATES}
+-v POLICY_API_IP:${POLICY_API_IP}
+-v POLICY_RUNTIME_ACM_IP:${POLICY_RUNTIME_ACM_IP}
+-v POLICY_PARTICIPANT_SIM_IP:$POLICY_PARTICIPANT_SIM_IP
+-v POLICY_PAP_IP:${POLICY_PAP_IP}
+-v APEX_IP:${APEX_IP}
+-v APEX_EVENTS_IP:${APEX_EVENTS_IP}
+-v KAFKA_IP:${KAFKA_IP}
+-v PROMETHEUS_IP:${PROMETHEUS_IP}
+-v POLICY_PDPX_IP:${POLICY_PDPX_IP}
+-v POLICY_DROOLS_IP:${POLICY_DROOLS_IP}
+-v DROOLS_IP:${DROOLS_IP_1}
+-v DROOLS_IP_2:${DROOLS_IP_2}
+-v TEMP_FOLDER:${DIST_TEMP_FOLDER}
+-v DISTRIBUTION_IP:${DISTRIBUTION_IP}
+-v CLAMP_K8S_TEST:${CLAMP_K8S_TEST}"
+
+export ROBOT_VARIABLES
echo "Run Robot test"
echo ROBOT_VARIABLES="${ROBOT_VARIABLES}"
echo "Starting Robot test suites ..."
-python3 -m robot.run -d /tmp/ $ROBOT_VARIABLES $1
+mkdir -p /tmp/results/
+python3 -m robot.run -d /tmp/results/ ${ROBOT_VARIABLES} ${ROBOT_FILE}
RESULT=$?
echo "RESULT: ${RESULT}"
+
+exit $RESULT
diff --git a/csit/resources/scripts/setup-apex-pdp-large.sh b/csit/resources/scripts/setup-apex-pdp-large.sh
deleted file mode 100644
index aeb44567..00000000
--- a/csit/resources/scripts/setup-apex-pdp-large.sh
+++ /dev/null
@@ -1,53 +0,0 @@
-#!/bin/bash
-#
-# ===========LICENSE_START====================================================
-# Copyright (C) 2023 Nordix Foundation.
-# ============================================================================
-# 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.
-# ============LICENSE_END=====================================================
-#
-
-export PROJECT="apex-pdp"
-export KAFKA_IP="localhost:${KAFKA_PORT}"
-source "${SCRIPTS}"/node-templates.sh
-
-source "${WORKSPACE}"/compose/start-multiple-pdp.sh 10
-
-sleep 10
-unset http_proxy https_proxy
-
-# wait for the app to start up
-bash "${SCRIPTS}"/wait_for_rest.sh localhost ${PAP_PORT}
-bash "${SCRIPTS}"/wait_for_rest.sh localhost ${APEX_PORT}
-
-sleep 20
-
-healthy=false
-
-while [ $healthy = false ]
-do
- msg=`curl -s -k --user 'policyadmin:zb!XztG34' http://localhost:${APEX_PORT}/policy/apex-pdp/v1/healthcheck`
- echo "${msg}" | grep -q true
- if [ "${?}" -eq 0 ]
- then
- healthy=true
- break
- fi
- sleep 10s
-done
-
-export SUITES="apex-slas-10.robot"
-
-ROBOT_VARIABLES="-v POLICY_PAP_IP:localhost:${PAP_PORT} -v POLICY_API_IP:localhost:${API_PORT}
--v PROMETHEUS_IP:localhost:${PROMETHEUS_PORT} -v DATA:${DATA} -v NODETEMPLATES:${NODETEMPLATES}
--v APEX_IP:localhost:${APEX_PORT} -v APEX_EVENTS_IP:localhost:${APEX_PORT -v KAFKA_IP:${KAFKA_IP}}"
diff --git a/csit/resources/scripts/setup-apex-pdp-medium.sh b/csit/resources/scripts/setup-apex-pdp-medium.sh
deleted file mode 100644
index 5d1dbb2c..00000000
--- a/csit/resources/scripts/setup-apex-pdp-medium.sh
+++ /dev/null
@@ -1,53 +0,0 @@
-#!/bin/bash
-#
-# ===========LICENSE_START====================================================
-# Copyright (C) 2023 Nordix Foundation.
-# ============================================================================
-# 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.
-# ============LICENSE_END=====================================================
-#
-
-export PROJECT="apex-pdp"
-export KAFKA_IP="localhost:${KAFKA_PORT}"
-source "${SCRIPTS}"/node-templates.sh
-
-source "${WORKSPACE}"/compose/start-multiple-pdp.sh 3
-
-sleep 10
-unset http_proxy https_proxy
-
-# wait for the app to start up
-bash "${SCRIPTS}"/wait_for_rest.sh localhost ${PAP_PORT}
-bash "${SCRIPTS}"/wait_for_rest.sh localhost ${APEX_PORT}
-
-sleep 20
-
-healthy=false
-
-while [ $healthy = false ]
-do
- msg=`curl -s -k --user 'policyadmin:zb!XztG34' http://localhost:${APEX_PORT}/policy/apex-pdp/v1/healthcheck`
- echo "${msg}" | grep -q true
- if [ "${?}" -eq 0 ]
- then
- healthy=true
- break
- fi
- sleep 10s
-done
-
-export SUITES="apex-slas-3.robot"
-
-ROBOT_VARIABLES="-v POLICY_PAP_IP:localhost:${PAP_PORT} -v POLICY_API_IP:localhost:${API_PORT}
--v PROMETHEUS_IP:localhost:${PROMETHEUS_PORT} -v DATA:${DATA} -v NODETEMPLATES:${NODETEMPLATES}
--v APEX_IP:localhost:${APEX_PORT} -v APEX_EVENTS_IP:localhost:${APEX_PORT} -v KAFKA_IP:${KAFKA_IP}"
diff --git a/csit/resources/scripts/setup-apex-pdp-postgres.sh b/csit/resources/scripts/setup-apex-pdp-postgres.sh
deleted file mode 100755
index 150ec8f6..00000000
--- a/csit/resources/scripts/setup-apex-pdp-postgres.sh
+++ /dev/null
@@ -1,53 +0,0 @@
-#!/bin/bash
-# ============LICENSE_START=======================================================
-# Copyright (C) 2023 Nordix Foundation.
-# ================================================================================
-# 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.
-#
-# SPDX-License-Identifier: Apache-2.0
-# ============LICENSE_END=========================================================
-
-source "${SCRIPTS}"/node-templates.sh
-
-source "${WORKSPACE}"/compose/start-postgres-tests.sh 1
-
-sleep 10
-unset http_proxy https_proxy
-
-# wait for the app to start up
-bash "${SCRIPTS}"/wait_for_rest.sh localhost ${PAP_PORT}
-bash "${SCRIPTS}"/wait_for_rest.sh localhost ${APEX_PORT}
-
-sleep 20
-
-healthy=false
-
-while [ $healthy = false ]
-do
- msg=`curl -s -k --user 'policyadmin:zb!XztG34' http://localhost:${APEX_PORT}/policy/apex-pdp/v1/healthcheck`
- echo "${msg}" | grep -q true
- if [ "${?}" -eq 0 ]
- then
- healthy=true
- break
- fi
- sleep 10s
-done
-
-export KAFKA_IP="localhost:${KAFKA_PORT}"
-export SUITES="apex-pdp-test.robot"
-
-ROBOT_VARIABLES="-v POLICY_PAP_IP:localhost:${PAP_PORT} -v POLICY_API_IP:localhost:${API_PORT}
--v PROMETHEUS_IP:localhost:${PROMETHEUS_PORT} -v DATA:${DATA} -v NODETEMPLATES:${NODETEMPLATES}
--v APEX_IP:localhost:${APEX_PORT} -v KAFKA_IP:${KAFKA_IP}
--v APEX_EVENTS_IP:localhost:${APEX_EVENTS_PORT}"
diff --git a/csit/resources/scripts/setup-apex-pdp.sh b/csit/resources/scripts/setup-apex-pdp.sh
deleted file mode 100755
index 1f04fc85..00000000
--- a/csit/resources/scripts/setup-apex-pdp.sh
+++ /dev/null
@@ -1,34 +0,0 @@
-#!/bin/bash
-# ============LICENSE_START=======================================================
-# Copyright (C) 2018 Ericsson. All rights reserved.
-#
-# Modifications Copyright (c) 2019-2024 Nordix Foundation.
-# Modifications Copyright (C) 2020-2021 AT&T Intellectual Property.
-# Modifications Copyright (C) 2021 Bell Canada. All rights reserved.
-# ================================================================================
-# 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.
-#
-# SPDX-License-Identifier: Apache-2.0
-# ============LICENSE_END=========================================================
-
-source "${SCRIPTS}"/setup-pap.sh
-
-# wait for the app to start up
-bash "${SCRIPTS}"/wait_for_rest.sh localhost ${APEX_PORT}
-
-export KAFKA_IP="localhost:${KAFKA_PORT}"
-export SUITES="apex-pdp-test.robot
-apex-slas.robot"
-
-ROBOT_VARIABLES="${ROBOT_VARIABLES} -v APEX_IP:localhost:${APEX_PORT} -v KAFKA_IP:${KAFKA_IP}
--v APEX_EVENTS_IP:localhost:${APEX_EVENTS_PORT}"
diff --git a/csit/resources/scripts/setup-api.sh b/csit/resources/scripts/setup-api.sh
deleted file mode 100755
index 5a5cad20..00000000
--- a/csit/resources/scripts/setup-api.sh
+++ /dev/null
@@ -1,35 +0,0 @@
-#!/bin/bash
-# ============LICENSE_START=======================================================
-# Copyright (C) 2019-2021 AT&T Intellectual Property. All rights reserved.
-# Modifications Copyright 2021-2023 Nordix Foundation.
-# ================================================================================
-# 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.
-#
-# SPDX-License-Identifier: Apache-2.0
-# ============LICENSE_END=========================================================
-
-source "${SCRIPTS}"/node-templates.sh
-
-source "${WORKSPACE}"/compose/start-compose.sh api --grafana
-
-sleep 10
-unset http_proxy https_proxy
-
-# wait for the app to start up
-bash "${SCRIPTS}"/wait_for_rest.sh localhost ${API_PORT}
-
-export SUITES="api-test.robot
-api-slas.robot"
-
-ROBOT_VARIABLES="-v POLICY_API_IP:localhost:${API_PORT} -v PROMETHEUS_IP:localhost:${PROMETHEUS_PORT}
--v DATA:${DATA} -v NODETEMPLATES:${NODETEMPLATES}"
diff --git a/csit/resources/scripts/setup-clamp.sh b/csit/resources/scripts/setup-clamp.sh
deleted file mode 100755
index ba4467b9..00000000
--- a/csit/resources/scripts/setup-clamp.sh
+++ /dev/null
@@ -1,36 +0,0 @@
-#!/bin/bash
-# ============LICENSE_START=======================================================
-# Copyright (C) 2021-2024 Nordix Foundation.
-# ================================================================================
-# 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.
-#
-# SPDX-License-Identifier: Apache-2.0
-# ============LICENSE_END=========================================================
-
-source "${WORKSPACE}"/compose/start-compose.sh policy-clamp-runtime-acm
-
-sleep 10
-unset http_proxy https_proxy
-
-# wait for the app to start up
-"${SCRIPTS}"/wait_for_rest.sh localhost "${ACM_PORT}"
-
-CLAMP_K8S_TEST=false
-
-export SUITES="policy-clamp-test.robot"
-
-ROBOT_VARIABLES="-v POLICY_RUNTIME_ACM_IP:localhost:${ACM_PORT}
--v POLICY_PARTICIPANT_SIM_IP:localhost:${SIM_PARTICIPANT_PORT}
--v POLICY_API_IP:localhost:${API_PORT} -v POLICY_PAP_IP:localhost:${PAP_PORT} -v CLAMP_K8S_TEST:$CLAMP_K8S_TEST"
-
-
diff --git a/csit/resources/scripts/setup-distribution.sh b/csit/resources/scripts/setup-distribution.sh
deleted file mode 100755
index 3840d9d7..00000000
--- a/csit/resources/scripts/setup-distribution.sh
+++ /dev/null
@@ -1,43 +0,0 @@
-#!/bin/bash
-# ============LICENSE_START=======================================================
-# Copyright (C) 2018 Ericsson. All rights reserved.
-# Modifications Copyright (c) 2019-2023 Nordix Foundation.
-# Modifications Copyright (C) 2020-2021 AT&T Intellectual Property.
-# ================================================================================
-# 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.
-#
-# SPDX-License-Identifier: Apache-2.0
-# ============LICENSE_END=========================================================
-
-# Remaking the csar file in case if the file got corrupted
-DIST_TEMP_FOLDER=/tmp/distribution
-
-zip -F "${TEST_PLAN_DIR}"/data/csar/sample_csar_with_apex_policy.csar \
- --out "${TEST_PLAN_DIR}"/data/csar/csar_temp.csar
-
-# Remake temp directory
-rm -rf "${DIST_TEMP_FOLDER}"
-mkdir "${DIST_TEMP_FOLDER}"
-
-source "${WORKSPACE}"/compose/start-compose.sh distribution
-
-sleep 10
-unset http_proxy https_proxy
-
-# wait for the app to start up
-"${SCRIPTS}"/wait_for_rest.sh localhost "${DIST_PORT}"
-
-export SUITES="distribution-test.robot"
-
-ROBOT_VARIABLES="-v APEX_EVENTS_IP:localhost:${APEX_EVENTS_PORT}
--v DISTRIBUTION_IP:localhost:${DIST_PORT} -v TEMP_FOLDER:${DIST_TEMP_FOLDER}"
diff --git a/csit/resources/scripts/setup-drools-applications.sh b/csit/resources/scripts/setup-drools-applications.sh
deleted file mode 100755
index bfb3f67d..00000000
--- a/csit/resources/scripts/setup-drools-applications.sh
+++ /dev/null
@@ -1,41 +0,0 @@
-#!/bin/bash
-#
-# ===========LICENSE_START====================================================
-# Copyright (C) 2019-2021 AT&T Intellectual Property. All rights reserved.
-# Modifications Copyright 2021-2024 Nordix Foundation.
-# ============================================================================
-# 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.
-# ============LICENSE_END=====================================================
-#
-
-source "${SCRIPTS}"/node-templates.sh
-
-source "${WORKSPACE}"/compose/start-compose.sh drools-applications
-
-sleep 10
-unset http_proxy https_proxy
-
-export SUITES="drools-applications-test.robot"
-export KAFKA_IP="localhost:${KAFKA_PORT}"
-
-# wait for the app to start up
-"${SCRIPTS}"/wait_for_rest.sh localhost ${PAP_PORT}
-"${SCRIPTS}"/wait_for_rest.sh localhost ${DROOLS_APPS_PORT}
-"${SCRIPTS}"/wait_for_rest.sh localhost ${DROOLS_APPS_TELEMETRY_PORT}
-
-# give enough time for the controllers to come up
-sleep 15
-
-ROBOT_VARIABLES="-v DATA:${DATA} -v DROOLS_IP:localhost:${DROOLS_APPS_PORT}
--v DROOLS_IP_2:localhost:${DROOLS_APPS_TELEMETRY_PORT} -v POLICY_API_IP:localhost:${API_PORT}
--v POLICY_PAP_IP:localhost:${PAP_PORT} -v KAFKA_IP:${KAFKA_IP}"
diff --git a/csit/resources/scripts/setup-drools-pdp.sh b/csit/resources/scripts/setup-drools-pdp.sh
deleted file mode 100755
index fadc0956..00000000
--- a/csit/resources/scripts/setup-drools-pdp.sh
+++ /dev/null
@@ -1,34 +0,0 @@
-#!/bin/bash
-# ============LICENSE_START=======================================================
-# Copyright 2017-2021 AT&T Intellectual Property. All rights reserved.
-# Modifications Copyright 2021-2023 Nordix Foundation.
-# ================================================================================
-# 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.
-#
-# SPDX-License-Identifier: Apache-2.0
-# ============LICENSE_END=========================================================
-
-source "${WORKSPACE}"/compose/start-compose.sh drools-pdp
-
-sleep 10
-unset http_proxy https_proxy
-
-export SUITES="drools-pdp-test.robot"
-
-# wait for the app to start up - looking for telemetry service on port ${DROOLS_PORT} forwarded from 9696
-"${SCRIPTS}"/wait_for_rest.sh localhost ${DROOLS_TELEMETRY_PORT}
-
-# give enough time for the controllers to come up
-sleep 15
-
-ROBOT_VARIABLES="${ROBOT_VARIABLES} -v POLICY_DROOLS_IP:localhost:${DROOLS_TELEMETRY_PORT}"
diff --git a/csit/resources/scripts/setup-pap.sh b/csit/resources/scripts/setup-pap.sh
deleted file mode 100755
index 741f0644..00000000
--- a/csit/resources/scripts/setup-pap.sh
+++ /dev/null
@@ -1,36 +0,0 @@
-#!/bin/bash
-# ============LICENSE_START=======================================================
-# Copyright (C) 2019-2022 Nordix Foundation.
-# Modifications Copyright (C) 2019-2021 AT&T Intellectual Property.
-# Modifications Copyright (C) 2022-2023 Nordix Foundation.
-# ================================================================================
-# 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.
-#
-# SPDX-License-Identifier: Apache-2.0
-# ============LICENSE_END=========================================================
-
-source "${SCRIPTS}"/node-templates.sh
-
-source "${WORKSPACE}"/compose/start-compose.sh apex-pdp --grafana
-
-sleep 10
-unset http_proxy https_proxy
-
-# wait for the app to start up
-bash "${SCRIPTS}"/wait_for_rest.sh localhost ${PAP_PORT}
-
-export SUITES="pap-test.robot
-pap-slas.robot"
-
-ROBOT_VARIABLES="-v POLICY_PAP_IP:localhost:${PAP_PORT} -v POLICY_API_IP:localhost:${API_PORT}
--v PROMETHEUS_IP:localhost:${PROMETHEUS_PORT} -v DATA:${DATA} -v NODETEMPLATES:${NODETEMPLATES}"
diff --git a/csit/resources/scripts/setup-xacml-pdp.sh b/csit/resources/scripts/setup-xacml-pdp.sh
deleted file mode 100755
index 79a53bec..00000000
--- a/csit/resources/scripts/setup-xacml-pdp.sh
+++ /dev/null
@@ -1,36 +0,0 @@
-#!/bin/bash
-# ============LICENSE_START=======================================================
-# Copyright (C) 2020-2021 AT&T Intellectual Property. All rights reserved.
-# Modifications Copyright 2021-2024 Nordix Foundation.
-# ================================================================================
-# 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.
-#
-# SPDX-License-Identifier: Apache-2.0
-# ============LICENSE_END=========================================================
-
-source "${SCRIPTS}"/node-templates.sh
-
-source "${WORKSPACE}"/compose/start-compose.sh xacml-pdp
-
-sleep 10
-unset http_proxy https_proxy
-
-export SUITES="xacml-pdp-test.robot"
-export KAFKA_IP="localhost:${KAFKA_PORT}"
-
-# wait for the app to start up
-"${SCRIPTS}"/wait_for_rest.sh localhost "${XACML_PORT}"
-
-ROBOT_VARIABLES="-v DATA:${DATA} -v POLICY_PDPX_IP:localhost:${XACML_PORT}
--v POLICY_API_IP:localhost:${API_PORT} -v POLICY_PAP_IP:localhost:${PAP_PORT}
--v KAFKA_IP:${KAFKA_IP}"