From c5e57c1b1cd0e778ebf47edd20fd9a340471ab72 Mon Sep 17 00:00:00 2001 From: FrancescoFioraEst Date: Tue, 17 Jan 2023 09:56:52 +0000 Subject: Refactor participantId as UUID As part of endpoint refactoring, refactor participantId as UUID in ACM. Issue-ID: POLICY-4521 Change-Id: I8ac652d9b2fadf9ce3220febb9c2c3ac0d3786cc Signed-off-by: FrancescoFioraEst --- .../examples/getAllCompositionInstancesResponse.json | 15 +++------------ .../examples/getAllCompositionInstancesResponse.yaml | 12 +++--------- 2 files changed, 6 insertions(+), 21 deletions(-) (limited to 'runtime-acm/src/main/resources') diff --git a/runtime-acm/src/main/resources/openapi/examples/getAllCompositionInstancesResponse.json b/runtime-acm/src/main/resources/openapi/examples/getAllCompositionInstancesResponse.json index 55b99b28c..a1d0a999d 100644 --- a/runtime-acm/src/main/resources/openapi/examples/getAllCompositionInstancesResponse.json +++ b/runtime-acm/src/main/resources/openapi/examples/getAllCompositionInstancesResponse.json @@ -15,10 +15,7 @@ "name": "org.onap.policy.clamp.acm.HttpParticipant", "version": "2.3.4" }, - "participantId": { - "name": "HttpParticipant0", - "version": "1.0.0" - }, + "participantId": "101c62b3-8918-41b9-a747-d21eb79c6c01", "state": "UNINITIALISED", "orderedState": "UNINITIALISED", "description": "Sink Automation Composition Element for the Demo", @@ -34,10 +31,7 @@ "name": "org.onap.policy.clamp.acm.HttpParticipant", "version": "2.3.4" }, - "participantId": { - "name": "HttpParticipant0", - "version": "1.0.0" - }, + "participantId": "101c62b3-8918-41b9-a747-d21eb79c6c01", "state": "UNINITIALISED", "orderedState": "UNINITIALISED", "description": "Bridge Automation Composition Element for the Demo", @@ -53,10 +47,7 @@ "name": "org.onap.policy.clamp.acm.HttpParticipant", "version": "2.3.4" }, - "participantId": { - "name": "HttpParticipant0", - "version": "1.0.0" - }, + "participantId": "101c62b3-8918-41b9-a747-d21eb79c6c01", "state": "UNINITIALISED", "orderedState": "UNINITIALISED", "description": "Starter Automation Composition Element for the Demo", diff --git a/runtime-acm/src/main/resources/openapi/examples/getAllCompositionInstancesResponse.yaml b/runtime-acm/src/main/resources/openapi/examples/getAllCompositionInstancesResponse.yaml index 3fa6506ea..3b007fda6 100644 --- a/runtime-acm/src/main/resources/openapi/examples/getAllCompositionInstancesResponse.yaml +++ b/runtime-acm/src/main/resources/openapi/examples/getAllCompositionInstancesResponse.yaml @@ -11,9 +11,7 @@ automationCompositionList: participantType: name: org.onap.policy.clamp.acm.HttpParticipant version: 2.3.4 - participantId: - name: HttpParticipant0 - version: 1.0.0 + participantId: 101c62b3-8918-41b9-a747-d21eb79c6c01 state: UNINITIALISED orderedState: UNINITIALISED description: Sink Automation Composition Element for the Demo @@ -26,9 +24,7 @@ automationCompositionList: participantType: name: org.onap.policy.clamp.acm.HttpParticipant version: 2.3.4 - participantId: - name: HttpParticipant0 - version: 1.0.0 + participantId: 101c62b3-8918-41b9-a747-d21eb79c6c01 state: UNINITIALISED orderedState: UNINITIALISED description: Bridge Automation Composition Element for the Demo @@ -41,9 +37,7 @@ automationCompositionList: participantType: name: org.onap.policy.clamp.acm.HttpParticipant version: 2.3.4 - participantId: - name: HttpParticipant0 - version: 1.0.0 + participantId: 101c62b3-8918-41b9-a747-d21eb79c6c01 state: UNINITIALISED orderedState: UNINITIALISED description: Starter Automation Composition Element for the Demo -- cgit 1.2.3-korg