Bug fix: Enrichment fails for processor-db source
[ccsdk/cds.git] / components / model-catalog / blueprint-model / test-blueprint / capability_python / Definitions / resources_definition_types.json
1 {
2   "service-instance-id" : {
3     "tags" : "service-instance-id, tosca.datatypes.Root, data_type",
4     "name" : "service-instance-id",
5     "property" : {
6       "description" : "To be provided",
7       "type" : "string"
8     },
9     "updated-by" : "Singal, Kapil <ks220y@att.com>",
10     "sources" : {
11       "input" : {
12         "type" : "source-input",
13         "properties" : { }
14       },
15       "primary-db": {
16         "type": "source-processor-db",
17         "properties": {
18           "endpoint-selector": "dynamic-db-source",
19           "query": "SELECT artifact_name FROM sdnctl.BLUEPRINT_RUNTIME where artifact_version=\"1.0.0\"",
20           "input-key-mapping": {
21           },
22           "output-key-mapping": {
23             "service-instance-id": "artifact_name"
24           },
25           "key-dependencies" : []
26         }
27       },
28       "capability": {
29         "type": "source-capability",
30         "properties": {
31           "type": "JYTHON-COMPONENT",
32           "instance-name": "SampleRAProcessor",
33           "instance-dependencies": []
34         }
35       }
36     }
37   },
38   "vnf-id" : {
39     "tags" : "vnf-id",
40     "name" : "vnf-id",
41     "property" : {
42       "description" : "vnf-id",
43       "type" : "string"
44     },
45     "updated-by" : "Singal, Kapil <ks220y@att.com>",
46     "sources" : {
47       "input" : {
48         "type" : "source-input",
49         "properties" : { }
50       }
51     }
52   }
53 }