diff options
Diffstat (limited to 'common/src/main')
-rw-r--r-- | common/src/main/resources/tosca/ControlLoopTOSCAServiceTemplateTypes.yaml | 19 | ||||
-rw-r--r-- | common/src/main/resources/tosca/PolicyControlLoopElementType.yaml | 4 |
2 files changed, 18 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 diff --git a/common/src/main/resources/tosca/PolicyControlLoopElementType.yaml b/common/src/main/resources/tosca/PolicyControlLoopElementType.yaml index bf66718ca..b4631ba14 100644 --- a/common/src/main/resources/tosca/PolicyControlLoopElementType.yaml +++ b/common/src/main/resources/tosca/PolicyControlLoopElementType.yaml @@ -37,3 +37,7 @@ node_types: default: defaultGroup description: The PDP group to which the policy should be deployed. This parameter is used when the policy is deployed to PAP. The value defaults to the "defaultGroup", which always exists. + pdpType: + type: string + required: true + description: The PDP type to which the policy will run on. This parameter is used when the policy is deployed to PAP.
\ No newline at end of file |