diff options
author | jhh <jorge.hernandez-herrero@att.com> | 2019-04-01 07:29:36 -0500 |
---|---|---|
committer | jhh <jorge.hernandez-herrero@att.com> | 2019-04-01 07:33:37 -0500 |
commit | 6b3e0fcc0b0c362ce6067f0d6604ec60f984f850 (patch) | |
tree | 548cd5c52238b92bb1cb349b764d0f04b9606ba8 /controlloop/common/feature-controlloop-management/src/main/feature/bin | |
parent | a9f330fcacb2449ed53115a976e5cfa8bdec2610 (diff) |
Rename "casablanca" controller to "usecases"
Change-Id: I41487becd1705fbe725023798a3ea10f4638a6af
Issue-ID: POLICY-1474
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Diffstat (limited to 'controlloop/common/feature-controlloop-management/src/main/feature/bin')
-rw-r--r-- | controlloop/common/feature-controlloop-management/src/main/feature/bin/create-cl-usecases (renamed from controlloop/common/feature-controlloop-management/src/main/feature/bin/create-cl-casablanca) | 16 | ||||
-rw-r--r-- | controlloop/common/feature-controlloop-management/src/main/feature/bin/push-policies-usecases (renamed from controlloop/common/feature-controlloop-management/src/main/feature/bin/push-policies-casablanca) | 2 |
2 files changed, 9 insertions, 9 deletions
diff --git a/controlloop/common/feature-controlloop-management/src/main/feature/bin/create-cl-casablanca b/controlloop/common/feature-controlloop-management/src/main/feature/bin/create-cl-usecases index b1924d54f..5662e7c92 100644 --- a/controlloop/common/feature-controlloop-management/src/main/feature/bin/create-cl-casablanca +++ b/controlloop/common/feature-controlloop-management/src/main/feature/bin/create-cl-usecases @@ -25,14 +25,14 @@ source "${POLICY_HOME}"/etc/build.info -echo "Control Loop CLI Generator for R2 Casablanca Release" -echo "---------------------------------------------------" +echo "Control Loop CLI Generator for R2 the ONAP Usecases Demo" +echo "--------------------------------------------------------" echo -GROUP_ID="org.onap.policy.rules.casablanca" -ARTIFACT_ID="casablanca" +GROUP_ID="org.onap.policy.rules.usecases" +ARTIFACT_ID="usecases" VERSION="${version:-1.3.4}" -PACKAGE="org.onap.policy.rules.casablanca" +PACKAGE="org.onap.policy.rules.usecases" # vCPE Policy Parameters VCPE_CONTROL_LOOP_NAME="ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e" @@ -68,7 +68,7 @@ pe%3A+Reroute%0D%0A++++target%3A%0D%0A++++++type%3A+VM%0D%0A++++retry%3A+3%0D%0A ure_timeout%0D%0A++++failure_retries%3A+final_failure_retries%0D%0A++++failure_exception%3A+final_failure_exception%0D%0A++++failure_guard%3A+final_failure_guard" # Generic Scope and Version -POLICY_SCOPE="casablanca" +POLICY_SCOPE="usecases" POLICY_VERSION="v0.0.1" BRMSGW_TOPIC="BRMSGW-POLICY" @@ -233,7 +233,7 @@ if [ ! -w "${DIR_TMP}" ]; then fi ARCHETYPE_GROUP_ID="org.onap.policy.drools-applications.controlloop.templates" -ARCHETYPE_ARTIFACT_ID="archetype-cl-casablanca" +ARCHETYPE_ARTIFACT_ID="archetype-cl-usecases" ARCHETYPE_VERSION="${VERSION}" if [ -d "${DIR_TMP}/${ARTIFACT_ID}/" ]; then @@ -353,7 +353,7 @@ echo "1. copy ${DIR_TMP}/${ARTIFACT_ID}/${ARTIFACT_ID}-controller.properties und echo " and restart the pdp-d (policy stop; policy start)" echo "2. cd ${DIR_TMP}/${ARTIFACT_ID}/; rest-add-controller ${ARTIFACT_ID}" echo -echo "Once this Control Loop is deployed, you can run the push-policies-casablanca script" +echo "Once this Control Loop is deployed, you can run the push-policies-usecases script" echo "to automatically insert the policies for all use cases supported in this release" echo ) diff --git a/controlloop/common/feature-controlloop-management/src/main/feature/bin/push-policies-casablanca b/controlloop/common/feature-controlloop-management/src/main/feature/bin/push-policies-usecases index 2289aea1f..dc64c3ece 100644 --- a/controlloop/common/feature-controlloop-management/src/main/feature/bin/push-policies-casablanca +++ b/controlloop/common/feature-controlloop-management/src/main/feature/bin/push-policies-usecases @@ -142,4 +142,4 @@ echo "Policy insertions completed." echo echo "The working memory is now: " -curl -k --silent --user @1b3rt:31nst31n -X GET https://localhost:9696/policy/pdp/engine/controllers/${CONTROLLER_NAME}/drools/facts/casablanca | python -m json.tool +curl -k --silent --user @1b3rt:31nst31n -X GET https://localhost:9696/policy/pdp/engine/controllers/${CONTROLLER_NAME}/drools/facts/usecases | python -m json.tool |