diff --git a/ngapp/src/app/dataservices/add-dataservice-wizard/add-dataservice-wizard.component.ts b/ngapp/src/app/dataservices/add-dataservice-wizard/add-dataservice-wizard.component.ts
index 06ac2232..93faa448 100644
--- a/ngapp/src/app/dataservices/add-dataservice-wizard/add-dataservice-wizard.component.ts
+++ b/ngapp/src/app/dataservices/add-dataservice-wizard/add-dataservice-wizard.component.ts
@@ -136,7 +136,7 @@ export class AddDataserviceWizardComponent implements OnInit, OnDestroy {
// Wizard Configuration
this.wizardConfig = {
embedInPage: true,
- loadingTitle: "Dataservice Wizard loading",
+ loadingTitle: "Data Virtualization Wizard loading",
loadingSecondaryInfo: "Please wait for the wizard to finish loading...",
contentHeight: "500px",
done: false
@@ -218,7 +218,7 @@ export class AddDataserviceWizardComponent implements OnInit, OnDestroy {
*/
public get step1InstructionMessage(): string {
if (!this.tableSelector.valid) {
- return "Please select tables for the Dataservice";
+ return "Please select tables for the Data virtualization";
} else {
return "Select tables, then click Next to continue";
}
@@ -229,9 +229,9 @@ export class AddDataserviceWizardComponent implements OnInit, OnDestroy {
*/
public get step2InstructionMessage(): string {
if (this.wizardService.isEdit()) {
- return "Review selections. Click Update to update the Dataservice";
+ return "Review selections. Click Update to update the Virtualization";
}
- return "Enter a name, select a connection, and review the table selections. Click Create to create the Dataservice";
+ return "Enter a name, select a connection, and review the table selections. Click Create to create the Virtualization";
}
/*
@@ -502,10 +502,10 @@ export class AddDataserviceWizardComponent implements OnInit, OnDestroy {
this.createSuccessful = false;
if (this.wizardService.isEdit()) {
this.theFinalPageTitle = "Update in progress";
- this.theFinalPageMessage = "The dataservice is being updated.";
+ this.theFinalPageMessage = "The virtualization is being updated.";
} else {
this.theFinalPageTitle = "Creation in progress";
- this.theFinalPageMessage = "The dataservice is being created.";
+ this.theFinalPageMessage = "The virtualization is being created.";
}
this.step2bConfig.nextEnabled = false;
this.step2bConfig.previousEnabled = false;
@@ -523,18 +523,18 @@ export class AddDataserviceWizardComponent implements OnInit, OnDestroy {
if (wasSuccessful) {
if (this.wizardService.isEdit()) {
this.theFinalPageTitle = "Update was successful";
- this.theFinalPageMessage = "The dataservice was updated successfully. Click on the button to see all dataservices.";
+ this.theFinalPageMessage = "The data virtualization was updated successfully. Click on the button to see all virtualizations.";
} else {
this.theFinalPageTitle = "Creation was successful";
- this.theFinalPageMessage = "The dataservice was created successfully. Click on the button to see all dataservices.";
+ this.theFinalPageMessage = "The data virtualization was created successfully. Click on the button to see all virtualizations.";
}
} else {
if (this.wizardService.isEdit()) {
this.theFinalPageTitle = "Update failed";
- this.theFinalPageMessage = "The dataservice update failed!";
+ this.theFinalPageMessage = "The data virtualization update failed!";
} else {
this.theFinalPageTitle = "Creation failed";
- this.theFinalPageMessage = "The dataservice creation failed!";
+ this.theFinalPageMessage = "The data virtualization creation failed!";
}
}
}
@@ -555,7 +555,7 @@ export class AddDataserviceWizardComponent implements OnInit, OnDestroy {
}
// Error visible if message has content
if (this.errorDetailMessage.length === 0) {
- this.errorDetailMessage = "Please check dataservice entries and retry";
+ this.errorDetailMessage = "Please check data virtualization entries and retry";
}
}
diff --git a/ngapp/src/app/dataservices/add-dataservice/add-dataservice.component.html b/ngapp/src/app/dataservices/add-dataservice/add-dataservice.component.html
index 0f47c5f5..92437681 100644
--- a/ngapp/src/app/dataservices/add-dataservice/add-dataservice.component.html
+++ b/ngapp/src/app/dataservices/add-dataservice/add-dataservice.component.html
@@ -1,13 +1,13 @@
-
Add Dataservice
+ Add Data Virtualization
diff --git a/ngapp/src/app/dataservices/dataservices.component.html b/ngapp/src/app/dataservices/dataservices.component.html
index 3ff4db46..15affbad 100644
--- a/ngapp/src/app/dataservices/dataservices.component.html
+++ b/ngapp/src/app/dataservices/dataservices.component.html
@@ -2,7 +2,7 @@
@@ -10,7 +10,7 @@
-
Dataservices
+ Data Virtualizations
- Do you really want to delete the selected Dataservice?
+ Do you really want to delete the selected Virtualization?
diff --git a/ngapp/src/app/dataservices/dataservices.component.spec.ts b/ngapp/src/app/dataservices/dataservices.component.spec.ts
index 56ba94db..f865e24d 100644
--- a/ngapp/src/app/dataservices/dataservices.component.spec.ts
+++ b/ngapp/src/app/dataservices/dataservices.component.spec.ts
@@ -62,12 +62,12 @@ describe("DataservicesComponent", () => {
expect(component).toBeTruthy();
});
- it("should have Dataservices Title", () => {
- console.log("========== [DataservicesComponent] should have Dataservices Title");
+ it("should have Data Virtualizations Title", () => {
+ console.log("========== [DataservicesComponent] should have Data Virtualizations Title");
// query for the title
by CSS element selector
const de = fixture.debugElement.query(By.css("h2"));
const el = de.nativeElement;
- expect(el.textContent).toEqual("Dataservices");
+ expect(el.textContent).toEqual("Data Virtualizations");
});
it("should have Toolbar", () => {
diff --git a/ngapp/src/app/dataservices/dataservices.component.ts b/ngapp/src/app/dataservices/dataservices.component.ts
index f3701cfa..d65f18e6 100644
--- a/ngapp/src/app/dataservices/dataservices.component.ts
+++ b/ngapp/src/app/dataservices/dataservices.component.ts
@@ -178,9 +178,9 @@ export class DataservicesComponent extends AbstractPageComponent implements OnIn
this.noConnectionsConfig = {
actions: actionConfig,
iconStyleClass: "pficon-warning-triangle-o",
- info: "No dataservices were found. In order to create a dataservice, you must first create a connection. "
+ info: "No Data virtualizations were found. In order to create a virtualization, you must first create a connection. "
+ "Please click below to create a connection.",
- title: "No Dataservices Available"
+ title: "No Data Virtualizations Available"
} as EmptyStateConfig;
}
@@ -193,8 +193,8 @@ export class DataservicesComponent extends AbstractPageComponent implements OnIn
primaryActions: [
{
id: "createDataserviceActionId",
- title: "Add Dataservice",
- tooltip: "Add a dataservice"
+ title: "Add Data Virtualization",
+ tooltip: "Add a data virtualization"
}
]
} as ActionConfig;
@@ -202,8 +202,8 @@ export class DataservicesComponent extends AbstractPageComponent implements OnIn
this.noDataservicesConfig = {
actions: actionConfig,
iconStyleClass: "pficon-warning-triangle-o",
- info: "No dataservices were found. Please click below to create a dataservice.",
- title: "No Dataservices Available"
+ info: "No Data virtualizations were found. Please click below to create a virtualization.",
+ title: "No Data Virtualizations Available"
} as EmptyStateConfig;
}
diff --git a/ngapp/src/app/dataservices/shared/dataservice.service.ts b/ngapp/src/app/dataservices/shared/dataservice.service.ts
index 33d99249..60c6a625 100644
--- a/ngapp/src/app/dataservices/shared/dataservice.service.ts
+++ b/ngapp/src/app/dataservices/shared/dataservice.service.ts
@@ -45,7 +45,7 @@ import { Subscription } from "rxjs/Subscription";
export class DataserviceService extends ApiService {
private static readonly nameValidationUrl = environment.komodoWorkspaceUrl
- + DataservicesConstants.dataservicesRootPath
+ + DataservicesConstants.dataservicesRestPath
+ "/nameValidation/";
// Observable dataservice state changes
@@ -163,7 +163,7 @@ export class DataserviceService extends ApiService {
*/
public isValidName( name: string ): Observable< string > {
if ( !name || name.length === 0 ) {
- return Observable.of( "Dataservice name cannot be empty" );
+ return Observable.of( "Data virtualization name cannot be empty" );
}
const url = DataserviceService.nameValidationUrl + encodeURIComponent( name );
@@ -186,7 +186,7 @@ export class DataserviceService extends ApiService {
*/
public getAllDataservices(): Observable {
return this.http
- .get(environment.komodoWorkspaceUrl + DataservicesConstants.dataservicesRootPath, this.getAuthRequestOptions())
+ .get(environment.komodoWorkspaceUrl + DataservicesConstants.dataservicesRestPath, this.getAuthRequestOptions())
.map((response) => {
const dataservices = response.json();
return dataservices.map((dataservice) => Dataservice.create( dataservice ));
@@ -201,7 +201,7 @@ export class DataserviceService extends ApiService {
*/
public createDataservice(dataservice: NewDataservice): Observable {
return this.http
- .post(environment.komodoWorkspaceUrl + DataservicesConstants.dataservicesRootPath + "/" + dataservice.getId(),
+ .post(environment.komodoWorkspaceUrl + DataservicesConstants.dataservicesRestPath + "/" + dataservice.getId(),
dataservice, this.getAuthRequestOptions())
.map((response) => {
return response.ok;
@@ -217,7 +217,7 @@ export class DataserviceService extends ApiService {
public deployDataservice(dataserviceName: string): Observable {
const servicePath = this.getKomodoUserWorkspacePath() + "/" + dataserviceName;
return this.http
- .post(environment.komodoTeiidUrl + DataservicesConstants.dataserviceRootPath,
+ .post(environment.komodoTeiidUrl + DataservicesConstants.dataserviceRestPath,
{ path: servicePath}, this.getAuthRequestOptions())
.map((response) => {
return response.ok;
@@ -234,7 +234,7 @@ export class DataserviceService extends ApiService {
*/
public setServiceVdbForSingleSourceTables(dataserviceName: string, tablePaths: string[], modelSourcePath: string): Observable {
return this.http
- .post(environment.komodoWorkspaceUrl + DataservicesConstants.dataservicesRootPath + "/ServiceVdbForSingleSourceTables",
+ .post(environment.komodoWorkspaceUrl + DataservicesConstants.dataservicesRestPath + "/ServiceVdbForSingleSourceTables",
{ dataserviceName, tablePaths, modelSourcePath}, this.getAuthRequestOptions())
.map((response) => {
return response.ok;
@@ -311,7 +311,7 @@ export class DataserviceService extends ApiService {
*/
public deleteDataservice(dataserviceId: string): Observable {
return this.http
- .delete(environment.komodoWorkspaceUrl + DataservicesConstants.dataservicesRootPath + "/" + dataserviceId,
+ .delete(environment.komodoWorkspaceUrl + DataservicesConstants.dataservicesRestPath + "/" + dataserviceId,
this.getAuthRequestOptions())
.map((response) => {
return response.ok;
diff --git a/ngapp/src/app/dataservices/shared/dataservices-constants.ts b/ngapp/src/app/dataservices/shared/dataservices-constants.ts
index 56c6c79c..5a507e69 100644
--- a/ngapp/src/app/dataservices/shared/dataservices-constants.ts
+++ b/ngapp/src/app/dataservices/shared/dataservices-constants.ts
@@ -17,23 +17,23 @@ export class DataservicesConstants {
public static readonly dataservicesExport = "export";
public static readonly dataservicesPublish = "publish";
- public static readonly dataserviceRootRoute = "dataservice";
- public static readonly dataserviceRootPath = "/" + DataservicesConstants.dataserviceRootRoute;
-
- public static readonly dataservicesRootRoute = "dataservices";
+ public static readonly dataservicesRootRoute = "virtualizations";
public static readonly dataservicesRootPath = "/" + DataservicesConstants.dataservicesRootRoute;
- public static readonly addDataserviceRoute = DataservicesConstants.dataservicesRootRoute + "/add-dataservice";
- public static readonly addDataservicePath = DataservicesConstants.dataservicesRootPath + "/add-dataservice";
+ public static readonly dataserviceRestPath = "/dataservice";
+ public static readonly dataservicesRestPath = "/dataservices";
+
+ public static readonly addDataserviceRoute = DataservicesConstants.dataservicesRootRoute + "/add-virtualization";
+ public static readonly addDataservicePath = DataservicesConstants.dataservicesRootPath + "/add-virtualization";
- public static readonly testDataserviceRoute = DataservicesConstants.dataservicesRootRoute + "/test-dataservice";
- public static readonly testDataservicePath = DataservicesConstants.dataservicesRootPath + "/test-dataservice";
+ public static readonly testDataserviceRoute = DataservicesConstants.dataservicesRootRoute + "/test-virtualization";
+ public static readonly testDataservicePath = DataservicesConstants.dataservicesRootPath + "/test-virtualization";
public static dataserviceNameLabel = "Name";
public static descriptionLabel = "Description";
public static readonly dataservicesNavItem: NavigationItemConfig = {
- title: "Data Services",
+ title: "Virtualizations",
iconStyleClass: "fa fa-fw fa-table",
url: DataservicesConstants.dataservicesRootPath
};
diff --git a/ngapp/src/app/dataservices/shared/mock-dataservice.service.ts b/ngapp/src/app/dataservices/shared/mock-dataservice.service.ts
index bc0912da..5fd3ffd8 100644
--- a/ngapp/src/app/dataservices/shared/mock-dataservice.service.ts
+++ b/ngapp/src/app/dataservices/shared/mock-dataservice.service.ts
@@ -125,13 +125,13 @@ export class MockDataserviceService extends DataserviceService {
public isValidName( name: string ): Observable {
if ( !name || name.length === 0 ) {
- return Observable.of( "Dataservice name cannot be empty" );
+ return Observable.of( "Data virtualization name cannot be empty" );
}
// make sure no dataservice exists with that name
for ( const ds of this.services ) {
if ( ds.getId() === name ) {
- return Observable.of( "Dataservice with that name already exists" );
+ return Observable.of( "Data virtualization with that name already exists" );
}
}
diff --git a/ngapp/src/app/dataservices/test-dataservice/test-dataservice.component.html b/ngapp/src/app/dataservices/test-dataservice/test-dataservice.component.html
index bef82751..108fd188 100644
--- a/ngapp/src/app/dataservices/test-dataservice/test-dataservice.component.html
+++ b/ngapp/src/app/dataservices/test-dataservice/test-dataservice.component.html
@@ -1,26 +1,26 @@
-
Test Dataservice '{{ this.dataservice.getId() }}'
+ Test Data Virtualization '{{ this.dataservice.getId() }}'
- Deploying the Dataservice...
+ Deploying the Data Virtualization...
- There was an error deploying the Dataservice!
+ There was an error deploying the Data Virtualization!