diff options
author | 2018-08-22 08:27:29 +0800 | |
---|---|---|
committer | 2018-08-22 08:27:29 +0800 | |
commit | 96e0893e38e4bb8c69947f255ac27fb89a72122f (patch) | |
tree | df980d3ed4233bd14e4cd6b3ecffbf97bafd98d3 /holmes-actions/src/test/resources | |
parent | 88350d3c9580855053aabc6d83ff8f54919137de (diff) |
Fixed Some Data Format Anormaly
Change-Id: I703cc9c96156ac85832a5200d3a24b0402b4b0f4
Issue-ID: HOLMES-160
Signed-off-by: GuangrongFu <fu.guangrong@zte.com.cn>
Diffstat (limited to 'holmes-actions/src/test/resources')
-rw-r--r-- | holmes-actions/src/test/resources/ccvpn.data.json | 40 |
1 files changed, 24 insertions, 16 deletions
diff --git a/holmes-actions/src/test/resources/ccvpn.data.json b/holmes-actions/src/test/resources/ccvpn.data.json index 6632cc2..ecdb7d5 100644 --- a/holmes-actions/src/test/resources/ccvpn.data.json +++ b/holmes-actions/src/test/resources/ccvpn.data.json @@ -13,10 +13,12 @@ { "related-to": "logical-link", "related-link": "url of logical-link", - "relationship-data": { - "relationship-key": "logical-link.link-name", - "relationship-value": "logic-link-1" - } + "relationship-data": [ + { + "relationship-key": "logical-link.link-name", + "relationship-value": "logic-link-1" + } + ] } ] } @@ -38,10 +40,12 @@ { "related-to": "vpn-binding", "related-link": "url of vpn-binding", - "relationship-data": { - "relationship-key": "vpn-binding.vpn-id", - "relationship-value": "some id" - } + "relationship-data": [ + { + "relationship-key": "vpn-binding.vpn-id", + "relationship-value": "some id" + } + ] } ] } @@ -68,10 +72,12 @@ { "related-to": "connectivity", "related-link": "url of connectivity", - "relationship-data": { - "relationship-key": "connectivity. connectivity-id", - "relationship-value": "some id" - } + "relationship-data": [ + { + "relationship-key": "connectivity. connectivity-id", + "relationship-value": "some id" + } + ] } ] } @@ -106,10 +112,12 @@ { "related-to": "service-instance", "related-link": "/aai/v14/business/customers/customer/{global-customer-id}/service-subscriptions/service-subscription/{service-type}/service-instances?service-instance-id=service-1", - "relationship-data": { - "relationship-key": "service-instance.service-instance-id", - "relationship-value": "some id" - } + "relationship-data": [ + { + "relationship-key": "service-instance.service-instance-id", + "relationship-value": "some id" + } + ] } ] } |