diff options
author | 2019-07-19 15:09:44 +0530 | |
---|---|---|
committer | 2019-07-19 15:09:50 +0530 | |
commit | 11d85d45cff55a57a8a250fdc90912b67e32f903 (patch) | |
tree | 15416c00b56c082972aa9fa8f7b7bf6d37cb0c1e /cds-ui/client/src/app/feature-modules/resource-definition/resource-edit/resource-edit.service.ts | |
parent | 086f23e7dbe0cc7df7105002628ee3e84cf29c76 (diff) |
resource-edit changes
made changes to fetch sources
Issue-ID: CCSDK-707
Change-Id: If7d07eb9cd49db61cbb8d8016c7f0dca01d00490
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
Diffstat (limited to 'cds-ui/client/src/app/feature-modules/resource-definition/resource-edit/resource-edit.service.ts')
-rw-r--r-- | cds-ui/client/src/app/feature-modules/resource-definition/resource-edit/resource-edit.service.ts | 10 |
1 files changed, 10 insertions, 0 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 bd06abbc1..417f6edb3 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 @@ -36,4 +36,14 @@ export class ResourceEditService { saveResource(resource) { return this.api.post(ResourceDictionaryURLs.saveResourceDictionary, resource); } + + getSources() { + // to do + return this.api.get('ResourceDictionaryURLs.getSources'); + } + + getModelType(name) { + // to do + return this.api.get("ResourceDictionaryURLs.getModelType + '/' + name"); + } }
\ No newline at end of file |