Fix type version in all tosca_service_template 70/129470/1
authorFrancescoFioraEst <francesco.fiora@est.tech>
Tue, 31 May 2022 16:15:52 +0000 (17:15 +0100)
committerFrancesco Fiora <francesco.fiora@est.tech>
Thu, 2 Jun 2022 07:47:21 +0000 (07:47 +0000)
Issue-ID: POLICY-4229
Change-Id: I18d523c07685db35bffc9d97321fdfed3b9c37e9
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
docs/clamp/acm/design-impl/participants/tosca/tosca-http-participant.yml
docs/clamp/acm/design-impl/participants/tosca/tosca-k8s-participant.yml
docs/development/devtools/tosca/pairwise-testing.yml
docs/development/devtools/tosca/smoke-test-participants.yaml
docs/development/devtools/tosca/tosca-for-gui-smoke-tests.yaml
docs/development/devtools/tosca/tosca_service_template_pptnt_smoke.yaml

index dae4c76..908b05d 100644 (file)
@@ -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
-            
index f411eb5..1bb7f59 100644 (file)
@@ -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
index c4987aa..108ea4a 100644 (file)
@@ -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
index 7823a77..d1244f9 100644 (file)
@@ -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:
index 61d3f6e..7725c8a 100644 (file)
@@ -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
index 11be3e5..de6df36 100644 (file)
@@ -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