summaryrefslogtreecommitdiffstats
path: root/components/model-catalog/resource-dictionary/starter-dictionary/db-source.json
diff options
context:
space:
mode:
authorMuthuramalingam, Brinda Santh(bs2796) <bs2796@att.com>2018-11-10 11:54:05 -0500
committerMuthuramalingam, Brinda Santh(bs2796) <bs2796@att.com>2018-11-10 15:55:03 -0500
commitc4dcf1aac48980494d95a5640a7ab7a3c2d345d5 (patch)
tree9e31852ab40d9dc2b4884161aa5d078fbf250dd8 /components/model-catalog/resource-dictionary/starter-dictionary/db-source.json
parent6f870c292d660c0fa661044c8592ddce049e1600 (diff)
Controller Design Studio
Upgrade Spring Boot and Kotlin versions. Change-Id: If0d7d0f476d8cfd23916013ff1ab554b26bc6b7a Issue-ID: CCSDK-658 Signed-off-by: Muthuramalingam, Brinda Santh(bs2796) <bs2796@att.com>
Diffstat (limited to 'components/model-catalog/resource-dictionary/starter-dictionary/db-source.json')
-rwxr-xr-xcomponents/model-catalog/resource-dictionary/starter-dictionary/db-source.json24
1 files changed, 24 insertions, 0 deletions
diff --git a/components/model-catalog/resource-dictionary/starter-dictionary/db-source.json b/components/model-catalog/resource-dictionary/starter-dictionary/db-source.json
new file mode 100755
index 000000000..de46524ce
--- /dev/null
+++ b/components/model-catalog/resource-dictionary/starter-dictionary/db-source.json
@@ -0,0 +1,24 @@
+{
+ "name": "db-source",
+ "property" :{
+ "description": "name of the ",
+ "type": "string"
+ },
+ "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"
+ }
+ }
+ }
+ }
+} \ No newline at end of file