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 | |
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
4 files changed, 5 insertions, 7 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>; diff --git a/docs/userguides/developer-guide/running-cds-ui-locally.rst b/docs/userguides/developer-guide/running-cds-ui-locally.rst index 030ae356b..887a2cf15 100644 --- a/docs/userguides/developer-guide/running-cds-ui-locally.rst +++ b/docs/userguides/developer-guide/running-cds-ui-locally.rst @@ -128,7 +128,7 @@ Create **docker-compose.yaml** as below. **Note:** -- Replace <ip> with host/port where controller & processor mS are running. +- Replace <ip> with host/port where blueprint processor mS is running. .. code-block:: bash @@ -142,9 +142,7 @@ Create **docker-compose.yaml** as below. restart: always environment: - HOST=0.0.0.0 - - API_BLUEPRINT_CONTROLLER_HTTP_BASE_URL=http://<ip>:8080/api/v1 - - API_BLUEPRINT_CONTROLLER_HTTP_AUTH_TOKEN=Basic Y2NzZGthcHBzOmNjc2RrYXBwcw== - - API_BLUEPRINT_PROCESSOR_HTTP_BASE_URL=http://<ip>:8081/api/v1 + - API_BLUEPRINT_PROCESSOR_HTTP_BASE_URL=http://<ip>:8080/api/v1 - API_BLUEPRINT_PROCESSOR_HTTP_AUTH_TOKEN=Basic Y2NzZGthcHBzOmNjc2RrYXBwcw== - API_BLUEPRINT_PROCESSOR_GRPC_HOST=<IP> - API_BLUEPRINT_PROCESSOR_GRPC_PORT=9111 |