aboutsummaryrefslogtreecommitdiffstats
path: root/ms/controllerblueprints/modules/resource-dict/load/resource_dictionary/primary-db-source.json
diff options
context:
space:
mode:
authorMuthuramalingam, Brinda Santh <brindasanth@in.ibm.com>2019-02-07 14:51:50 -0500
committerMuthuramalingam, Brinda Santh <brindasanth@in.ibm.com>2019-02-07 14:51:50 -0500
commit4937f56d90371c7a7b5b6c52314c28df716f41ae (patch)
treeeb1064d9679bcfe9ada8156c83f563beff093ec3 /ms/controllerblueprints/modules/resource-dict/load/resource_dictionary/primary-db-source.json
parent9a4387cf89f95ecdce9d135677a4b4c4c94a8b94 (diff)
Refactor components core and resource dict modules
Change-Id: I04e9e723d68a38ecefe48206e67fddbe43c55854 Issue-ID: CCSDK-1047 Signed-off-by: Muthuramalingam, Brinda Santh <brindasanth@in.ibm.com>
Diffstat (limited to 'ms/controllerblueprints/modules/resource-dict/load/resource_dictionary/primary-db-source.json')
-rw-r--r--ms/controllerblueprints/modules/resource-dict/load/resource_dictionary/primary-db-source.json24
1 files changed, 24 insertions, 0 deletions
diff --git a/ms/controllerblueprints/modules/resource-dict/load/resource_dictionary/primary-db-source.json b/ms/controllerblueprints/modules/resource-dict/load/resource_dictionary/primary-db-source.json
new file mode 100644
index 00000000..26e62e85
--- /dev/null
+++ b/ms/controllerblueprints/modules/resource-dict/load/resource_dictionary/primary-db-source.json
@@ -0,0 +1,24 @@
+{
+ "name": "primary-db-source",
+ "property" :{
+ "description": "name of the ",
+ "type": "string"
+ },
+ "updated-by": "brindasanth@onap.com",
+ "tags": "bundle-id, brindasanth@onap.com",
+ "sources": {
+ "primary-db": {
+ "type": "source-primary-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