aboutsummaryrefslogtreecommitdiffstats
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
commita9bf0541c65d8bb81b814bd85253cf4518fcb52b (patch)
tree9b629b6f70cedf70fa4595d55c4a337fbc80add4 /components/model-catalog/resource-dictionary/starter-dictionary/db-source.json
parent115a90365564d9cb5a6415f4fa525b999a36b5ea (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 00000000..de46524c
--- /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