summaryrefslogtreecommitdiffstats
path: root/dcae-policy/dcaepolicy-node-type.yaml
diff options
context:
space:
mode:
authorAlex Shatov <alexs@att.com>2018-03-23 14:35:12 -0400
committerAlex Shatov <alexs@att.com>2018-03-23 14:35:12 -0400
commit8534af4f1ef5be3c6f946913824d5ed807e2321c (patch)
tree7f883519886a43d6664d698f2f319ae4b4cc4353 /dcae-policy/dcaepolicy-node-type.yaml
parent19a075b395d687753de0f0266842cb9af8f24682 (diff)
2.1.0 dcaepolicyplugin and data types
- configAttributes in policy_filter being a stringified json, rather than the map due to SDC UI limitations - safely parse the configAttributes string into json Change-Id: I934b6254aed285ddab245b440f43403a4fe918fe Signed-off-by: Alex Shatov <alexs@att.com> Issue-ID: DCAEGEN2-413
Diffstat (limited to 'dcae-policy/dcaepolicy-node-type.yaml')
-rw-r--r--dcae-policy/dcaepolicy-node-type.yaml6
1 files changed, 2 insertions, 4 deletions
diff --git a/dcae-policy/dcaepolicy-node-type.yaml b/dcae-policy/dcaepolicy-node-type.yaml
index 7206a8b..04b2fd6 100644
--- a/dcae-policy/dcaepolicy-node-type.yaml
+++ b/dcae-policy/dcaepolicy-node-type.yaml
@@ -1,5 +1,3 @@
-# ============LICENSE_START=======================================================
-# org.onap.dcae
# ================================================================================
# Copyright (c) 2017-2018 AT&T Intellectual Property. All rights reserved.
# ================================================================================
@@ -27,7 +25,7 @@ plugins:
dcaepolicy:
executor: 'central_deployment_agent'
package_name: dcaepolicyplugin
- package_version: 2.0.0
+ package_version: 2.1.0
data_types:
# the properties inside dcae.data.policy_filter are identical to /getConfig API of policy-engine except the requestID field.
@@ -35,7 +33,7 @@ data_types:
# policy-engine /getConfig wiki: The filter works as a combined "AND" operation.
# To retrieve all policies using "sample" as configName,
# the request needs to have policyName = ".*" and configName as = "sample"
- # configAttributes is a key-value dictionary
+ # configAttributes is a key-value dictionary or a stringified json of the dictionary
dcae.data.policy_filter:
properties:
policyName: