summaryrefslogtreecommitdiffstats
path: root/ms/gra/gra-app/src/test/resources/service1-netinstancegrp.json
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2021-11-29 16:01:45 -0500
committerDan Timoney <dtimoney@att.com>2021-12-02 12:58:16 -0500
commit4d0e2bd865cf490eb3f8d72dbbf02dd3ba8e5178 (patch)
treeed14c5b16345b2dab67e5b380037b95e6eb1d328 /ms/gra/gra-app/src/test/resources/service1-netinstancegrp.json
parent749b6f7c68f3a343ba9aae5a2f5f0f5d6d1909ea (diff)
Add test cases for gra microservice
Add test cases for GRA microservice to address test coverage being under target Issue-ID: SDNC-1638 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: If9422cdb577ef3984f17f4ef7aa2cd7e362e2fd4
Diffstat (limited to 'ms/gra/gra-app/src/test/resources/service1-netinstancegrp.json')
-rw-r--r--ms/gra/gra-app/src/test/resources/service1-netinstancegrp.json35
1 files changed, 35 insertions, 0 deletions
diff --git a/ms/gra/gra-app/src/test/resources/service1-netinstancegrp.json b/ms/gra/gra-app/src/test/resources/service1-netinstancegrp.json
new file mode 100644
index 0000000..5cd12db
--- /dev/null
+++ b/ms/gra/gra-app/src/test/resources/service1-netinstancegrp.json
@@ -0,0 +1,35 @@
+{
+ "network-instance-group" : {
+ "network-instance-group-id": "netgrp123",
+ "networks": {
+ "network": [
+ {
+ "network-id": "net123",
+ "vpn-bindings": [
+ {
+ "vpn-binding-id": "vpnbind1",
+ "route-target-role": "both",
+ "vpn-name": "myvpn",
+ "global-route-target": "target1",
+ "aic-zone": "RDM5"
+ }
+ ]
+ }
+ ]
+ },
+ "subnet-key-value": "subnet1",
+ "service-instance-id": "5c4f2d89-57a3-47e9-b49b-d3c63eb0b3ca",
+ "subnet-assignment-policy": {
+ "subnet-use": "shared"
+ },
+ "subnets": [
+ {
+ "start-address": "10.1.1.1",
+ "ip-version": "4",
+ "dhcp-enabled": "N",
+ "subnet-name": "subnet1",
+ "cidr-mask": "26"
+ }
+ ]
+ }
+}