summaryrefslogtreecommitdiffstats
path: root/cds-ui/server/src/datasources/resource-dictionary.datasource.json
diff options
context:
space:
mode:
authorNirvan Ramjuttun <nirvan.ramjuttun@amdocs.com>2019-05-07 12:39:19 -0400
committerNirvan Ramjuttun <nirvan.ramjuttun@amdocs.com>2019-05-07 12:40:03 -0400
commit087d4b667a9c5517ac7d014c2bbdad994b927147 (patch)
tree1c0f7eb856794a3a161ebdb3029fba4eb48a6f3e /cds-ui/server/src/datasources/resource-dictionary.datasource.json
parent0924c4da768d1119a17936933606a38de6526b52 (diff)
Modify CDS-UI server to allow communicating with external blueprint mS
Issue-ID: CCSDK-1292 Change-Id: I3536437bad334841d7c7ecd577c092cd13f42a9b Signed-off-by: Nirvan Ramjuttun <nirvan.ramjuttun@amdocs.com>
Diffstat (limited to 'cds-ui/server/src/datasources/resource-dictionary.datasource.json')
-rw-r--r--cds-ui/server/src/datasources/resource-dictionary.datasource.json89
1 files changed, 0 insertions, 89 deletions
diff --git a/cds-ui/server/src/datasources/resource-dictionary.datasource.json b/cds-ui/server/src/datasources/resource-dictionary.datasource.json
deleted file mode 100644
index 9bf5f30c4..000000000
--- a/cds-ui/server/src/datasources/resource-dictionary.datasource.json
+++ /dev/null
@@ -1,89 +0,0 @@
-{
- "name": "resourceDictionary",
- "connector": "rest",
- "baseURL": "http://localhost:8080/api/v1/dictionary",
- "crud": false,
- "operations": [{
- "template": {
- "method": "GET",
- "url": "http://localhost:8080/api/v1/dictionary/{name}",
- "headers": {
- "accepts": "application/json",
- "content-type": "application/json",
- "authorization": "{authtoken}"
- },
- "responsePath": "$.*"
- },
- "functions": {
- "getByName": ["name", "authtoken"]
-
- }
- },
- {
- "template": {
- "method": "GET",
- "url": "http://localhost:8080/api/v1/dictionary/source-mapping",
- "headers": {
- "accepts": "application/json",
- "content-type": "application/json",
- "authorization": "{authtoken}"
- },
- "responsePath": "$.*"
- },
- "functions": {
- "getSourceMapping": ["authtoken"]
-
- }
- },
- {
- "template": {
- "method": "GET",
- "url": "http://localhost:8080/api/v1/dictionary/search/{tags}",
- "headers": {
- "accepts": "application/json",
- "content-type": "application/json",
- "authorization": "{authtoken}"
- },
- "responsePath": "$.*"
- },
- "functions": {
- "getByTags": ["tags", "authtoken"]
-
- }
- },
- {
- "template": {
- "method": "POST",
- "url": "http://localhost:8080/api/v1/dictionary",
- "headers": {
- "accepts": "application/json",
- "content-type": "application/json",
- "authorization": "{authtoken}"
- },
- "body": "{resourceDictionary}",
- "responsePath": "$.*"
- },
- "functions": {
- "save": ["authtoken", "resourceDictionary"]
-
- }
- },
- {
- "template": {
- "method": "POST",
- "url": "http://localhost:8080/api/v1/dictionary/by-names",
- "headers": {
- "accepts": "application/json",
- "content-type": "application/json",
- "authorization": "{authtoken}"
- },
- "body": "{resourceDictionaryList}",
- "responsePath": "$.*"
- },
- "functions": {
- "searchbyNames": ["authtoken", "resourceDictionaryList"]
-
- }
- }
- ]
-} \ No newline at end of file