summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorJorge Hernandez <jorge.hernandez-herrero@att.com>2021-09-21 15:37:45 +0000
committerGerrit Code Review <gerrit@onap.org>2021-09-21 15:37:45 +0000
commit87663e16dae950eb85dd77dc6f09e7d9e2f3bcdf (patch)
tree31389f3adbe728fdb4de5cbfdee474ff8a2996ad /common
parent7b7fbdf6af90cf695709c734d9d22a5b0c918462 (diff)
parent5cb742b7e5174a02db7b50f8e92cab2829c7a507 (diff)
Merge "Fix common properties constraint and add startDelay"
Diffstat (limited to 'common')
-rw-r--r--common/src/main/resources/tosca/ControlLoopTOSCAServiceTemplateTypes.yaml19
1 files changed, 14 insertions, 5 deletions
diff --git a/common/src/main/resources/tosca/ControlLoopTOSCAServiceTemplateTypes.yaml b/common/src/main/resources/tosca/ControlLoopTOSCAServiceTemplateTypes.yaml
index e45a06257..a17cb7624 100644
--- a/common/src/main/resources/tosca/ControlLoopTOSCAServiceTemplateTypes.yaml
+++ b/common/src/main/resources/tosca/ControlLoopTOSCAServiceTemplateTypes.yaml
@@ -47,7 +47,7 @@ node_types:
type: integer
required: false
constraints:
- - greater-or-equal: 0
+ - greater_or_equal: 0
metadata:
common: true
description: A value indicating the start phase in which this control loop element will be started, the
@@ -58,7 +58,7 @@ node_types:
type: integer
required: false
constraints:
- - greater-or-equal: 0
+ - greater_or_equal: 0
default: 60
metadata:
common: true
@@ -67,7 +67,7 @@ node_types:
type: integer
required: false
constraints:
- - greater-or-equal: 0
+ - greater_or_equal: 0
default: 60
metadata:
common: true
@@ -76,7 +76,7 @@ node_types:
type: integer
required: false
constraints:
- - greater-or-equal: 0
+ - greater_or_equal: 0
default: 60
metadata:
common: true
@@ -85,11 +85,20 @@ node_types:
type: integer
required: false
constraints:
- - greater-or-equal: 0
+ - greater_or_equal: 0
default: 60
metadata:
common: true
description: The maximum time in seconds to wait for a state chage from passive to uninitialized
+ startDelay:
+ type: integer
+ required: false
+ constraints:
+ - greater_or_equal: 0
+ default: 0
+ metadata:
+ common: true
+ description: The number of milliseconds that the start of this control loop element should be delayed
org.onap.policy.clamp.controlloop.ControlLoop:
version: 1.0.1
derived_from: tosca.nodetypes.Root