From 122a42a959de49a0f9fcc817d9e75ab8ef908cf5 Mon Sep 17 00:00:00 2001 From: Alexis de Talhouët Date: Mon, 2 Sep 2019 15:22:48 -0400 Subject: Do not duplicate model types and data dictionaries MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I960e9ce040490dea82bd9afa9133ed982fe08d14 Issue-ID: CCSDK-1663 Signed-off-by: Alexis de Talhouët --- .../starter-dictionary/db-source.json | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 components/model-catalog/resource-dictionary/starter-dictionary/db-source.json (limited to 'components/model-catalog/resource-dictionary/starter-dictionary') 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" + } + } + } + } +} -- cgit 1.2.3-korg