From 2154ace6b9d58100212fc5db917d60eb7f69a7a6 Mon Sep 17 00:00:00 2001 From: FrancescoFioraEst Date: Wed, 12 Apr 2023 16:12:50 +0100 Subject: Update doc CLAMP Automation Composition Smoke Tests Update "CLAMP Automation Composition Smoke Tests", and "CLAMP participants (kubernetes, http) Smoke Tests" docs Issue-ID: POLICY-4597 Change-Id: I5093888b5c378efbe14b0f5c71e8c8aaf9dacf10 Signed-off-by: FrancescoFioraEst --- .../devtools/smoke/json/acm-instantiation.json | 62 ++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 docs/development/devtools/smoke/json/acm-instantiation.json (limited to 'docs/development/devtools/smoke/json') diff --git a/docs/development/devtools/smoke/json/acm-instantiation.json b/docs/development/devtools/smoke/json/acm-instantiation.json new file mode 100644 index 00000000..28eef7da --- /dev/null +++ b/docs/development/devtools/smoke/json/acm-instantiation.json @@ -0,0 +1,62 @@ +{ + "compositionId": "{{compositionId}}", + "name": "K8SInstance0", + "version": "1.0.1", + "description": "Demo automation composition instance 0", + "elements": { + "709c62b3-8918-41b9-a747-d21eb79c6c21": { + "id": "709c62b3-8918-41b9-a747-d21eb79c6c21", + "definition": { + "name": "org.onap.policy.clamp.Local_K8SMicroserviceAutomationCompositionElement", + "version": "1.2.3" + }, + "participantId": "101c62b3-8918-41b9-a747-d21eb79c6c02", + "description": "K8s Automation composition Element for the nginx-ingress microservice", + "properties": { + "chart": { + "chartId": { + "name": "nginx-ingress", + "version": "0.11.0" + }, + "releaseName": "nginxapp", + "namespace": "onap" + } + } + }, + "709c62b3-8918-41b9-a747-d21eb79c6c22": { + "id": "709c62b3-8918-41b9-a747-d21eb79c6c22", + "definition": { + "name": "org.onap.policy.clamp.Http_AutomationCompositionElement", + "version": "1.2.3" + }, + "participantId": "101c62b3-8918-41b9-a747-d21eb79c6c01", + "description": "Http Automation composition Element", + "properties": { + "baseUrl": "http://httpbin.org", + "httpHeaders": { + "Content-Type": "application/json" + }, + "configurationEntities": [ + { + "configurationEntityId": { + "name": "entity1", + "version": "1.0.1" + }, + "restSequence": [ + { + "restRequestId": { + "name": "request1", + "version": "1.0.1" + }, + "httpMethod": "POST", + "path": "post", + "body": "Dummy data for smoke testing", + "expectedResponse": 200 + } + ] + } + ] + } + } + } +} \ No newline at end of file -- cgit