Resource Resolution Service: Source Rest
[ccsdk/cds.git] / components / model-catalog / blueprint-model / starter-blueprint / baseconfiguration / Definitions / resources_definition_types.json
1 {
2   "service-instance-id": {
3     "name": "service-instance-id",
4     "tags": "service-instance-id, tosca.datatypes.Root, data_type",
5     "updated-by": "Singal, Kapil <ks220y@att.com>",
6     "property": {
7       "description": "To be provided",
8       "type": "string"
9     },
10     "sources": {
11       "input": {
12         "type": "source-input",
13         "properties": {}
14       }
15     }
16   },
17   "vnf-id": {
18     "name": "vnf-id",
19     "tags": "vnf-id",
20     "updated-by": "Singal, Kapil <ks220y@att.com>",
21     "property": {
22       "description": "vnf-id",
23       "type": "string"
24     },
25     "sources": {
26       "input": {
27         "type": "source-input",
28         "properties": {}
29       }
30     }
31   },
32   "vnf_name": {
33     "name": "vnf_name",
34     "tags": "vnf_name",
35     "updated-by": "Singal, Kapil <ks220y@att.com>",
36     "property": {
37       "description": "vnf_name",
38       "type": "string"
39     },
40     "sources": {
41       "primary-config-data": {
42         "type": "source-rest",
43         "properties": {
44           "type": "JSON",
45           "url-path": "config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/vnf_name",
46           "path": "/param/0/value",
47           "input-key-mapping": {
48             "service-instance-id": "service-instance-id",
49             "vnf-id": "vnf-id"
50           },
51           "output-key-mapping": {
52             "vnf_name": "value"
53           },
54           "key-dependencies": [
55             "service-instance-id",
56             "vnf-id"
57           ]
58         }
59       }
60     }
61   }
62 }