diff options
author | Brinda Santh Muthuramalingam <brindasanth@in.ibm.com> | 2019-12-09 15:45:11 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-12-09 15:45:11 +0000 |
commit | 8c9d040846d93a99c88f6b7afba2ede1327bfa39 (patch) | |
tree | f160933e01b975e9e6a89c0f4476cc718b11d60a /cds-ui/server/src/datasources | |
parent | dac9afbc6df66dfe3700b37f12b51bccebf74e83 (diff) | |
parent | 54865af76aedb77dc6abc560c095864094e6ad64 (diff) |
Merge "add service for getting model type with definition"
Diffstat (limited to 'cds-ui/server/src/datasources')
-rw-r--r-- | cds-ui/server/src/datasources/resource-dictionary.datasource-template.ts | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/cds-ui/server/src/datasources/resource-dictionary.datasource-template.ts b/cds-ui/server/src/datasources/resource-dictionary.datasource-template.ts index f839bb225..7373d069e 100644 --- a/cds-ui/server/src/datasources/resource-dictionary.datasource-template.ts +++ b/cds-ui/server/src/datasources/resource-dictionary.datasource-template.ts @@ -119,6 +119,22 @@ export default { "getDataTypes": [] } + }, + { + "template": { + "method": "GET", + "url": processorApiConfig.http.url + "/model-type/by-definition/{type}", + "headers": { + "accepts": "application/json", + "content-type": "application/json", + "authorization": processorApiConfig.http.authToken + }, + "responsePath": "$.*" + }, + "functions": { + "getResourceDictionaryByType": ["type"] + + } } ] -};
\ No newline at end of file +}; |