diff options
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 |