From 5728f2d081afbf4c89d2128ba952200877155f7d Mon Sep 17 00:00:00 2001 From: Vidyashree Rama Date: Wed, 12 Sep 2018 17:44:19 +0530 Subject: Fixed CCVPN closed loop integration issue 1.Service instance will be single instance not list of instances 2.URL for AAI query has to be modified. Issue-ID: HOLMES-166 Change-Id: I205917531f15ece9a32c61bd5bf0e26f1b089c12 Signed-off-by: Vidyashree Rama --- holmes-actions/src/test/resources/ccvpn.data.json | 57 ++++------------------- 1 file changed, 10 insertions(+), 47 deletions(-) (limited to 'holmes-actions/src/test/resources') diff --git a/holmes-actions/src/test/resources/ccvpn.data.json b/holmes-actions/src/test/resources/ccvpn.data.json index 773b91b..5f47cd1 100644 --- a/holmes-actions/src/test/resources/ccvpn.data.json +++ b/holmes-actions/src/test/resources/ccvpn.data.json @@ -1,5 +1,6 @@ { "resource-version": "1536316872154", + "link-type": "VL", "logic-link": { "p-interface": { "interface-name": "{ifName}", @@ -98,7 +99,7 @@ "relationship": [ { "related-to": "service-instance", - "related-link": "/aai/v14/business/customers/customer/e151059a-d924-4629-845f-264db19e50b4/service-subscriptions/service-subscription/volte/service-instances?service-instance-id=service-1", + "related-link": "/aai/v14/business/customers/customer/e151059a-d924-4629-845f-264db19e50b4/service-subscriptions/service-subscription/volte/service-instances/service-instance/service-1", "relationship-data": [ { "relationship-key": "service-instance.service-instance-id", @@ -111,52 +112,14 @@ } }, "service-instances-by-service-type": { - "results": [ - { - "service-subscription": { - "service-type": "volte", - "temp-ub-sub-account-id": "some sub account", - "service-instances": { - "service-instance": [ - { - "service-instance-id": "some id 1", - "service-instance-name": "some name 1", - "environment-context": "some context 1", - "workload-context": "some workload 1", - "relationship-list": { - "relationship": [ - ] - } - }, - { - "service-instance-id": "some id 2", - "service-instance-name": "some name 2", - "environment-context": "some context 2", - "workload-context": "some workload 2", - "relationship-list": { - "relationship": [ - ] - } - }, - { - "service-instance-id": "some id 3", - "service-instance-name": "some name 3", - "environment-context": "some context 3", - "workload-context": "some workload 3", - "relationship-list": { - "relationship": [ - ] - } - } - ] - }, - "relationship-list": { - "relationship": [ - ] - } - } - } - ] + "service-instance-id": "some id 1", + "service-instance-name": "some name 1", + "environment-context": "some context 1", + "workload-context": "some workload 1", + "relationship-list": { + "relationship": [ + ] + } }, "service-instance": { "service-instance-id": "176d9eba-1662-4289-8396-0097b50fd485", -- cgit 1.2.3-korg