summaryrefslogtreecommitdiffstats
path: root/components/model-catalog/resource-dictionary
diff options
context:
space:
mode:
authorAlexis de Talhouët <adetalhouet89@gmail.com>2019-09-02 15:22:48 -0400
committerAlexis de Talhouët <adetalhouet89@gmail.com>2019-09-03 13:04:52 +0000
commit122a42a959de49a0f9fcc817d9e75ab8ef908cf5 (patch)
tree0c1be4b9b89b2bc1e19ffae1088312632e94f78a /components/model-catalog/resource-dictionary
parentcd29a05ccd4279d7fb740d03bbeee6a0839b287e (diff)
Do not duplicate model types and data dictionaries
Change-Id: I960e9ce040490dea82bd9afa9133ed982fe08d14 Issue-ID: CCSDK-1663 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
Diffstat (limited to 'components/model-catalog/resource-dictionary')
-rw-r--r--components/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 100644
index 000000000..ce062726a
--- /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": {
+ "processor-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"
+ }
+ }
+ }
+ }
+}