aboutsummaryrefslogtreecommitdiffstats
path: root/ms/controllerblueprints/application/load/resource_dictionary/db-source.json
diff options
context:
space:
mode:
authorAlexis de Talhouët <adetalhouet89@gmail.com>2018-09-28 00:16:13 +0200
committerAlexis de Talhouët <adetalhouet89@gmail.com>2018-10-09 10:56:08 -0400
commitd8268f3e181d7fc175b65c52094d5379ab170d7d (patch)
tree29682300f47e7fd6ab0e52d59f070c777584ee88 /ms/controllerblueprints/application/load/resource_dictionary/db-source.json
parent9fa7b8cf6018acf37716a8df3f1bafd7c2ea8ac1 (diff)
Add DD, blueprint and template for self-serve vFW
Change-Id: If818d768a471156d02db357c83b005f7dae761ff Issue-ID: CCSDK-601 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com> Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com>
Diffstat (limited to 'ms/controllerblueprints/application/load/resource_dictionary/db-source.json')
-rwxr-xr-xms/controllerblueprints/application/load/resource_dictionary/db-source.json24
1 files changed, 24 insertions, 0 deletions
diff --git a/ms/controllerblueprints/application/load/resource_dictionary/db-source.json b/ms/controllerblueprints/application/load/resource_dictionary/db-source.json
new file mode 100755
index 00000000..de46524c
--- /dev/null
+++ b/ms/controllerblueprints/application/load/resource_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