summaryrefslogtreecommitdiffstats
path: root/cds-ui/server/src/datasources
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2019-07-19 13:55:50 +0000
committerGerrit Code Review <gerrit@onap.org>2019-07-19 13:55:50 +0000
commitfdbb1a7b9bf8159438f439bd0fae8a870a16c527 (patch)
tree8f1f4de1be8072692f682d5506e2b633c0ee6eeb /cds-ui/server/src/datasources
parentca17e0c71e738520a19cad7e0944177eaeb51c07 (diff)
parent3dd38ac3051a80adcbdb70cfb1c3550b6c507506 (diff)
Merge "loopback Api- get Sources list"
Diffstat (limited to 'cds-ui/server/src/datasources')
-rw-r--r--cds-ui/server/src/datasources/resource-dictionary.datasource-template.ts17
1 files changed, 17 insertions, 0 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 c749eee62..af96aca04 100644
--- a/cds-ui/server/src/datasources/resource-dictionary.datasource-template.ts
+++ b/cds-ui/server/src/datasources/resource-dictionary.datasource-template.ts
@@ -87,6 +87,23 @@ export default {
"searchbyNames": ["resourceDictionaryList"]
}
+ },
+ ,
+ {
+ "template": {
+ "method": "GET",
+ "url": controllerApiConfig.http.url + "/model-type/{source}",
+ "headers": {
+ "accepts": "application/json",
+ "content-type": "application/json",
+ "authorization": controllerApiConfig.http.authToken
+ },
+ "responsePath": "$.*"
+ },
+ "functions": {
+ "getModelType": ["source"]
+
+ }
}
]
}; \ No newline at end of file