diff options
author | Singal, Kapil (ks220y) <ks220y@att.com> | 2021-01-21 19:34:39 -0500 |
---|---|---|
committer | Singal, Kapil (ks220y) <ks220y@att.com> | 2021-01-21 19:34:39 -0500 |
commit | dc8252f3cfa1ddd0c1c8c70513c16c738d840822 (patch) | |
tree | cc84efc92f6ad34e8d52db56cef4a84aa8b80766 /cds-ui/server/src | |
parent | f8c5f58ce8b2b076d5874508873829a33cc545b0 (diff) |
Fixing Blueprint Typo's and docs
Issue-ID: CCSDK-3098
Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com>
Change-Id: I0cd5ba75a9ebb0363e7eab15ee0710b01e76b897
Diffstat (limited to 'cds-ui/server/src')
3 files changed, 3 insertions, 3 deletions
diff --git a/cds-ui/server/src/controllers/blueprint-rest.controller.ts b/cds-ui/server/src/controllers/blueprint-rest.controller.ts index 86fdeda86..a8b989ff4 100644 --- a/cds-ui/server/src/controllers/blueprint-rest.controller.ts +++ b/cds-ui/server/src/controllers/blueprint-rest.controller.ts @@ -88,7 +88,7 @@ export class BlueprintRestController { @param.query.number('offset') offset: number, @param.query.string('sort') sort: string, @param.query.string('sortType') sortType: string) { - return await this.bpservice.getPagedBueprints(limit, offset, sort, sortType); + return await this.bpservice.getPagedBlueprints(limit, offset, sort, sortType); } @get('/controllerblueprint/metadata/paged/{keyword}', { diff --git a/cds-ui/server/src/datasources/blueprint.datasource-template.ts b/cds-ui/server/src/datasources/blueprint.datasource-template.ts index 3b502d334..dc1cd3734 100644 --- a/cds-ui/server/src/datasources/blueprint.datasource-template.ts +++ b/cds-ui/server/src/datasources/blueprint.datasource-template.ts @@ -98,7 +98,7 @@ export default { "responsePath": "$", }, "functions": { - "getPagedBueprints": ["limit", "offset", "sort", "sortType"], + "getPagedBlueprints": ["limit", "offset", "sort", "sortType"], } }, { diff --git a/cds-ui/server/src/services/blueprint.service.ts b/cds-ui/server/src/services/blueprint.service.ts index 379f8d4d5..a017e6ef2 100644 --- a/cds-ui/server/src/services/blueprint.service.ts +++ b/cds-ui/server/src/services/blueprint.service.ts @@ -8,7 +8,7 @@ export interface BlueprintService { getAllblueprints(): Promise<any>; getBlueprintsByKeyword(keyword: string): Promise<any>; getByTags(tags: string): Promise<JSON>; - getPagedBueprints(limit: number, offset: number, sort: string, sortType: String): Promise<any>; + getPagedBlueprints(limit: number, offset: number, sort: string, sortType: String): Promise<any>; getMetaDataPagedBlueprints(limit: number, offset: number, sort: string, keyword: string, sortType: String): Promise<any>; getBlueprintByNameAndVersion(name: string, version: string): Promise<any>; |