-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support SSL/TLS Connections for Oracle #19
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Make sure, we don't break any unit test due to this new parameter.
One of the unit test case is failing but not specifically because of the new parameter. It is a negative test scenario which tests connection failure,I think it is failing because we are specifying protocol as tcp explicitly now. Looking into it. |
oracle-plugin/src/main/java/io/cdap/plugin/oracle/OracleConnectorConfig.java
Show resolved
Hide resolved
oracle-plugin/src/main/java/io/cdap/plugin/oracle/OracleConnectorConfig.java
Outdated
Show resolved
Hide resolved
01d2ae8
to
ae059c4
Compare
Fixed the unit tests with minor changes in Connection String's format, tested the changes on CDAP for Source Plugin. [ae059c4] Connection String - |
} | ||
|
||
// For TNS Descriptor we can't specify the protocol in connection string. | ||
if (OracleConstants.TNS_CONNECTION_TYPE.equalsIgnoreCase(connectionType)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see if we can convert it into swtich
statement as in general either of the statements will be true. So, we can avoid the compiler navigation to multiple conditional statements.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Converted to switch [6c60d2d]
oracle-plugin/src/main/java/io/cdap/plugin/oracle/OracleConstants.java
Outdated
Show resolved
Hide resolved
b9bf75f
to
ae5d1c9
Compare
ae5d1c9
to
e9dd995
Compare
No description provided.