File tree Expand file tree Collapse file tree 6 files changed +53
-3
lines changed
cloudsql-mysql-plugin/src/e2e-test
mssql-plugin/src/e2e-test
features/mssql/mssql source
oracle-plugin/src/e2e-test Expand file tree Collapse file tree 6 files changed +53
-3
lines changed Original file line number Diff line number Diff line change @@ -192,7 +192,23 @@ Feature: CloudMySql source- Verify CloudMySql source plugin design time validati
192
192
| connectionName |
193
193
| database |
194
194
| referenceName |
195
- | importQuery |
195
+
196
+ @CloudMySql_Required
197
+ Scenario : To verify CloudSQLMySQL source plugin validation error message with blank import query
198
+ Given Open Datafusion Project to configure pipeline
199
+ When Expand Plugin group in the LHS plugins list: "Source"
200
+ When Select plugin: "CloudSQL MySQL" from the plugins list as: "Source"
201
+ Then Navigate to the properties page of plugin: "CloudSQL MySQL"
202
+ Then Select dropdown plugin property: "select-jdbcPluginName" with option value: "driverName"
203
+ Then Select radio button plugin property: "instanceType" with value: "public"
204
+ Then Replace input plugin property: "connectionName" with value: "connectionName" for Credentials and Authorization related fields
205
+ Then Replace input plugin property: "user" with value: "username" for Credentials and Authorization related fields
206
+ Then Replace input plugin property: "password" with value: "password" for Credentials and Authorization related fields
207
+ Then Enter input plugin property: "referenceName" with value: "sourceRef"
208
+ Then Replace input plugin property: "database" with value: "DatabaseName"
209
+ Then Click on the Validate button
210
+ Then Verify that the Plugin Property: "importQuery" is displaying an in-line error message: "errorMessageImportQuery"
211
+
196
212
197
213
@CloudMySql_Required
198
214
Scenario : To verify CloudSQLMySQL source plugin validation error message with invalid connection name with public instance
Original file line number Diff line number Diff line change @@ -24,3 +24,4 @@ errorLogsMessageInvalidBoundingQuery=Spark program 'phase-1' failed with error:
24
24
errorMessageInvalidPassword =SQL error while getting query schema: Error: Access denied for user
25
25
errorMessagePrivateConnectionName =Enter the internal IP address of the Compute Engine VM cloudsql proxy is running on, to connect to a private
26
26
errorMessageWithBlankPassword =Exception while trying to validate schema of database table
27
+ errorMessageImportQuery =Import Query cannot be null. Please specify the Import Query.
Original file line number Diff line number Diff line change @@ -212,7 +212,22 @@ Feature: Mssql source- Verify Mssql source plugin design time validation scenari
212
212
| jdbcPluginName |
213
213
| referenceName |
214
214
| database |
215
- | importQuery |
215
+
216
+ @Mssql_Required
217
+ Scenario : To verify MSSQL source plugin validation error message with blank import query
218
+ Given Open Datafusion Project to configure pipeline
219
+ When Expand Plugin group in the LHS plugins list: "Source"
220
+ When Select plugin: "SQL Server" from the plugins list as: "Source"
221
+ Then Navigate to the properties page of plugin: "SQL Server"
222
+ Then Select dropdown plugin property: "select-jdbcPluginName" with option value: "driverName"
223
+ Then Replace input plugin property: "host" with value: "host" for Credentials and Authorization related fields
224
+ Then Replace input plugin property: "port" with value: "port" for Credentials and Authorization related fields
225
+ Then Replace input plugin property: "user" with value: "username" for Credentials and Authorization related fields
226
+ Then Replace input plugin property: "password" with value: "password" for Credentials and Authorization related fields
227
+ Then Enter input plugin property: "referenceName" with value: "sourceRef"
228
+ Then Replace input plugin property: "database" with value: "databaseName"
229
+ Then Click on the Validate button
230
+ Then Verify that the Plugin Property: "importQuery" is displaying an in-line error message: "errorMessageImportQuery"
216
231
217
232
@Mssql_Required
218
233
Scenario : Verify the validation error message with missing jdbc plugin name
Original file line number Diff line number Diff line change @@ -24,3 +24,4 @@ errorMessageInvalidCredentialSource=Spark program 'phase-1' failed with error: S
24
24
errorLogsMessageInvalidBoundingQuery =Spark program ' phase-1' failed with error: Stage ' SQL Server' encountered : java.io.IOException: Could not find stored procedure
25
25
blank.jdbcPluginName.message =Required property ' jdbcPluginName' has no value.
26
26
blank.connection.message =Exception while trying to validate schema of database table
27
+ errorMessageImportQuery =Import Query cannot be null. Please specify the Import Query.
Original file line number Diff line number Diff line change @@ -27,7 +27,23 @@ Feature: Oracle source- Verify Oracle source plugin design time validation scena
27
27
| jdbcPluginName |
28
28
| database |
29
29
| referenceName |
30
- | importQuery |
30
+
31
+ Scenario : To verify Oracle source plugin validation error message with blank import query
32
+ Given Open Datafusion Project to configure pipeline
33
+ When Expand Plugin group in the LHS plugins list: "Source"
34
+ When Select plugin: "Oracle" from the plugins list as: "Source"
35
+ Then Navigate to the properties page of plugin: "Oracle"
36
+ Then Select dropdown plugin property: "select-jdbcPluginName" with option value: "driverName"
37
+ Then Replace input plugin property: "host" with value: "host" for Credentials and Authorization related fields
38
+ Then Replace input plugin property: "port" with value: "port" for Credentials and Authorization related fields
39
+ Then Replace input plugin property: "user" with value: "username" for Credentials and Authorization related fields
40
+ Then Replace input plugin property: "password" with value: "password" for Credentials and Authorization related fields
41
+ Then Select radio button plugin property: "connectionType" with value: "service"
42
+ Then Select radio button plugin property: "role" with value: "normal"
43
+ Then Enter input plugin property: "referenceName" with value: "sourceRef"
44
+ Then Replace input plugin property: "database" with value: "databaseName"
45
+ Then Click on the Validate button
46
+ Then Verify that the Plugin Property: "importQuery" is displaying an in-line error message: "errorMessageImportQuery"
31
47
32
48
Scenario : To verify Oracle source plugin validation error message with invalid reference test data
33
49
Given Open Datafusion Project to configure pipeline
Original file line number Diff line number Diff line change @@ -19,3 +19,4 @@ errorLogsMessageInvalidBoundingQuery=Spark program 'phase-1' failed with error:
19
19
java.io.IOException: ORA-00936: missing expression . Please check the system logs for more details.
20
20
blank.database.message=Required property ' database' has no value.
21
21
blank.connection.message=Exception while trying to validate schema of database table
22
+ errorMessageImportQuery=Import Query cannot be null. Please specify the Import Query.
You can’t perform that action at this time.
0 commit comments