aboutsummaryrefslogtreecommitdiffstats
path: root/docs
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
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')
-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
-rw-r--r--docs/development/devtools/tosca/pairwise-testing.yml32
-rw-r--r--docs/development/devtools/tosca/smoke-test-participants.yaml34
-rw-r--r--docs/development/devtools/tosca/tosca-for-gui-smoke-tests.yaml11
-rw-r--r--docs/development/devtools/tosca/tosca_service_template_pptnt_smoke.yaml12
6 files changed, 68 insertions, 68 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
diff --git a/docs/development/devtools/tosca/pairwise-testing.yml b/docs/development/devtools/tosca/pairwise-testing.yml
index c4987aa4..108ea4a9 100644
--- a/docs/development/devtools/tosca/pairwise-testing.yml
+++ b/docs/development/devtools/tosca/pairwise-testing.yml
@@ -130,7 +130,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:
@@ -156,13 +156,13 @@ data_types:
required: true
constraints: []
description: THe expected HTTP status code for the REST request
- org.onap.datatypes.policy.clamp.acm.httpControlLoopElement.ConfigurationEntity:
+ org.onap.datatypes.policy.clamp.acm.httpAutomationCompositionElement.ConfigurationEntity:
version: 1.0.0
derived_from: tosca.datatypes.Root
properties:
configurationEntityId:
type: onap.datatypes.ToscaConceptIdentifier
- typeVersion: 1.0.0
+ type_version: 0.0.0
required: true
description: The name and version of a Configuration Entity to be handled
by the HTTP Automation Composition Element
@@ -170,7 +170,7 @@ data_types:
type: list
entry_schema:
type: org.onap.datatypes.policy.clamp.acm.httpControlLoopElement.RestRequest
- typeVersion: 1.0.0
+ type_version: 1.0.0
description: A sequence of REST commands to send to the REST endpoint
policy_types:
onap.policies.Monitoring:
@@ -250,7 +250,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
@@ -263,7 +263,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:
@@ -343,17 +343,17 @@ node_types:
properties:
policy_type_id:
type: onap.datatypes.ToscaConceptIdentifier
- requred: true
+ required: true
policy_id:
type: onap.datatypes.ToscaConceptIdentifier
- requred: false
+ required: false
org.onap.policy.clamp.acm.CDSAutomationCompositionElement:
version: 1.0.1
derived_from: org.onap.policy.clamp.acm.AutomationCompositionElement
properties:
cds_blueprint_id:
type: onap.datatypes.ToscaConceptIdentifier
- requred: true
+ required: true
org.onap.policy.clamp.acm.K8SMicroserviceAutomationCompositionElement:
version: 1.0.1
derived_from: org.onap.policy.clamp.acm.AutomationCompositionElement
@@ -366,14 +366,14 @@ node_types:
required: false
requirements:
type: string
- requred: false
+ required: false
templates:
type: list
required: false
entry_schema:
values:
type: string
- requred: true
+ required: true
org.onap.policy.clamp.acm.HttpAutomationCompositionElement:
version: 1.0.1
derived_from: org.onap.policy.clamp.acm.AutomationCompositionElement
@@ -393,7 +393,7 @@ node_types:
required: true
entry_schema:
type: org.onap.datatypes.policy.clamp.acm.httpAutomationCompositionElement.ConfigurationEntity
- typeVersion: 1.0.0
+ type_version: 1.0.0
description: The connfiguration entities the Automation Composition Element is managing and their associated REST requests
topology_template:
@@ -415,7 +415,7 @@ topology_template:
org.onap.domain.pmsh.PMSH_OperationalPolicyAutomationCompositionElement:
version: 1.2.3
type: org.onap.policy.clamp.acm.PolicyAutomationCompositionElement
- type_version: 1.0.0
+ type_version: 1.0.1
description: Automation composition element for the operational policy for Performance Management Subscription Handling
properties:
provider: Ericsson
@@ -443,7 +443,7 @@ topology_template:
# Chart from new repository
version: 1.2.3
type: org.onap.policy.clamp.acm.K8SMicroserviceAutomationCompositionElement
- type_version: 1.0.0
+ type_version: 1.0.1
description: Automation composition element for the K8S microservice for PMSH
properties:
provider: ONAP
@@ -561,7 +561,7 @@ topology_template:
org.onap.domain.sample.GenericK8s_AutomationCompositionDefinition:
version: 1.2.3
type: org.onap.policy.clamp.acm.AutomationComposition
- type_version: 1.0.0
+ type_version: 1.0.1
description: Automation composition for Hello World
properties:
provider: ONAP
@@ -3385,4 +3385,4 @@ topology_template:
restRequestTimeout: 2000
eventProtocolParameters:
eventProtocol: JSON
- eventNameFilter: CDSResponseStatusEvent \ No newline at end of file
+ eventNameFilter: CDSResponseStatusEvent
diff --git a/docs/development/devtools/tosca/smoke-test-participants.yaml b/docs/development/devtools/tosca/smoke-test-participants.yaml
index 7823a773..d1244f9d 100644
--- a/docs/development/devtools/tosca/smoke-test-participants.yaml
+++ b/docs/development/devtools/tosca/smoke-test-participants.yaml
@@ -15,7 +15,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:
@@ -38,21 +38,21 @@ data_types:
constraints:
- in_range: [100, 599]
description: THe expected HTTP status code for the REST request
- org.onap.datatypes.policy.clamp.acm.httpAutomationCompositionElement.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 Automation Composition Element
- restSequence:
- type: list
- entry_schema:
- type: org.onap.datatypes.policy.clamp.acm.httpAutomationCompositionElement.RestRequest
- typeVersion: 1.0.0
- description: A sequence of REST commands to send to the REST endpoint
+ org.onap.datatypes.policy.clamp.acm.httpAutomationCompositionElement.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 Automation Composition Element
+ restSequence:
+ type: list
+ entry_schema:
+ type: org.onap.datatypes.policy.clamp.acm.httpAutomationCompositionElement.RestRequest
+ type_version: 1.0.0
+ description: A sequence of REST commands to send to the REST endpoint
node_types:
org.onap.policy.clamp.acm.Participant:
version: 1.0.1
@@ -175,7 +175,7 @@ node_types:
required: true
entry_schema:
type: org.onap.datatypes.policy.clamp.acm.httpAutomationCompositionElement.ConfigurationEntity
- typeVersion: 1.0.0
+ type_version: 1.0.0
description: The connfiguration entities the Automation Composition Element is managing and their associated REST requests
topology_template:
node_templates:
diff --git a/docs/development/devtools/tosca/tosca-for-gui-smoke-tests.yaml b/docs/development/devtools/tosca/tosca-for-gui-smoke-tests.yaml
index 61d3f6ea..7725c8a9 100644
--- a/docs/development/devtools/tosca/tosca-for-gui-smoke-tests.yaml
+++ b/docs/development/devtools/tosca/tosca-for-gui-smoke-tests.yaml
@@ -17,13 +17,13 @@ data_types:
consulUrl:
name: consulUrl
type: string
- typeVersion: 0.0.0
+ type_version: 0.0.0
description: Consul url for this entry
required: true
consul_body:
name: consulBody
type: string
- typeVersion: 0.0.0
+ type_version: 0.0.0
description: Body of Consul entry
required: true
onap.datatype.controlloop.Target:
@@ -178,6 +178,7 @@ policy_types:
required: true
entry_schema:
type: onap.datatype.controlloop.Operation
+ type_version: 1.0.0
onap.policies.controlloop.operational.common.Apex:
derived_from: onap.policies.controlloop.operational.Common
type_version: 1.0.0
@@ -367,7 +368,7 @@ topology_template:
org.onap.domain.pmsh.PMSH_MonitoringPolicyControlLoopElement:
version: 1.2.3
type: org.onap.policy.clamp.controlloop.PolicyControlLoopElement
- type_version: 1.0.0
+ type_version: 1.0.1
description: Control loop element for the monitoring policy for Performance Management Subscription Handling
properties:
provider: Ericsson
@@ -385,7 +386,7 @@ topology_template:
org.onap.domain.pmsh.PMSH_OperationalPolicyControlLoopElement:
version: 1.2.3
type: org.onap.policy.clamp.controlloop.PolicyControlLoopElement
- type_version: 1.0.0
+ type_version: 1.0.1
description: Control loop element for the operational policy for Performance Management Subscription Handling
properties:
provider: Ericsson
@@ -403,7 +404,7 @@ topology_template:
org.onap.domain.pmsh.PMSHControlLoopDefinition:
version: 1.2.3
type: org.onap.policy.clamp.controlloop.ControlLoop
- type_version: 1.0.0
+ type_version: 1.0.1
description: Control loop for Performance Management Subscription Handling
properties:
provider: Ericsson
diff --git a/docs/development/devtools/tosca/tosca_service_template_pptnt_smoke.yaml b/docs/development/devtools/tosca/tosca_service_template_pptnt_smoke.yaml
index 11be3e53..de6df367 100644
--- a/docs/development/devtools/tosca/tosca_service_template_pptnt_smoke.yaml
+++ b/docs/development/devtools/tosca/tosca_service_template_pptnt_smoke.yaml
@@ -17,13 +17,13 @@ data_types:
consulUrl:
name: consulUrl
type: string
- typeVersion: 0.0.0
+ type_version: 0.0.0
description: Consul url for this entry
required: true
consul_body:
name: consulBody
type: string
- typeVersion: 0.0.0
+ type_version: 0.0.0
description: Body of Consul entry
required: true
onap.datatype.controlloop.Target:
@@ -363,11 +363,11 @@ topology_template:
description: Participant for DCAE microservices
properties:
provider: ONAP
-
+
org.onap.domain.pmsh.PMSH_MonitoringPolicyControlLoopElement:
version: 1.2.3
type: org.onap.policy.clamp.controlloop.PolicyControlLoopElement
- type_version: 1.0.0
+ type_version: 1.0.1
description: Control loop element for the monitoring policy for Performance Management Subscription Handling
properties:
provider: Ericsson
@@ -382,7 +382,7 @@ topology_template:
org.onap.domain.pmsh.PMSH_OperationalPolicyControlLoopElement:
version: 1.2.3
type: org.onap.policy.clamp.controlloop.PolicyControlLoopElement
- type_version: 1.0.0
+ type_version: 1.0.1
description: Control loop element for the operational policy for Performance Management Subscription Handling
properties:
provider: Ericsson
@@ -397,7 +397,7 @@ topology_template:
org.onap.domain.pmsh.PMSHControlLoopDefinition:
version: 1.2.3
type: org.onap.policy.clamp.controlloop.ControlLoop
- type_version: 1.0.0
+ type_version: 1.0.1
description: Control loop for Performance Management Subscription Handling
properties:
provider: Ericsson