Fixing Blueprint Typo's and docs 53/117053/1
authorSingal, Kapil (ks220y) <ks220y@att.com>
Fri, 22 Jan 2021 00:34:39 +0000 (19:34 -0500)
committerSingal, Kapil (ks220y) <ks220y@att.com>
Fri, 22 Jan 2021 00:34:39 +0000 (19:34 -0500)
Issue-ID: CCSDK-3098
Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com>
Change-Id: I0cd5ba75a9ebb0363e7eab15ee0710b01e76b897

cds-ui/server/src/controllers/blueprint-rest.controller.ts
cds-ui/server/src/datasources/blueprint.datasource-template.ts
cds-ui/server/src/services/blueprint.service.ts
docs/userguides/developer-guide/running-cds-ui-locally.rst

index 86fdeda..a8b989f 100644 (file)
@@ -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}', {
index 3b502d3..dc1cd37 100644 (file)
@@ -98,7 +98,7 @@ export default {
             "responsePath": "$",
         },
         "functions": {
-            "getPagedBueprints": ["limit", "offset", "sort", "sortType"],
+            "getPagedBlueprints": ["limit", "offset", "sort", "sortType"],
         }
     },
     {
index 379f8d4..a017e6e 100644 (file)
@@ -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>;
 
index 030ae35..887a2cf 100644 (file)
@@ -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