From: waynedunican Date: Wed, 6 Nov 2024 10:13:23 +0000 (+0000) Subject: Fix S3P weekly tests X-Git-Tag: 4.0.1~3 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=2a1a87646d4d797a67f4fe2881cd4e67dfb781c1;p=policy%2Fxacml-pdp.git Fix S3P weekly tests - Fix stability and performance tests - Add stability test action Issue-ID: POLICY-5153 Change-Id: Ia789335d21b96dada010f75eedbfcfcd14e71dfa Signed-off-by: waynedunican --- diff --git a/.github/workflows/gerrit-xacml-performance-test.yaml b/.github/workflows/gerrit-xacml-performance-test.yaml index e6b2337b..e2c0be76 100644 --- a/.github/workflows/gerrit-xacml-performance-test.yaml +++ b/.github/workflows/gerrit-xacml-performance-test.yaml @@ -1,3 +1,21 @@ +# ============LICENSE_START======================================================= +# Copyright (C) 2024 Nordix Foundation. 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========================================================= + name: policy-xacml-performance-test on: @@ -64,5 +82,11 @@ jobs: uses: actions/upload-artifact@v4 with: name: policy-xacml-s3p-results - path: ${{ github.workspace }}/testsuites/automate-performance/s3pTestResults.jtl + path: ${{ github.workspace }}/testsuites/automate-s3p-test/s3pTestResults.jtl + + - name: Archive JMeter logs + uses: actions/upload-artifact@v4 + with: + name: policy-xacml-s3p-results + path: ${{ github.workspace }}/testsuites/automate-s3p-test/jmeter.log diff --git a/.github/workflows/gerrit-xacml-stability-test.yaml b/.github/workflows/gerrit-xacml-stability-test.yaml new file mode 100644 index 00000000..7cb81c5b --- /dev/null +++ b/.github/workflows/gerrit-xacml-stability-test.yaml @@ -0,0 +1,92 @@ +# ============LICENSE_START======================================================= +# Copyright (C) 2024 Nordix Foundation. 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========================================================= + +name: policy-xacml-stability-test + +on: + workflow_dispatch: + # For Branch-Protection check. Only the default branch is supported. See + # https://github.com/ossf/scorecard/blob/main/docs/checks.md#branch-protection + inputs: + GERRIT_BRANCH: + description: 'Branch that change is against' + required: true + type: string + GERRIT_CHANGE_ID: + description: 'The ID for the change' + required: true + type: string + GERRIT_CHANGE_NUMBER: + description: 'The Gerrit number' + required: true + type: string + GERRIT_CHANGE_URL: + description: 'URL to the change' + required: true + type: string + GERRIT_EVENT_TYPE: + description: 'Gerrit event type' + required: true + type: string + GERRIT_PATCHSET_NUMBER: + description: 'The patch number for the change' + required: true + type: string + GERRIT_PATCHSET_REVISION: + description: 'The revision sha' + required: true + type: string + GERRIT_PROJECT: + description: 'Project in Gerrit' + required: true + type: string + GERRIT_REFSPEC: + description: 'Gerrit refspec of change' + required: true + type: string + branch_protection_rule: + # To guarantee Maintained check is occasionally updated. See + # https://github.com/ossf/scorecard/blob/main/docs/checks.md#maintained + + # Run every Monday at 16:30 UTC + schedule: + - cron: '30 16 * * 1' + +jobs: + run-s3p-tests: + runs-on: ubuntu-22.04 + + steps: + - uses: actions/checkout@v4 + + - name: Run S3P script + working-directory: ${{ github.workspace }}/testsuites + run: sudo bash ./run-s3p-test.sh run stability + + - name: Archive result jtl + uses: actions/upload-artifact@v4 + with: + name: policy-xacml-s3p-results + path: ${{ github.workspace }}/testsuites/automate-s3p-test/s3pTestResults.jtl + + - name: Archive JMeter logs + uses: actions/upload-artifact@v4 + with: + name: policy-xacml-s3p-results + path: ${{ github.workspace }}/testsuites/automate-s3p-test/jmeter.log + diff --git a/testsuites/performance/src/main/resources/testplans/perf.jmx b/testsuites/performance/src/main/resources/testplans/perf.jmx index 54f45fea..f0e88804 100755 --- a/testsuites/performance/src/main/resources/testplans/perf.jmx +++ b/testsuites/performance/src/main/resources/testplans/perf.jmx @@ -1,5 +1,5 @@ - + Policy XACML PDP Performance Tests @@ -87,7 +87,7 @@ - + Content-Type @@ -101,22 +101,25 @@ + 1 + 1 + true continue - + 1 false - 1 - 1 - false - - - 1587406332000 - 1587406332000 - true - + + 6 + ${API_HOST} + ${API_PORT} + ${HTTP} + policy/api/v1/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies + true + POST + true true @@ -177,21 +180,6 @@ - ${API_HOST} - ${API_PORT} - ${HTTP} - policy/api/v1/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies - POST - true - false - true - false - false - false - false - 6 - false - 0 @@ -208,9 +196,9 @@ false - + - 200 + 201 Assertion.response_code @@ -220,6 +208,14 @@ + 6 + ${API_HOST} + ${API_PORT} + ${HTTP} + policy/api/v1/policytypes/onap.policies.optimization.resource.AffinityPolicy/versions/1.0.0/policies + true + POST + true true @@ -775,21 +771,6 @@ - ${API_HOST} - ${API_PORT} - ${HTTP} - policy/api/v1/policytypes/onap.policies.optimization.resource.AffinityPolicy/versions/1.0.0/policies - POST - true - false - true - false - false - false - false - 6 - false - 0 @@ -806,9 +787,9 @@ false - + - 200 + 201 Assertion.response_code @@ -818,6 +799,14 @@ + 6 + ${API_HOST} + ${API_PORT} + ${HTTP} + policy/api/v1/policytypes/onap.policies.controlloop.guard.common.MinMax/versions/1.0.0/policies + true + POST + true true @@ -852,21 +841,6 @@ - ${API_HOST} - ${API_PORT} - ${HTTP} - policy/api/v1/policytypes/onap.policies.controlloop.guard.common.MinMax/versions/1.0.0/policies - POST - true - false - true - false - false - false - false - 6 - false - 0 @@ -883,9 +857,9 @@ false - + - 200 + 201 Assertion.response_code @@ -895,6 +869,14 @@ + 6 + ${API_HOST} + ${API_PORT} + ${HTTP} + policy/api/v1/policytypes/onap.policies.controlloop.guard.common.FrequencyLimiter/versions/1.0.0/policies + true + POST + true true @@ -929,21 +911,6 @@ - ${API_HOST} - ${API_PORT} - ${HTTP} - policy/api/v1/policytypes/onap.policies.controlloop.guard.common.FrequencyLimiter/versions/1.0.0/policies - POST - true - false - true - false - false - false - false - 6 - false - 0 @@ -960,9 +927,9 @@ false - + - 200 + 201 Assertion.response_code @@ -972,6 +939,14 @@ + 6 + ${PAP_HOST} + ${PAP_PORT} + ${HTTP} + policy/pap/v1/pdps/policies + true + POST + true true @@ -982,21 +957,6 @@ - ${PAP_HOST} - ${PAP_PORT} - ${HTTP} - policy/pap/v1/pdps/policies - POST - true - false - true - false - false - false - false - 6 - false - 0 @@ -1013,7 +973,7 @@ false - + 202 @@ -1025,6 +985,14 @@ + 6 + ${PAP_HOST} + ${PAP_PORT} + ${HTTP} + policy/pap/v1/pdps/policies + true + POST + true true @@ -1035,21 +1003,6 @@ - ${PAP_HOST} - ${PAP_PORT} - ${HTTP} - policy/pap/v1/pdps/policies - POST - true - false - true - false - false - false - false - 6 - false - 0 @@ -1078,6 +1031,14 @@ + 6 + ${PAP_HOST} + ${PAP_PORT} + ${HTTP} + policy/pap/v1/pdps/policies + true + POST + true true @@ -1088,21 +1049,6 @@ - ${PAP_HOST} - ${PAP_PORT} - ${HTTP} - policy/pap/v1/pdps/policies - POST - true - false - true - false - false - false - false - 6 - false - 0 @@ -1131,6 +1077,14 @@ + 6 + ${PAP_HOST} + ${PAP_PORT} + ${HTTP} + policy/pap/v1/pdps/policies + true + POST + true true @@ -1141,21 +1095,6 @@ - ${PAP_HOST} - ${PAP_PORT} - ${HTTP} - policy/pap/v1/pdps/policies - POST - true - false - true - false - false - false - false - 6 - false - 0 @@ -1222,43 +1161,33 @@ + ${USERS} + 10 + ${DURATION} + 1 + true + true continue - + -1 false - ${USERS} - 10 - true - ${DURATION} - 1 - 1587406332000 - 1587406332000 - true - false - false - - - + Basic Health Check + 6 ${XACML_HOST} ${XACML_PORT} ${HTTP} policy/pdpx/v1/healthcheck - GET true - false + GET true - false - false - false - false - 6 - false - 0 - Basic Health Check + false + + + @@ -1345,23 +1274,29 @@ if (prev.getResponseCode() == '200') { + ${USERS} + 10 + ${DURATION} + 1 + true + true continue - + -1 false - ${USERS} - 10 - true - ${DURATION} - 1 - 1587406332000 - 1587406332000 - true - false + Get Configuration Data for Monitoring Policy + 6 + ${XACML_HOST} + ${XACML_PORT} + ${HTTP} + policy/pdpx/v1/decision + true + POST + true true @@ -1381,22 +1316,6 @@ if (prev.getResponseCode() == '200') { - ${XACML_HOST} - ${XACML_PORT} - ${HTTP} - policy/pdpx/v1/decision - POST - true - false - true - false - false - false - false - 6 - false - 0 - Get Configuration Data for Monitoring Policy @@ -1432,6 +1351,15 @@ if (prev.getResponseCode() == '200') { + Get Configuration Data for Monitoring Policy + 6 + ${XACML_HOST} + ${XACML_PORT} + ${HTTP} + policy/pdpx/v1/decision?abbrev=true + true + POST + true true @@ -1451,22 +1379,6 @@ if (prev.getResponseCode() == '200') { - ${XACML_HOST} - ${XACML_PORT} - ${HTTP} - policy/pdpx/v1/decision?abbrev=true - POST - true - false - true - false - false - false - false - 6 - false - 0 - Get Configuration Data for Monitoring Policy @@ -1502,6 +1414,15 @@ if (prev.getResponseCode() == '200') { + Get Configuration Data for Naming Policy + 6 + ${XACML_HOST} + ${XACML_PORT} + ${HTTP} + policy/pdpx/v1/decision + true + POST + true true @@ -1524,22 +1445,6 @@ if (prev.getResponseCode() == '200') { - ${XACML_HOST} - ${XACML_PORT} - ${HTTP} - policy/pdpx/v1/decision - POST - true - false - true - false - false - false - false - 6 - false - 0 - Get Configuration Data for Naming Policy @@ -1575,6 +1480,15 @@ if (prev.getResponseCode() == '200') { + Get Configuration Data for Optimization Policy + 6 + ${XACML_HOST} + ${XACML_PORT} + ${HTTP} + policy/pdpx/v1/decision + true + POST + true true @@ -1599,22 +1513,6 @@ if (prev.getResponseCode() == '200') { - ${XACML_HOST} - ${XACML_PORT} - ${HTTP} - policy/pdpx/v1/decision - POST - true - false - true - false - false - false - false - 6 - false - 0 - Get Configuration Data for Optimization Policy @@ -1650,6 +1548,15 @@ if (prev.getResponseCode() == '200') { + Get Default Guard Decisions + 6 + ${XACML_HOST} + ${XACML_PORT} + ${HTTP} + policy/pdpx/v1/decision + true + POST + true true @@ -1675,22 +1582,6 @@ if (prev.getResponseCode() == '200') { - ${XACML_HOST} - ${XACML_PORT} - ${HTTP} - policy/pdpx/v1/decision - POST - true - false - true - false - false - false - false - 6 - false - 0 - Get Default Guard Decisions @@ -1715,6 +1606,15 @@ if (prev.getResponseCode() == '200') { + Get Frequency Limiter Guard Decisions + 6 + ${XACML_HOST} + ${XACML_PORT} + ${HTTP} + policy/pdpx/v1/decision + true + POST + true true @@ -1743,22 +1643,6 @@ if (prev.getResponseCode() == '200') { - ${XACML_HOST} - ${XACML_PORT} - ${HTTP} - policy/pdpx/v1/decision - POST - true - false - true - false - false - false - false - 6 - false - 0 - Get Frequency Limiter Guard Decisions @@ -1783,6 +1667,15 @@ if (prev.getResponseCode() == '200') { + Get Min/Max Guard Decisions + 6 + ${XACML_HOST} + ${XACML_PORT} + ${HTTP} + policy/pdpx/v1/decision + true + POST + true true @@ -1808,22 +1701,6 @@ if (prev.getResponseCode() == '200') { - ${XACML_HOST} - ${XACML_PORT} - ${HTTP} - policy/pdpx/v1/decision - POST - true - false - true - false - false - false - false - 6 - false - 0 - Get Min/Max Guard Decisions @@ -1899,42 +1776,30 @@ if (prev.getResponseCode() == '200') { - + + 1 + 1 + true continue - + 1 false - 1 - 1 - false - - - 1587406332000 - 1587406332000 - true - false - - - + 6 ${PAP_HOST} ${PAP_PORT} ${HTTP} policy/pap/v1/pdps/policies/onap.restart.tca - DELETE true - false + DELETE true - false - false - false - false - 6 - false - 0 + false + + + @@ -1953,25 +1818,18 @@ if (prev.getResponseCode() == '200') { - false - - - + 6 ${PAP_HOST} ${PAP_PORT} ${HTTP} policy/pap/v1/pdps/policies/OSDF_CASABLANCA.Affinity_Default - DELETE true - false + DELETE true - false - false - false - false - 6 - false - 0 + false + + + @@ -1990,25 +1848,18 @@ if (prev.getResponseCode() == '200') { - false - - - + 6 ${PAP_HOST} ${PAP_PORT} ${HTTP} policy/pap/v1/pdps/policies/guard.minmax.scaleout - DELETE true - false + DELETE true - false - false - false - false - 6 - false - 0 + false + + + @@ -2027,25 +1878,18 @@ if (prev.getResponseCode() == '200') { - false - - - + 6 ${PAP_HOST} ${PAP_PORT} ${HTTP} policy/pap/v1/pdps/policies/guard.frequency.scaleout - DELETE true - false + DELETE true - false - false - false - false - 6 - false - 0 + false + + + @@ -2064,25 +1908,18 @@ if (prev.getResponseCode() == '200') { - false - - - + 6 ${API_HOST} ${API_PORT} ${HTTP} policy/api/v1/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/1.0.0 - DELETE true - false + DELETE true - false - false - false - false - 6 - false - 0 + false + + + @@ -2101,25 +1938,18 @@ if (prev.getResponseCode() == '200') { - false - - - + 6 ${API_HOST} ${API_PORT} ${HTTP} policy/api/v1/policytypes/onap.policies.optimization.resource.AffinityPolicy/versions/1.0.0/policies/OSDF_CASABLANCA.Affinity_Default/versions/1.0.0 - DELETE true - false + DELETE true - false - false - false - false - 6 - false - 0 + false + + + @@ -2138,25 +1968,18 @@ if (prev.getResponseCode() == '200') { - false - - - + 6 ${API_HOST} ${API_PORT} ${HTTP} policy/api/v1/policytypes/onap.policies.controlloop.guard.MinMax/versions/1.0.0/policies/guard.minmax.scaleout/versions/1.0.0 - DELETE true - false + DELETE true - false - false - false - false - 6 - false - 0 + false + + + @@ -2175,25 +1998,18 @@ if (prev.getResponseCode() == '200') { - false - - - + 6 ${API_HOST} ${API_PORT} ${HTTP} policy/api/v1/policytypes/onap.policies.controlloop.guard.FrequencyLimiter/versions/1.0.0/policies/guard.frequency.scaleout/versions/1.0.0 - DELETE true - false + DELETE true - false - false - false - false - 6 - false - 0 + false + + + diff --git a/testsuites/run-s3p-test.sh b/testsuites/run-s3p-test.sh index 32ff5586..0598f2fc 100755 --- a/testsuites/run-s3p-test.sh +++ b/testsuites/run-s3p-test.sh @@ -1,6 +1,6 @@ #!/bin/bash # ============LICENSE_START======================================================= -# Copyright (C) 2023 Nordix Foundation. All rights reserved. +# Copyright (C) 2023-2024 Nordix Foundation. 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. @@ -29,7 +29,7 @@ export XACML_STAB_TEST_FILE=$TESTDIR/stability/src/main/resources/testplans/stab if [ $1 == "run" ] then - mkdir automate-performance;cd automate-performance; + mkdir automate-s3p-test;cd automate-s3p-test; git clone "https://gerrit.onap.org/r/policy/docker" cd docker/csit diff --git a/testsuites/stability/src/main/resources/testplans/stability.jmx b/testsuites/stability/src/main/resources/testplans/stability.jmx index 2cf36cfc..d21acb40 100755 --- a/testsuites/stability/src/main/resources/testplans/stability.jmx +++ b/testsuites/stability/src/main/resources/testplans/stability.jmx @@ -1,16 +1,14 @@ - + - + Policy XACML PDP Stability Tests - false true - false - + DURATION - ${__P(duration, 86400)} + ${__P(duration, 1800)} = @@ -87,7 +85,7 @@ - + Content-Type @@ -100,23 +98,26 @@ - + + 1 + 1 + true continue - + 1 false - 1 - 1 - false - - - 1587409928000 - 1587409928000 - true + 6 + ${API_HOST} + ${API_PORT} + ${HTTP} + policy/api/v1/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies + true + POST + true true @@ -177,21 +178,6 @@ - ${API_HOST} - ${API_PORT} - ${HTTP} - policy/api/v1/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies - POST - true - false - true - false - false - false - false - 6 - false - 0 @@ -210,7 +196,7 @@ - 200 + 201 Assertion.response_code @@ -220,6 +206,14 @@ + 6 + ${API_HOST} + ${API_PORT} + ${HTTP} + policy/api/v1/policytypes/onap.policies.optimization.resource.AffinityPolicy/versions/1.0.0/policies + true + POST + true true @@ -775,21 +769,6 @@ - ${API_HOST} - ${API_PORT} - ${HTTP} - policy/api/v1/policytypes/onap.policies.optimization.resource.AffinityPolicy/versions/1.0.0/policies - POST - true - false - true - false - false - false - false - 6 - false - 0 @@ -808,7 +787,7 @@ - 200 + 201 Assertion.response_code @@ -818,6 +797,14 @@ + 6 + ${API_HOST} + ${API_PORT} + ${HTTP} + policy/api/v1/policytypes/onap.policies.controlloop.guard.common.MinMax/versions/1.0.0/policies + true + POST + true true @@ -852,21 +839,6 @@ - ${API_HOST} - ${API_PORT} - ${HTTP} - policy/api/v1/policytypes/onap.policies.controlloop.guard.common.MinMax/versions/1.0.0/policies - POST - true - false - true - false - false - false - false - 6 - false - 0 @@ -885,7 +857,7 @@ - 200 + 201 Assertion.response_code @@ -895,6 +867,14 @@ + 6 + ${API_HOST} + ${API_PORT} + ${HTTP} + policy/api/v1/policytypes/onap.policies.controlloop.guard.common.FrequencyLimiter/versions/1.0.0/policies + true + POST + true true @@ -929,21 +909,6 @@ - ${API_HOST} - ${API_PORT} - ${HTTP} - policy/api/v1/policytypes/onap.policies.controlloop.guard.common.FrequencyLimiter/versions/1.0.0/policies - POST - true - false - true - false - false - false - false - 6 - false - 0 @@ -962,7 +927,7 @@ - 200 + 201 Assertion.response_code @@ -972,6 +937,14 @@ + 6 + ${PAP_HOST} + ${PAP_PORT} + ${HTTP} + policy/pap/v1/pdps/policies + true + POST + true true @@ -982,21 +955,6 @@ - ${PAP_HOST} - ${PAP_PORT} - ${HTTP} - policy/pap/v1/pdps/policies - POST - true - false - true - false - false - false - false - 6 - false - 0 @@ -1025,6 +983,14 @@ + 6 + ${PAP_HOST} + ${PAP_PORT} + ${HTTP} + policy/pap/v1/pdps/policies + true + POST + true true @@ -1035,21 +1001,6 @@ - ${PAP_HOST} - ${PAP_PORT} - ${HTTP} - policy/pap/v1/pdps/policies - POST - true - false - true - false - false - false - false - 6 - false - 0 @@ -1078,6 +1029,14 @@ + 6 + ${PAP_HOST} + ${PAP_PORT} + ${HTTP} + policy/pap/v1/pdps/policies + true + POST + true true @@ -1088,21 +1047,6 @@ - ${PAP_HOST} - ${PAP_PORT} - ${HTTP} - policy/pap/v1/pdps/policies - POST - true - false - true - false - false - false - false - 6 - false - 0 @@ -1131,6 +1075,14 @@ + 6 + ${PAP_HOST} + ${PAP_PORT} + ${HTTP} + policy/pap/v1/pdps/policies + true + POST + true true @@ -1141,21 +1093,6 @@ - ${PAP_HOST} - ${PAP_PORT} - ${HTTP} - policy/pap/v1/pdps/policies - POST - true - false - true - false - false - false - false - 6 - false - 0 @@ -1221,44 +1158,34 @@ - + + ${USERS} + 10 + ${DURATION} + 1 + true + true continue - + -1 false - ${USERS} - 10 - true - ${DURATION} - 1 - 1587409928000 - 1587409928000 - true - false - false - - - + Basic Health Check + 6 ${XACML_HOST} ${XACML_PORT} ${HTTP} policy/pdpx/v1/healthcheck - GET true - false + GET true - false - false - false - false - 6 - false - 0 - Basic Health Check + false + + + @@ -1291,7 +1218,7 @@ if (prev.getResponseCode() == '200') { - + ${HTTP}://${XACML_HOST}:${XACML_PORT}/policy/pdpx/v1 @@ -1344,24 +1271,30 @@ if (prev.getResponseCode() == '200') { - + + ${USERS} + 10 + ${DURATION} + 1 + true + true continue - + -1 false - ${USERS} - 10 - true - ${DURATION} - 1 - 1587409929000 - 1587409929000 - true - false - + + Get Configuration Data for Monitoring Policy + 6 + ${XACML_HOST} + ${XACML_PORT} + ${HTTP} + policy/pdpx/v1/decision + true + POST + true true @@ -1381,22 +1314,6 @@ if (prev.getResponseCode() == '200') { - ${XACML_HOST} - ${XACML_PORT} - ${HTTP} - policy/pdpx/v1/decision - POST - true - false - true - false - false - false - false - 6 - false - 0 - Get Configuration Data for Monitoring Policy @@ -1432,6 +1349,15 @@ if (prev.getResponseCode() == '200') { + Get Configuration Data for Monitoring Policy + 6 + ${XACML_HOST} + ${XACML_PORT} + ${HTTP} + policy/pdpx/v1/decision?abbrev=true + true + POST + true true @@ -1451,22 +1377,6 @@ if (prev.getResponseCode() == '200') { - ${XACML_HOST} - ${XACML_PORT} - ${HTTP} - policy/pdpx/v1/decision?abbrev=true - POST - true - false - true - false - false - false - false - 6 - false - 0 - Get Configuration Data for Monitoring Policy @@ -1502,6 +1412,15 @@ if (prev.getResponseCode() == '200') { + Get Configuration Data for Naming Policy + 6 + ${XACML_HOST} + ${XACML_PORT} + ${HTTP} + policy/pdpx/v1/decision + true + POST + true true @@ -1524,22 +1443,6 @@ if (prev.getResponseCode() == '200') { - ${XACML_HOST} - ${XACML_PORT} - ${HTTP} - policy/pdpx/v1/decision - POST - true - false - true - false - false - false - false - 6 - false - 0 - Get Configuration Data for Naming Policy @@ -1575,6 +1478,15 @@ if (prev.getResponseCode() == '200') { + Get Configuration Data for Optimization Policy + 6 + ${XACML_HOST} + ${XACML_PORT} + ${HTTP} + policy/pdpx/v1/decision + true + POST + true true @@ -1599,22 +1511,6 @@ if (prev.getResponseCode() == '200') { - ${XACML_HOST} - ${XACML_PORT} - ${HTTP} - policy/pdpx/v1/decision - POST - true - false - true - false - false - false - false - 6 - false - 0 - Get Configuration Data for Optimization Policy @@ -1650,6 +1546,15 @@ if (prev.getResponseCode() == '200') { + Get Default Guard Decisions + 6 + ${XACML_HOST} + ${XACML_PORT} + ${HTTP} + policy/pdpx/v1/decision + true + POST + true true @@ -1675,22 +1580,6 @@ if (prev.getResponseCode() == '200') { - ${XACML_HOST} - ${XACML_PORT} - ${HTTP} - policy/pdpx/v1/decision - POST - true - false - true - false - false - false - false - 6 - false - 0 - Get Default Guard Decisions @@ -1715,6 +1604,15 @@ if (prev.getResponseCode() == '200') { + Get Frequency Limiter Guard Decisions + 6 + ${XACML_HOST} + ${XACML_PORT} + ${HTTP} + policy/pdpx/v1/decision + true + POST + true true @@ -1743,22 +1641,6 @@ if (prev.getResponseCode() == '200') { - ${XACML_HOST} - ${XACML_PORT} - ${HTTP} - policy/pdpx/v1/decision - POST - true - false - true - false - false - false - false - 6 - false - 0 - Get Frequency Limiter Guard Decisions @@ -1783,6 +1665,15 @@ if (prev.getResponseCode() == '200') { + Get Min/Max Guard Decisions + 6 + ${XACML_HOST} + ${XACML_PORT} + ${HTTP} + policy/pdpx/v1/decision + true + POST + true true @@ -1808,22 +1699,6 @@ if (prev.getResponseCode() == '200') { - ${XACML_HOST} - ${XACML_PORT} - ${HTTP} - policy/pdpx/v1/decision - POST - true - false - true - false - false - false - false - 6 - false - 0 - Get Min/Max Guard Decisions @@ -1899,42 +1774,30 @@ if (prev.getResponseCode() == '200') { - + + 1 + 1 + true continue - + 1 false - 1 - 1 - false - - - 1587409929000 - 1587409929000 - true - false - - - + 6 ${PAP_HOST} ${PAP_PORT} ${HTTP} policy/pap/v1/pdps/policies/onap.restart.tca - DELETE true - false + DELETE true - false - false - false - false - 6 - false - 0 + false + + + @@ -1953,25 +1816,18 @@ if (prev.getResponseCode() == '200') { - false - - - + 6 ${PAP_HOST} ${PAP_PORT} ${HTTP} policy/pap/v1/pdps/policies/OSDF_CASABLANCA.Affinity_Default - DELETE true - false + DELETE true - false - false - false - false - 6 - false - 0 + false + + + @@ -1990,25 +1846,18 @@ if (prev.getResponseCode() == '200') { - false - - - + 6 ${PAP_HOST} ${PAP_PORT} ${HTTP} policy/pap/v1/pdps/policies/guard.minmax.scaleout - DELETE true - false + DELETE true - false - false - false - false - 6 - false - 0 + false + + + @@ -2027,25 +1876,18 @@ if (prev.getResponseCode() == '200') { - false - - - + 6 ${PAP_HOST} ${PAP_PORT} ${HTTP} policy/pap/v1/pdps/policies/guard.frequency.scaleout - DELETE true - false + DELETE true - false - false - false - false - 6 - false - 0 + false + + + @@ -2064,25 +1906,18 @@ if (prev.getResponseCode() == '200') { - false - - - + 6 ${API_HOST} ${API_PORT} ${HTTP} policy/api/v1/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/1.0.0 - DELETE true - false + DELETE true - false - false - false - false - 6 - false - 0 + false + + + @@ -2101,25 +1936,18 @@ if (prev.getResponseCode() == '200') { - false - - - + 6 ${API_HOST} ${API_PORT} ${HTTP} policy/api/v1/policytypes/onap.policies.optimization.resource.AffinityPolicy/versions/1.0.0/policies/OSDF_CASABLANCA.Affinity_Default/versions/1.0.0 - DELETE true - false + DELETE true - false - false - false - false - 6 - false - 0 + false + + + @@ -2138,25 +1966,18 @@ if (prev.getResponseCode() == '200') { - false - - - + 6 ${API_HOST} ${API_PORT} ${HTTP} policy/api/v1/policytypes/onap.policies.controlloop.guard.MinMax/versions/1.0.0/policies/guard.minmax.scaleout/versions/1.0.0 - DELETE true - false + DELETE true - false - false - false - false - 6 - false - 0 + false + + + @@ -2175,25 +1996,18 @@ if (prev.getResponseCode() == '200') { - false - - - + 6 ${API_HOST} ${API_PORT} ${HTTP} policy/api/v1/policytypes/onap.policies.controlloop.guard.FrequencyLimiter/versions/1.0.0/policies/guard.frequency.scaleout/versions/1.0.0 - DELETE true - false + DELETE true - false - false - false - false - 6 - false - 0 + false + + +