Muthuramalingam, Brinda Santh(bs2796) | 052b7bd | 2018-09-04 20:24:35 +0000 | [diff] [blame] | 1 | {
|
| 2 | "name": "db-source",
|
| 3 | "property" :{
|
| 4 | "description": "name of the ",
|
| 5 | "type": "string"
|
| 6 | },
|
Muthuramalingam, Brinda Santh(bs2796) | 052b7bd | 2018-09-04 20:24:35 +0000 | [diff] [blame] | 7 | "updated-by": "brindasanth@onap.com",
|
| 8 | "tags": "bundle-id, brindasanth@onap.com",
|
| 9 | "sources": {
|
| 10 | "db": {
|
| 11 | "type": "source-db",
|
| 12 | "properties": {
|
| 13 | "query": "SELECT db-country, db-state FROM DEVICE_PROFILE WHERE profile_name = :profile_name",
|
| 14 | "input-key-mapping": {
|
| 15 | "profile_name": "profile_name"
|
| 16 | },
|
| 17 | "output-key-mapping": {
|
| 18 | "db-country": "country",
|
| 19 | "db-state": "state"
|
| 20 | }
|
| 21 | }
|
| 22 | }
|
| 23 | }
|
| 24 | } |