summaryrefslogtreecommitdiffstats
path: root/docs/clamp/acm
diff options
context:
space:
mode:
authorFrancescoFioraEst <francesco.fiora@est.tech>2022-05-31 17:15:52 +0100
committerFrancesco Fiora <francesco.fiora@est.tech>2022-06-02 07:47:21 +0000
commitcbbf2963e427820ceb40ee430d8b9300757f85ee (patch)
tree2db14d976f1106854ea0bd4d12c9caa46cb9c1a7 /docs/clamp/acm
parent2e11c2e6df991a40933a72c3ff5e8341c047c613 (diff)
Fix type version in all tosca_service_template
Issue-ID: POLICY-4229 Change-Id: I18d523c07685db35bffc9d97321fdfed3b9c37e9 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
Diffstat (limited to 'docs/clamp/acm')
-rw-r--r--docs/clamp/acm/design-impl/participants/tosca/tosca-http-participant.yml41
-rw-r--r--docs/clamp/acm/design-impl/participants/tosca/tosca-k8s-participant.yml6
2 files changed, 23 insertions, 24 deletions
diff --git a/docs/clamp/acm/design-impl/participants/tosca/tosca-http-participant.yml b/docs/clamp/acm/design-impl/participants/tosca/tosca-http-participant.yml
index dae4c76a..908b05da 100644
--- a/docs/clamp/acm/design-impl/participants/tosca/tosca-http-participant.yml
+++ b/docs/clamp/acm/design-impl/participants/tosca/tosca-http-participant.yml
@@ -122,7 +122,7 @@ data_types:
properties:
restRequestId:
type: onap.datatypes.ToscaConceptIdentifier
- typeVersion: 1.0.0
+ type_version: 0.0.0
required: true
description: The name and version of a REST request to be sent to a REST endpoint
httpMethod:
@@ -142,24 +142,24 @@ data_types:
expectedResponse:
type: integer
required: true
- constraints:
+ constraints:
- in_range: [100, 599]
description: THe expected HTTP status code for the REST request
- org.onap.datatypes.policy.clamp.controlloop.httpControlLoopElement.ConfigurationEntity:
- version: 1.0.0
- derived_from: tosca.datatypes.Root
- properties:
- configurationEntityId:
- type: onap.datatypes.ToscaConceptIdentifier
- typeVersion: 1.0.0
- required: true
- description: The name and version of a Configuration Entity to be handled by the HTTP Control Loop Element
- restSequence:
- type: list
- entry_schema:
- type: org.onap.datatypes.policy.clamp.controlloop.httpControlLoopElement.RestRequest
- typeVersion: 1.0.0
- description: A sequence of REST commands to send to the REST endpoint
+ org.onap.datatypes.policy.clamp.controlloop.httpControlLoopElement.ConfigurationEntity:
+ version: 1.0.0
+ derived_from: tosca.datatypes.Root
+ properties:
+ configurationEntityId:
+ type: onap.datatypes.ToscaConceptIdentifier
+ type_version: 0.0.0
+ required: true
+ description: The name and version of a Configuration Entity to be handled by the HTTP Control Loop Element
+ restSequence:
+ type: list
+ entry_schema:
+ type: org.onap.datatypes.policy.clamp.controlloop.httpControlLoopElement.RestRequest
+ type_version: 1.0.0
+ description: A sequence of REST commands to send to the REST endpoint
node_types:
org.onap.policy.clamp.controlloop.Participant:
version: 1.0.1
@@ -167,7 +167,7 @@ node_types:
properties:
provider:
type: string
- requred: false
+ required: false
org.onap.policy.clamp.controlloop.ControlLoopElement:
version: 1.0.1
derived_from: tosca.nodetypes.Root
@@ -180,7 +180,7 @@ node_types:
description: Specifies the organization that provides the control loop element
participant_id:
type: onap.datatypes.ToscaConceptIdentifier
- requred: true
+ required: true
metadata:
common: true
participantType:
@@ -273,7 +273,7 @@ node_types:
required: true
entry_schema:
type: org.onap.datatypes.policy.clamp.controlloop.httpControlLoopElement.ConfigurationEntity
- typeVersion: 1.0.0
+ type_version: 1.0.0
description: The connfiguration entities the Control Loop Element is managing and their associated REST requests
topology_template:
@@ -436,4 +436,3 @@ topology_template:
elements:
- name: org.onap.domain.database.Http_PMSHMicroserviceControlLoopElement
version: 1.2.3
-
diff --git a/docs/clamp/acm/design-impl/participants/tosca/tosca-k8s-participant.yml b/docs/clamp/acm/design-impl/participants/tosca/tosca-k8s-participant.yml
index f411eb55..1bb7f59f 100644
--- a/docs/clamp/acm/design-impl/participants/tosca/tosca-k8s-participant.yml
+++ b/docs/clamp/acm/design-impl/participants/tosca/tosca-k8s-participant.yml
@@ -123,7 +123,7 @@ node_types:
properties:
provider:
type: string
- requred: false
+ required: false
org.onap.policy.clamp.acm.AutomationCompositionElement:
version: 1.0.1
derived_from: tosca.nodetypes.Root
@@ -136,7 +136,7 @@ node_types:
description: Specifies the organization that provides the automation composition element
participant_id:
type: onap.datatypes.ToscaConceptIdentifier
- requred: true
+ required: true
metadata:
common: true
participantType:
@@ -222,7 +222,7 @@ node_types:
required: false
requirements:
type: string
- requred: false
+ required: false
templates:
type: list
required: false