import { FunctionsStore } from './functions.store';
import { Subject } from 'rxjs';
import { distinctUntilChanged, takeUntil } from 'rxjs/operators';
-import { BlueprintDetailModel } from '../model/Blueprint.detail.model';
+import { BluePrintDetailModel } from '../model/BluePrint.detail.model';
import { ActivatedRoute, Router } from '@angular/router';
import { DesignerService } from './designer.service';
import { FilesContent, FolderNodeElement } from '../package-creation/mapping-models/metadata/MetaDataTab.model';
controllerSideBar: boolean;
actionAttributesSideBar: boolean;
functionAttributeSidebar: boolean;
- viewedPackage: BlueprintDetailModel = new BlueprintDetailModel();
+ viewedPackage: BluePrintDetailModel = new BluePrintDetailModel();
customActionName: string;
showAction: boolean;
cl = 'editBar';
this.actionAttributesSideBar = !this.actionAttributesSideBar;
}
- publishBlueprint() {
+ publishBluePrint() {
this.create();
this.zipFile.generateAsync({ type: 'blob' })
.then(blob => {
this.toastService.error(error.message, 'Package error');
console.log(error);
}, () => {
- // this.deployBlueprint = false;
+ // this.deployBluePrint = false;
});
});
}
this.ngUnsubscribe.complete();
}
- saveBlueprint() {
+ saveBluePrint() {
this.ngxService.start();
FilesContent.clear();
let packageCreationModes: PackageCreationModes;
});
packageCreationModes.execute(this.cbaPackage, this.packageCreationUtils);
this.filesData.push(this.folder.TREE_DATA);
- this.saveBlueprintToDataBase();
+ this.saveBluePrintToDataBase();
}
- enrichBlueprint() {
+ enrichBluePrint() {
this.ngxService.start();
console.log('start enrich ------------');
this.packageCreationStore.addTopologyTemplate(this.cbaPackage.templateTopology);
}
- saveBlueprintToDataBase() {
+ saveBluePrintToDataBase() {
this.create();
this.zipFile.generateAsync({ type: 'blob' })
.then(blob => {