@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}', {
"responsePath": "$",
},
"functions": {
- "getPagedBueprints": ["limit", "offset", "sort", "sortType"],
+ "getPagedBlueprints": ["limit", "offset", "sort", "sortType"],
}
},
{
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>;
**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
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