aboutsummaryrefslogtreecommitdiffstats
path: root/components/model-catalog/resource-dictionary/starter-dictionary/sample-primary-db-source.json
blob: 656841f2ec0183b181a56b311b12c121908a2b7e (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
{
  "name": "sample-db-source",
  "property" :{
    "description": "name of the ",
    "type": "string"
  },
  "updated-by": "brindasanth@onap.com",
  "tags": "primary-db-source, brindasanth@onap.com",
  "sources": {
    "primary-db": {
      "type": "source-primary-db",
      "properties": {
        "query": "SELECT db-country, db-state FROM DEVICE_PROFILE WHERE profile_name = :profile_name",
        "input-key-mapping": {
          "profile_name": "profile_name"
        },
        "output-key-mapping": {
          "db-country": "country",
          "db-state": "state"
        }
      }
    }
  }
}