summaryrefslogtreecommitdiffstats
path: root/components/model-catalog/resource-dictionary/starter-dictionary/vf-naming-policy.json
blob: 7af89e193c6ad989acf8b2ff050999e16edb2939 (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
{
	"tags": "vf-naming-policy",
	"name": "vf-naming-policy",
	"property": {
		"description": "vf-naming-policy",
		"type": "string"
	},
	"updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
	"sources": {
		"default": {
			"type": "source-default",
			"properties": {}
		},
		"sdnc": {
			"type": "source-rest",
			"properties": {
				"verb": "GET",
				"type": "JSON",
				"url-path": "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/vf-naming-policy",
				"path": "/param/0/value",
				"input-key-mapping": {
					"service-instance-id": "service-instance-id",
					"vnf-id": "vnf-id"
				},
				"output-key-mapping": {
					"vf-naming-policy": "value"
				},
				"key-dependencies": [
					"service-instance-id",
					"vnf-id"
				]
			}
		},
		"processor-db": {
			"type": "source-db",
			"properties": {
				
				"type": "SQL",
				"query": "select sdnctl.VF_MODEL.naming_policy as vf_naming_policy from sdnctl.VF_MODEL where sdnctl.VF_MODEL.customization_uuid=:vnf_model_customization_uuid",
				"input-key-mapping": {
					"vnf_model_customization_uuid": "vnf-model-customization-uuid"
				},
				"output-key-mapping": {
					"vf-naming-policy": "vf_naming_policy"
				},
				"key-dependencies": [
					"vnf-model-customization-uuid"
				]
			}
		}
	}
}