diff options
author | 2018-11-15 08:36:28 -0500 | |
---|---|---|
committer | 2018-11-15 08:36:28 -0500 | |
commit | ec92866fa0bc8d8cd7a6ce4d5d5fd014d8eacef1 (patch) | |
tree | a9f5e6a735f2d87524d1d08ce00efe524e4c53c2 /ms/blueprintsprocessor/functions/resource-resolution/src/test/resources/mapping/db/db-simple.json | |
parent | ee9f70f704e978c2119a5e8f38ed98a8a1b70590 (diff) |
Blueprints Processor Microservice
Refactor functon module as seperate module project.
Change-Id: I392fc62e6dfb6c5f38f478c00e46460d5084f85c
Issue-ID: CCSDK-688
Signed-off-by: Muthuramalingam, Brinda Santh(bs2796) <bs2796@att.com>
Diffstat (limited to 'ms/blueprintsprocessor/functions/resource-resolution/src/test/resources/mapping/db/db-simple.json')
-rw-r--r-- | ms/blueprintsprocessor/functions/resource-resolution/src/test/resources/mapping/db/db-simple.json | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/ms/blueprintsprocessor/functions/resource-resolution/src/test/resources/mapping/db/db-simple.json b/ms/blueprintsprocessor/functions/resource-resolution/src/test/resources/mapping/db/db-simple.json new file mode 100644 index 00000000..841404f2 --- /dev/null +++ b/ms/blueprintsprocessor/functions/resource-resolution/src/test/resources/mapping/db/db-simple.json @@ -0,0 +1,26 @@ +{
+ "country": {
+ "name": "country",
+ "data-type": "string",
+ "source": {
+ "db": {
+ "query": "SELECT country FROM DEVICE_PROFILE WHERE profile_name = :profile_name",
+ "input-key-mapping": {
+ "profile_name": "profile_name"
+ },
+ "output-key-mapping": {
+ "country": "country"
+ }
+ }
+ }
+ },
+ "profile_name": {
+ "name": "profile_name",
+ "data-type": "string",
+ "source": {
+ "input": {
+
+ }
+ }
+ }
+}
|