Renaming Files having BluePrint to have Blueprint
[ccsdk/cds.git] / cds-ui / designer-client / src / app / modules / feature-modules / packages / designer / designer.component.ts
index 652d235..adcc08c 100644 (file)
@@ -37,7 +37,7 @@ import { GraphGenerator } from './graph.generator.util';
 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';
@@ -66,7 +66,7 @@ export class DesignerComponent implements OnInit, OnDestroy {
     controllerSideBar: boolean;
     actionAttributesSideBar: boolean;
     functionAttributeSidebar: boolean;
-    viewedPackage: BluePrintDetailModel = new BluePrintDetailModel();
+    viewedPackage: BlueprintDetailModel = new BlueprintDetailModel();
     customActionName: string;
     showAction: boolean;
     cl = 'editBar';
@@ -125,7 +125,7 @@ export class DesignerComponent implements OnInit, OnDestroy {
         this.actionAttributesSideBar = !this.actionAttributesSideBar;
     }
 
-    publishBluePrint() {
+    publishBlueprint() {
         this.create();
         this.zipFile.generateAsync({ type: 'blob' })
             .then(blob => {
@@ -138,7 +138,7 @@ export class DesignerComponent implements OnInit, OnDestroy {
                     this.toastService.error(error.message, 'Package error');
                     console.log(error);
                 }, () => {
-                    //  this.deployBluePrint = false;
+                    //  this.deployBlueprint = false;
                 });
             });
     }
@@ -456,7 +456,7 @@ export class DesignerComponent implements OnInit, OnDestroy {
         this.ngUnsubscribe.complete();
     }
 
-    saveBluePrint() {
+    saveBlueprint() {
         this.ngxService.start();
         FilesContent.clear();
         let packageCreationModes: PackageCreationModes;
@@ -468,11 +468,11 @@ export class DesignerComponent implements OnInit, OnDestroy {
         });
         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);
@@ -529,7 +529,7 @@ export class DesignerComponent implements OnInit, OnDestroy {
 
     }
 
-    saveBluePrintToDataBase() {
+    saveBlueprintToDataBase() {
         this.create();
         this.zipFile.generateAsync({ type: 'blob' })
             .then(blob => {