summaryrefslogtreecommitdiffstats
path: root/src/test/resources/model-validation/instance-validator/connector-instance.json
blob: 4fb489ea661e8c17ef066c9997862f59873b9824 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
{
	"cambria.partition": "AAI",
	"event-header": {
		"id": "20160525162737-61c49d41-5338-4755-af54-06cee9fe4acf",
		"timestamp": "20160525-16:27:37:353",
		"source-name": "RO",
		"domain": "devINT1",
		"sequence-number": "0",
		"severity": "NORMAL",
		"event-type": "AAI-EVENT",
		"version": "v9",
		"action": "CREATE",
		"entity-type": "connector",
		"top-entity-type": "connector",
		"entity-link": "https://dummy-host.onap.org:8443/aai/v9/business/connectors/connector/c7611ebe-c324-48f1-8085-94aef0c12fd"
	},
	"entity": {
		"inventory-response-item": [
			{
				"connector": {
					"resource-instance-id": "c7611ebe-c324-48f1-8085-94aef0c12fd",
					"resource-version": "1467975776",
					"persona-model-id": "connector-widget-id",
					"persona-model-version": "v1.0",
					"widget-model-id": "example-widget-model-id-val-69486",
					"widget-model-version": "v1.0"
				},
				"extra-properties": {
			        "metadatum": [
			          {
			            "metaname": "vpn-id",
			            "metaval": "vpn-id-value-1",
			            "resource-version": "1465990410"
			          },
			          {
			            "metaname": "product",
			            "metaval": "product-value-1",
			            "resource-version": "1465990410"
			          }
			        ]
				},
				"inventory-response-items": {
					"inventory-response-item": [
						{
							"virtual-data-center": {
								"vdc-id": "vdc-01",
								"vdc-name": "example-vdc-name-val-10107",
								"resource-version": "1467975781"
							},
							"extra-properties": {
								
							},
							"inventory-response-items": {
								"inventory-response-item": [
									{
										"logical-link": {
											"link-name": "example-link-name-val-23759",
											"link-type": "example-link-type-val-23759",
											"speed-value": "example-speed-value-val-23759",
											"speed-units": "example-speed-units-val-23759",
											"ip-version": "example-ip-version-val-23759",
											"routing-protocol": "example-routing-protocol-val-23759",
											"resource-version": "1467975786",
											"persona-model-id": "example-persona-model-id-val-23759",
											"persona-model-version": "example-persona-model-version-val-23759",
											"widget-model-id": "example-widget-model-id-val-23759",
											"widget-model-version": "example-widget-model-version-val-23759"
										},
										"extra-properties": {
											
										},
										"inventory-response-items": {
											"inventory-response-item": [
												{
													"pserver": {
														"hostname": "example-hostname-val-79914",
														"ptnii-equip-name": "example-ptnii-equip-name-val-79914",
														"number-of-cpus": 79914,
														"disk-in-gigabytes": 79914,
														"ram-in-megabytes": 79914,
														"equip-type": "example-equip-type-val-79914",
														"equip-vendor": "example-equip-vendor-val-79914",
														"equip-model": "example-equip-model-val-79914",
														"fqdn": "example-fqdn-val-79914",
														"pserver-selflink": "example-pserver-selflink-val-79914",
														"ipv4-oam-address": "example-ipv4-oam-address-val-79914",
														"serial-number": "example-serial-number-val-79914",
														"pserver-id": "example-pserver-id-val-79914",
														"internet-topology": "example-internet-topology-val-79914",
														"in-maint": true,
														"resource-version": "1467994603",
														"pserver-name2": "example-pserver-name2-val-79914",
														"purpose": "example-purpose-val-79914"
													},
													"extra-properties": {
														
													},
													"inventory-response-items": {
														
													}
												}
											]
										}
									}
								]
							}
						}
					]
				}
			}
		]
	}
}