Skip to content

Commit c31c021

Browse files
committed
mssql changes
1 parent 2d59b51 commit c31c021

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

cloudsql-mysql-plugin/src/e2e-test/resources/errorMessage.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
errorMessageInvalidSourceDatabase=Error occurred while trying to get schema from database.Error message: 'Access denied for user
1+
errorMessageInvalidSourceDatabase=Error occurred while trying to get schema from database.Error message: 'Access denied for user '
22
errorMessageInvalidImportQuery=Import Query select must contain the string '$CONDITIONS'. if Number of Splits is not set\
33
\ to 1. Include '$CONDITIONS' in the Import Query
44
errorMessageCloudMySqlInvalidReferenceName=Invalid reference name

mssql-plugin/src/e2e-test/features/mssql/mssql sink/DesignTimeValidation.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,4 +260,4 @@ Feature: Mssql source- Verify Mssql source plugin design time validation scenari
260260
Then Replace input plugin property: "password" with value: "password" for Credentials and Authorization related fields
261261
Then Enter input plugin property: "referenceName" with value: "targetRef"
262262
Then Click on the Validate button
263-
Then Verify that the Plugin is displaying an error message: "blank.connection.message" on the header
263+
Then Verify that the Plugin is displaying an error message: "errormessageBlankHost" on the header
Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
validationSuccessMessage=No errors found.
2-
errorMessageInvalidSourceDatabase=SQL error while getting query schema: Error: Cannot open database "test123" requested by the login. The login failed.
2+
errorMessageInvalidSourceDatabase=Error occurred while trying to get schema from database.Error message: 'Cannot open database "test123" requested by the login. The login failed.
33
errorMessageInvalidImportQuery=Import Query select must contain the string '$CONDITIONS'.
44
errorMessageMssqlInvalidReferenceName=Invalid reference name 'invalidRef&^*&&*'.
55
errorMessageBlankUsername=Username is required when password is given.
6-
errorMessageBlankPassword=SQL error while getting query schema: Error: Login failed for user
6+
errorMessageBlankPassword=Error occurred while trying to get schema from database.Error message: 'Login failed for user
77
errorMessageInvalidFetchSize=Invalid fetch size. Fetch size must be a positive integer.
88
errorMessageBlankSplitBy=Split-By Field Name must be specified if Number of Splits is not set to 1.
99
errorMessageInvalidNumberOfSplits=Invalid value for Number of Splits '0'. Must be at least 1.
@@ -12,7 +12,8 @@ errorMessageBoundingQuery=Bounding Query must be specified if Number of Splits i
1212
errorMessagenumofSplit=Split-By Field Name must be specified if Number of Splits is not set to 1.
1313
errorMessageInvalidSinkDatabase=Exception while trying to validate schema of database table
1414
errorMessageInvalidSinkTableName=Table 'Table123@' does not exist.
15-
errormessageBlankHost=Exception while trying to validate schema of database table
15+
errormessageBlankHost=Error encountered while configuring the stage: 'Error occurred while trying to get schema from database.Error message: 'The TCP/IP connection to the host localhost, port 1433 has failed. Error: "Connection refused (Connection refused). \
16+
Verify the connection properties. Make sure that an instance of SQL Server is running on the host and accepting TCP/IP connections at the port. Make sure that TCP connections to the port are not blocked by a firewall.".'. Error code: '0'. SQLState: '08S01''
1617
errorMessageInvalidTableName=Spark program 'phase-1' failed with error: Stage 'SQL Server2' encountered : io.cdap.cdap.etl.api.validation.ValidationException: \
1718
Errors were encountered during validation. Table 'Table123@' does not exist.. Please check the system logs for more details.
1819
errorMessageInvalidCredentials=Spark program 'phase-1' failed with error: Unable to create config for batchsink SqlServer \
@@ -23,4 +24,4 @@ errorMessageInvalidCredentialSource=Spark program 'phase-1' failed with error: S
2324
Plugin with id SQL Server:source.jdbc.sqlserver does not exist in program phase-1 of application
2425
errorLogsMessageInvalidBoundingQuery=Spark program 'phase-1' failed with error: Stage 'SQL Server' encountered : java.io.IOException: Could not find stored procedure
2526
blank.jdbcPluginName.message=Required property 'jdbcPluginName' has no value.
26-
blank.connection.message=Exception while trying to validate schema of database table
27+
blank.connection.message=Error encountered while configuring the stage: 'Error occurred while trying to get schema from database.Error message: 'Login failed for user '

0 commit comments

Comments
 (0)