summaryrefslogtreecommitdiffstats
path: root/docs/clamp/acm/design-impl/participants/tosca
diff options
context:
space:
mode:
authorLiam Fallon <liam.fallon@est.tech>2022-06-03 13:15:49 +0000
committerGerrit Code Review <gerrit@onap.org>2022-06-03 13:15:49 +0000
commitc9872b9bc48c9afc7976933c4ee700cb360154a1 (patch)
tree537a341eddf873cdf7e394447b42c166c96d4a48 /docs/clamp/acm/design-impl/participants/tosca
parentf79b94387563d91709abd89d6f0962d44ec2900f (diff)
parentcbbf2963e427820ceb40ee430d8b9300757f85ee (diff)
Merge "Fix type version in all tosca_service_template"
Diffstat (limited to 'docs/clamp/acm/design-impl/participants/tosca')
-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