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 => {