summaryrefslogtreecommitdiffstats
path: root/ms/controllerblueprints/modules/service/load/resource_dictionary/db-source.json
blob: 862523544c91c448faf2b91b1932a4ea0420caaf (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
{
  "name": "bundle-id",
  "description": "name of the ",
  "resource-type": "ONAP",
  "resource-path": "vnf/bundle-id",
  "updated-by": "brindasanth@onap.com",
  "data-type": "String",
  "tags": "bundle-id, brindasanth@onap.com",
  "source": {
    "db": {
      "query": "SELECT bundle-id FROM DEVICE_PROFILE WHERE profile_name = :profile_name",
      "input-key-mapping": {
        "profile_name": "profile_name"
      },
      "output-key-mapping": {
        "db-country": "country",
        "db-state": "state"
      }
    }
  },
  "decryption-rules": [
    {
      "sources": [
        "input"
      ],
      "path": "/.",
      "rule": "LOCAL-Decrypt",
      "decrypt-type": "AES128"
    }
  ]
}