summaryrefslogtreecommitdiffstats
path: root/components/model-catalog/resource-dictionary/starter-dictionary/service-instance-id.json
blob: f78771a604765242bdcc50daa19c7dff721a6746 (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
{
  "name" : "service-instance-id",
  "tags" : "service-instance-id, tosca.datatypes.Root, data_type",
  "updated-by" : "Singal, Kapil <ks220y@att.com>",
  "property" : {
    "description" : "To be provided",
    "type" : "string"
  },
  "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": []
      }
    }
  }
}