Resource Resolution Service : 2
[ccsdk/cds.git] / ms / blueprintsprocessor / functions / resource-resolution / src / test / resources / mapping / primary-db / primary-db-array.json
1 {\r
2         "locations": {\r
3                 "name": "locations",\r
4                 "data-type": "list",\r
5                 "entry-schema": "dt-location",\r
6                 "source": {\r
7                         "primary-db": {\r
8                                 "query": "SELECT db-country, db-state FROM DEVICE_PROFILE WHERE profile_name = :profile_name",\r
9                                 "input-key-mapping": {\r
10                                         "profile_name": "profile_name"\r
11                                 },\r
12                                 "output-key-mapping": {\r
13                                         "db-country": "country",\r
14                                         "db-state": "state"\r
15                                 }\r
16                         }\r
17                 },\r
18                 "candidate-dependency": {\r
19                         "primary-db": {\r
20                                 "names": [\r
21                                         "profile_name"\r
22                                 ]\r
23                         }\r
24                 }\r
25         },\r
26         "profile_name": {\r
27                 "name": "profile_name",\r
28                 "data-type": "string",\r
29                 "source": {\r
30                         "input": {\r
31                                 \r
32                         }\r
33                 }\r
34         }\r
35 }\r