summaryrefslogtreecommitdiffstats
path: root/components/model-catalog/resource-dictionary/starter-dictionary/service-instance-id.json
blob: fdebe5503808f6f8f56918106a4aa6ed179b8c64 (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
{
	"tags": "service-instance-id, tosca.datatypes.Root, data_type",
	"name": "service-instance-id",
	"property": {
		"description": "To be provided",
		"type": "string"
	},
	"updated-by": "Singal, Kapil <ks220y@att.com>",
	"sources": {
		"input": {
			"type": "source-input",
			"properties": {}
		},
		"any-db": {
			"type": "source-db",
			"properties": {
				"query": "SELECT artifact_name FROM BLUEPRINT_RUNTIME where artifact_version=\"1.0.0\"",
				"input-key-mapping": {},
				"output-key-mapping": {
					"service-instance-id": "artifact_name"
				}
			}
		},
		"processor-db": {
			"type": "source-db",
			"properties": {
				"query": "SELECT artifact_name FROM BLUEPRINT_RUNTIME where artifact_version=\"1.0.0\"",
				"input-key-mapping": {},
				"output-key-mapping": {
					"service-instance-id": "artifact_name"
				}
			}
		},
		"capability": {
			"type": "source-capability",
			"properties": {
				"script-type": "jython",
				"script-class-reference": "SampleRAProcessor",
				"instance-dependencies": []
			}
		},
		"sdnc": {
			"type": "source-rest",
			"properties": {
				"verb": "GET",
				"type": "JSON",
				"url-path": "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id",
				"path": "/service/0/service-instance-id",
				"input-key-mapping": {
					"service-instance-id": "service-instance.service-instance-id"
				},
				"output-key-mapping": {
					"service-instance-id": "service-instance-id"
				},
				"key-dependencies": ["service-instance.service-instance-id"]
			}
		}
	}
}