diff options
author | 2018-09-12 17:44:19 +0530 | |
---|---|---|
committer | 2018-09-12 17:46:41 +0530 | |
commit | 5728f2d081afbf4c89d2128ba952200877155f7d (patch) | |
tree | e166572d042f97b026bbcc000c0bd032b0754c5a /holmes-actions/src/test/resources | |
parent | 0473a39534d0b913f480a196dbbdef78d2440a73 (diff) |
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 <vidyashree.rama@huawei.com>
Diffstat (limited to 'holmes-actions/src/test/resources')
-rw-r--r-- | holmes-actions/src/test/resources/ccvpn.data.json | 57 |
1 files changed, 10 insertions, 47 deletions
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", |