diff options
author | Brinda Santh Muthuramalingam <brindasanth@in.ibm.com> | 2019-09-10 00:26:08 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-09-10 00:26:08 +0000 |
commit | 85f7fb219f6e1f4227ac1463290f6a6aafc2b84f (patch) | |
tree | 5ad10124076ce5fd5210075dd20046a3b7d78031 /cds-ui/server/src/datasources | |
parent | 98a00a5e3fac8b2ea7a23b8265fb5d70a8b9d35f (diff) | |
parent | 7918513759a4a6fd5ae90640c6b654a1a61f46b8 (diff) |
Merge "Resource Dictionary: fecthing data-type list"
Diffstat (limited to 'cds-ui/server/src/datasources')
-rw-r--r-- | cds-ui/server/src/datasources/resource-dictionary.datasource-template.ts | 17 |
1 files changed, 16 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 af96aca04..9f9d754d1 100644 --- a/cds-ui/server/src/datasources/resource-dictionary.datasource-template.ts +++ b/cds-ui/server/src/datasources/resource-dictionary.datasource-template.ts @@ -88,7 +88,6 @@ export default { } }, - , { "template": { "method": "GET", @@ -104,6 +103,22 @@ export default { "getModelType": ["source"] } + }, + { + "template": { + "method": "GET", + "url": controllerApiConfig.http.url + "/model-type/by-definition/data_type", + "headers": { + "accepts": "application/json", + "content-type": "application/json", + "authorization": controllerApiConfig.http.authToken + }, + "responsePath": "$.*" + }, + "functions": { + "getDataTypes": [] + + } } ] };
\ No newline at end of file |