{ | |
"name": "db-source", | |
"property" :{ | |
"description": "name of the ", | |
"type": "string" | |
}, | |
"resource-type": "ONAP", | |
"resource-path": "vnf/bundle-id", | |
"updated-by": "brindasanth@onap.com", | |
"tags": "bundle-id, brindasanth@onap.com", | |
"sources": { | |
"db": { | |
"type": "source-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" | |
} | |
} | |
} | |
} | |
} |