summaryrefslogtreecommitdiffstats
path: root/runtime-acm/src/main/resources/openapi/examples/postCompositionDefinitions.yaml
diff options
context:
space:
mode:
authorFrancescoFioraEst <francesco.fiora@est.tech>2023-09-26 09:50:45 +0100
committerFrancesco Fiora <francesco.fiora@est.tech>2023-09-26 09:06:01 +0000
commit9c80538723265147294e6e8e42ed11ca5139764a (patch)
tree61cbd5b8205fc1c974daeb05a9486f4e01740b64 /runtime-acm/src/main/resources/openapi/examples/postCompositionDefinitions.yaml
parent4407ea6948a060734a4f2836b11bd2d5c6ea6194 (diff)
Update examples with new functionality
Issue-ID: POLICY-4828 Change-Id: I7839bf6d49bd08cec42c51b460d3dc04422e4ba7 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
Diffstat (limited to 'runtime-acm/src/main/resources/openapi/examples/postCompositionDefinitions.yaml')
-rwxr-xr-x[-rw-r--r--]runtime-acm/src/main/resources/openapi/examples/postCompositionDefinitions.yaml66
1 files changed, 5 insertions, 61 deletions
diff --git a/runtime-acm/src/main/resources/openapi/examples/postCompositionDefinitions.yaml b/runtime-acm/src/main/resources/openapi/examples/postCompositionDefinitions.yaml
index c60209836..5d8447e00 100644..100755
--- a/runtime-acm/src/main/resources/openapi/examples/postCompositionDefinitions.yaml
+++ b/runtime-acm/src/main/resources/openapi/examples/postCompositionDefinitions.yaml
@@ -1,5 +1,5 @@
# ============LICENSE_START=======================================================
-# Copyright (C) 2022 Nordix Foundation.
+# Copyright (C) 2022-2023 Nordix Foundation.
# ================================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -92,17 +92,6 @@ node_types:
metadata:
common: true
description: Specifies the organization that provides the automation composition element
- participant_id:
- type: onap.datatypes.ToscaConceptIdentifier
- required: true
- metadata:
- common: true
- participantType:
- type: onap.datatypes.ToscaConceptIdentifier
- required: true
- metadata:
- common: true
- description: The identity of the participant type that hosts this type of Automation Composition Element
startPhase:
type: integer
required: false
@@ -123,33 +112,6 @@ node_types:
metadata:
common: true
description: The maximum time in seconds to wait for a state chage from uninitialized to passive
- passiveToRunningTimeout:
- type: integer
- required: false
- constraints:
- - greater_or_equal: 0
- default: 60
- metadata:
- common: true
- description: The maximum time in seconds to wait for a state chage from passive to running
- runningToPassiveTimeout:
- type: integer
- required: false
- constraints:
- - greater_or_equal: 0
- default: 60
- metadata:
- common: true
- description: The maximum time in seconds to wait for a state chage from running to passive
- passiveToUninitializedTimeout:
- type: integer
- required: false
- constraints:
- - 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
org.onap.policy.clamp.acm.AutomationComposition:
version: 1.0.1
derived_from: tosca.nodetypes.Root
@@ -169,7 +131,7 @@ node_types:
type: onap.datatypes.ToscaConceptIdentifier
description: Specifies a list of automation composition element definitions that make up this automation composition definition
org.onap.policy.clamp.acm.HttpAutomationCompositionElement:
- version: 1.0.1
+ version: 1.0.0
derived_from: org.onap.policy.clamp.acm.AutomationCompositionElement
properties:
baseUrl:
@@ -203,16 +165,10 @@ topology_template:
# Http config for AC Element Starter.
version: 1.2.3
type: org.onap.policy.clamp.acm.HttpAutomationCompositionElement
- type_version: 1.0.1
+ type_version: 1.0.0
description: Automation composition element for the http requests of AC Element Starter microservice
properties:
provider: ONAP
- participant_id:
- name: HttpParticipant0
- version: 1.0.0
- participantType:
- name: org.onap.policy.clamp.acm.HttpParticipant
- version: 2.3.4
uninitializedToPassiveTimeout: 180
startPhase: 0
baseUrl: http://acelement-starter:8084
@@ -235,16 +191,10 @@ topology_template:
# Http config for AC Element Bridge.
version: 1.2.3
type: org.onap.policy.clamp.acm.HttpAutomationCompositionElement
- type_version: 1.0.1
+ type_version: 1.0.0
description: Automation composition element for the http requests of AC Element Bridge microservice
properties:
provider: ONAP
- participant_id:
- name: HttpParticipant0
- version: 1.0.0
- participantType:
- name: org.onap.policy.clamp.acm.HttpParticipant
- version: 2.3.4
uninitializedToPassiveTimeout: 180
startPhase: 0
baseUrl: http://acelement-bridge:8084
@@ -267,16 +217,10 @@ topology_template:
# Http config for AC Element Sink.
version: 1.2.3
type: org.onap.policy.clamp.acm.HttpAutomationCompositionElement
- type_version: 1.0.1
+ type_version: 1.0.0
description: Automation composition element for the http requests of AC Element Sink microservice
properties:
provider: ONAP
- participant_id:
- name: HttpParticipant0
- version: 1.0.0
- participantType:
- name: org.onap.policy.clamp.acm.HttpParticipant
- version: 2.3.4
uninitializedToPassiveTimeout: 180
startPhase: 0
baseUrl: http://acelement-sink:8084