diff options
author | sebdet <sebastien.determe@intl.att.com> | 2019-04-25 12:24:45 +0200 |
---|---|---|
committer | sebdet <sebastien.determe@intl.att.com> | 2019-04-25 13:02:51 +0200 |
commit | 12700b07bf4850f7de97b69e9b2fcc96e0540b21 (patch) | |
tree | bfaf97137e0fb99012f09897e24d53dadc7e5f30 /src/test/resources/tosca | |
parent | 7fe3f4b2e79bfe1421bd4d6c33b35d4fd3d18e65 (diff) |
Rework code for policy type
Rework unit tests + test resources and code for policy type renaming
Issue-ID: CLAMP-356
Change-Id: Id64c620b42347d6f5535523f33a0a04a54a60fa2
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Diffstat (limited to 'src/test/resources/tosca')
-rw-r--r-- | src/test/resources/tosca/micro-service-policy-payload.json | 2 | ||||
-rw-r--r-- | src/test/resources/tosca/tosca_example.yaml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/test/resources/tosca/micro-service-policy-payload.json b/src/test/resources/tosca/micro-service-policy-payload.json index 01d6d275c..2de06b083 100644 --- a/src/test/resources/tosca/micro-service-policy-payload.json +++ b/src/test/resources/tosca/micro-service-policy-payload.json @@ -4,7 +4,7 @@ "policies": [ { "testPolicy": { - "type": "onap.policy.monitoring.cdap.tca.hi.lo.app", + "type": "onap.policies.monitoring.cdap.tca.hi.lo.app", "version": "1.0.0", "metadata": { "policy-id": "testPolicy" diff --git a/src/test/resources/tosca/tosca_example.yaml b/src/test/resources/tosca/tosca_example.yaml index 699cffd7e..b0119f887 100644 --- a/src/test/resources/tosca/tosca_example.yaml +++ b/src/test/resources/tosca/tosca_example.yaml @@ -3,7 +3,7 @@ policy_types: onap.policies.Monitoring: derived_from: tosca.policies.Root description: a base policy type for all policies that governs monitoring provisioning - onap.policy.monitoring.cdap.tca.hi.lo.app: + onap.policies.monitoring.cdap.tca.hi.lo.app: derived_from: onap.policies.Monitoring version: 1.0.0 properties: |