Renaming Files having BluePrint to have Blueprint
[ccsdk/cds.git] / cds-ui / designer-client / src / app / modules / feature-modules / packages / package-creation / package-creation.service.ts
index 1e0e36a..ee8644e 100644 (file)
@@ -67,12 +67,12 @@ export class PackageCreationService {
         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);
     }
 
@@ -97,7 +97,7 @@ export class PackageCreationService {
 
     deploy(blob) {
         const formData = this.getFormData(blob);
-        return this.deployBluePrint(formData);
+        return this.deployBlueprint(formData);
     }
 
     private getFormData(blob) {
@@ -114,7 +114,7 @@ export class PackageCreationService {
         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>();