aboutsummaryrefslogtreecommitdiffstats
path: root/datafile-app-server/dpo/policy.yaml
diff options
context:
space:
mode:
authorYongchaoWu <yongchao.wu@est.tech>2019-06-04 08:34:39 +0000
committerYongchaoWu <yongchao.wu@est.tech>2019-06-04 08:34:39 +0000
commit8cae76ef66f1928b3d5afb9a67bb330c5cd513c4 (patch)
treedaaae432a4f24e161ed8b0b5f4effeebad160ce6 /datafile-app-server/dpo/policy.yaml
parentb6718c83e7de2c75ef494b6f0c800d7cf097ca71 (diff)
Blueprint alignment
Blueprint is aligned with the dmaap topic configuration Change-Id: I4303724eed21047b87a8b7438970625b08811d22 Issue-ID: DCAEGEN2-1145 Signed-off-by: YongchaoWu <yongchao.wu@est.tech>
Diffstat (limited to 'datafile-app-server/dpo/policy.yaml')
-rw-r--r--datafile-app-server/dpo/policy.yaml27
1 files changed, 17 insertions, 10 deletions
diff --git a/datafile-app-server/dpo/policy.yaml b/datafile-app-server/dpo/policy.yaml
index fdd5696a..8fc20d1d 100644
--- a/datafile-app-server/dpo/policy.yaml
+++ b/datafile-app-server/dpo/policy.yaml
@@ -1,16 +1,23 @@
tosca_definitions_version: tosca_simple_yaml_1_0_0
-policy_types:
- onap.policies.Monitoring:
- derived_from: tosca.policies.Root
- description: a base policy type for all policies that govern monitoring provision
- version: 1.0.0
- onap.policies.monitoring.dcaegen2.collectors.datafile.datafile-app-server:
- version: 1.0.0
- derived_from: policy.nodes.Root
+node_types:
+ policy.nodes.Root:
+ derived_from: tosca.nodes.Root
properties:
- buscontroller_feed_publishing_endpoint:
+ policyDescription:
+ required: false
+ type: string
+ policyName:
+ required: true
+ type: string
+ policyScope:
+ required: true
type: string
- description: DMAAP Bus Controller feed endpoint
+ policyVersion:
+ required: true
+ type: string
+ policy.nodes.dcaegen2.collectors.datafile.datafile-app-server:
+ derived_from: policy.nodes.Root
+ properties:
datafile.policy:
type: string
description: datafile Policy JSON as string