diff options
author | 2020-03-02 12:57:20 +0530 | |
---|---|---|
committer | 2020-03-12 12:24:55 +0000 | |
commit | 7cc92c22ac6172d6b51425d8628e431350593bca (patch) | |
tree | 795de6bb88568c56fa9eb2238780a46ff5020002 /cds-ui/client/src/app/feature-modules/controller-catalog/search-catalog/search-catalog.service.ts | |
parent | 949fed2a716fa636aec836ec46fec2c595f68d4f (diff) |
Adding delete catalog
Adding delete catalog functionality in client ui
Change-Id: I56bcba1c09d949b80155b3ac9368203e85eb4f99
Issue-ID: CCSDK-815
Signed-off-by: swapnalipode <sp00501638@techmahindra.com>
Diffstat (limited to 'cds-ui/client/src/app/feature-modules/controller-catalog/search-catalog/search-catalog.service.ts')
-rw-r--r-- | cds-ui/client/src/app/feature-modules/controller-catalog/search-catalog/search-catalog.service.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cds-ui/client/src/app/feature-modules/controller-catalog/search-catalog/search-catalog.service.ts b/cds-ui/client/src/app/feature-modules/controller-catalog/search-catalog/search-catalog.service.ts index 47896058a..362eab030 100644 --- a/cds-ui/client/src/app/feature-modules/controller-catalog/search-catalog/search-catalog.service.ts +++ b/cds-ui/client/src/app/feature-modules/controller-catalog/search-catalog/search-catalog.service.ts @@ -33,4 +33,8 @@ export class SearchCatalogService { searchByTags(tag) { return this.api.get(ControllerCatalogURLs.searchControllerCatalogByTags + '/' + tag); } + + deleteCatalog(modelName) { + return this.api.delete(ControllerCatalogURLs.deleteCatalog + '/' + modelName); + } } |