Loopback URL update 72/91872/1
authorArundathi Patil <arundpil@in.ibm.com>
Tue, 23 Jul 2019 14:28:08 +0000 (19:58 +0530)
committerArundathi Patil <arundpil@in.ibm.com>
Tue, 23 Jul 2019 14:28:20 +0000 (19:58 +0530)
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>
cds-ui/client/src/app/feature-modules/resource-definition/resource-edit/resource-edit.service.ts

index 417f6ed..ed1ef6f 100644 (file)
@@ -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