summaryrefslogtreecommitdiffstats
path: root/dcae-policy/dcaepolicy-node-type.yaml
diff options
context:
space:
mode:
authorSchmalzried, Terry (ts862m) <ts862m@att.com>2019-11-14 13:07:56 -0500
committerSchmalzried, Terry (ts862m) <ts862m@att.com>2019-11-14 15:26:45 -0500
commit77e27adeab5ff155b690f2e058c06f0a7812e225 (patch)
treec67450b92793ba2b503ddc596188e8f1319f43fe /dcae-policy/dcaepolicy-node-type.yaml
parent6b7857037b8c82471395a929aba950677693d151 (diff)
DCAEGEN2-1920 enhance policy plugin for error conditions
Issue-ID: DCAEGEN2-1920 Change-Id: I7e1b08cb008f60d7f08ed2db41236a03b8490287 Signed-off-by: Schmalzried, Terry (ts862m) <ts862m@att.com>
Diffstat (limited to 'dcae-policy/dcaepolicy-node-type.yaml')
-rw-r--r--dcae-policy/dcaepolicy-node-type.yaml13
1 files changed, 6 insertions, 7 deletions
diff --git a/dcae-policy/dcaepolicy-node-type.yaml b/dcae-policy/dcaepolicy-node-type.yaml
index 1c07b7a..ec7f373 100644
--- a/dcae-policy/dcaepolicy-node-type.yaml
+++ b/dcae-policy/dcaepolicy-node-type.yaml
@@ -1,5 +1,5 @@
# ================================================================================
-# Copyright (c) 2017-2018 AT&T Intellectual Property. All rights reserved.
+# Copyright (c) 2017-2019 AT&T Intellectual Property. 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.
@@ -16,16 +16,11 @@
#
# ECOMP is a trademark and service mark of AT&T Intellectual Property.
-tosca_definitions_version: cloudify_dsl_1_3
-
-imports:
- - http://www.getcloudify.org/spec/cloudify/3.4/types.yaml
-
plugins:
dcaepolicy:
executor: 'central_deployment_agent'
package_name: dcaepolicyplugin
- package_version: 2.3.0
+ package_version: 2.3.2
data_types:
# the properties inside dcae.data.policy_filter are identical to /getConfig API of policy-engine except the requestID field.
@@ -77,6 +72,10 @@ node_types:
policy_filter:
type: dcae.data.policy_filter
default: {}
+ policy_required:
+ description: whether to throw an exception when failed to get a policy
+ type: boolean
+ default: false
interfaces:
cloudify.interfaces.lifecycle:
create: