aboutsummaryrefslogtreecommitdiffstats
path: root/blueprints-processor/plugin/assignment-provider/src/test/resources/mapping/Mdsal/mdsal-complex.json
blob: f5a7d7ef6479f5d001517184aca032b67450ae0e (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
{
	"location": {
		"name": "location",
		"property": {
			"type": "dt-location"
		},
		"sources": {
			"mdsal": {
				"type": "source-mdsal",
				"properties": {
					"url-path": "/restconf/config/L3VNF-API/services/service-list/$profile_name/12345",
					"path": "/locations",
					"input-key-mapping": {
						"profile_name": "profile_name"
					},
					"output-key-mapping": {
						"mdsal-country": "country",
						"mdsal-state": "state"
					},
					"key-dependencies": [
						"profile_name"
					]
				}
			}
		}
	},
	"profile_name": {
		"name": "profile_name",
		"property": {
			"type": "string"
		},
		"sources": {
			"default": {
				"type": "source-input"
			}
		}
	}
}