return this.api.post(BlueprintURLs.enrichandpublish, body, {responseType: 'text'});
}
- private deployBluePrint(body: any | null, options?: any): Observable<any> {
+ private deployBlueprint(body: any | null, options?: any): Observable<any> {
return this.api.post(BlueprintURLs.deploy, body, {responseType: 'text'});
}
- async checkBluePrintNameAndVersion(name: string, version: string): Promise<boolean> {
- return await this.packagesListService.checkBluePrintIfItExists(name, version)
+ async checkBlueprintNameAndVersion(name: string, version: string): Promise<boolean> {
+ return await this.packagesListService.checkBlueprintIfItExists(name, version)
.then(bluePrintModelsResult => bluePrintModelsResult != null && bluePrintModelsResult.length > 0);
}
deploy(blob) {
const formData = this.getFormData(blob);
- return this.deployBluePrint(formData);
+ return this.deployBlueprint(formData);
}
private getFormData(blob) {
return this.api.getCustomized(BlueprintURLs.download + id, {responseType: 'blob'});
}
- public saveBluePrintToDataBase(): Observable<string> {
+ public saveBlueprintToDataBase(): Observable<string> {
this.formTreeData();
this.create();
const subject = new Subject<any>();