summaryrefslogtreecommitdiffstats
path: root/cds-ui/client
diff options
context:
space:
mode:
authorArundathi Patil <arundpil@in.ibm.com>2019-07-23 19:58:08 +0530
committerArundathi Patil <arundpil@in.ibm.com>2019-07-23 19:58:20 +0530
commit184d052ef0224c45184a1eaacdf84b11cb7661dc (patch)
treee1efc05ad63ac0f7f4c37fb7c3279ed27a021df4 /cds-ui/client
parent6434d38dc045a10f17beec4d015348580ac09ddf (diff)
Loopback URL update
Added loopback URl's for fetching source list and model type Issue-ID: CCSDK-707 Change-Id: I9546d9b67183413a180af60cece9996b4d5e8f11 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
Diffstat (limited to 'cds-ui/client')
-rw-r--r--cds-ui/client/src/app/feature-modules/resource-definition/resource-edit/resource-edit.service.ts6
1 files changed, 2 insertions, 4 deletions
diff --git a/cds-ui/client/src/app/feature-modules/resource-definition/resource-edit/resource-edit.service.ts b/cds-ui/client/src/app/feature-modules/resource-definition/resource-edit/resource-edit.service.ts
index 417f6edb3..ed1ef6f37 100644
--- a/cds-ui/client/src/app/feature-modules/resource-definition/resource-edit/resource-edit.service.ts
+++ b/cds-ui/client/src/app/feature-modules/resource-definition/resource-edit/resource-edit.service.ts
@@ -38,12 +38,10 @@ export class ResourceEditService {
}
getSources() {
- // to do
- return this.api.get('ResourceDictionaryURLs.getSources');
+ return this.api.get(ResourceDictionaryURLs.getSources);
}
getModelType(name) {
- // to do
- return this.api.get("ResourceDictionaryURLs.getModelType + '/' + name");
+ return this.api.get(ResourceDictionaryURLs.getModelType + '/' + name);
}
} \ No newline at end of file