743294668 opened a new pull request #2818:
URL: https://github.com/apache/incubator-dolphinscheduler/pull/2818


   ## What is the purpose of the pull request
   
   This pull request modify the JDBC format of the Oracle database connection.
   Number:#2791.
   pull/2792 has been abandoned for other reasons.
   
   The Oracle JDBC link I verified currently supports the following three 
methods:
   jdbc:oracle:thin:@host:port:SID
   jdbc:oracle:thin:@//host:port/service_name
   jdbc:oracle:thin:@host:port/service_name
   The above three methods are verified in the unit test.
   
   ## Brief change log
   
   DataSourceService.java:
   Add Oracle link type parameter in buildParameter().
   BaseDataSource.java:
   Modify appendDatabase () method as a protected modifier to facilitate 
OracleDataSource to rewrite this method.
   OracleDataSource.java:
   Override appendDatabase () method.
   Constants.java:
   Add ORACLE_DB_CONNECT_TYPE type.
   BaseDataSourceTest.java:
   Unit test the newly modified code.
   DataSourceServiceTest.java:
   Add buildParameter () unit test.
   
   
   ## Verify this pull request
   
   This change added tests and can be verified as follows:
   
   Add the Oracle data source in the data source center, including using the 
service name or SID.
   Perform the task of executing the Oracle data source on the SQL type node 
and pass the verification.
   ##Addition
   
   If anything is wrong, you are welcome to participate in the discussion. 
Thanks.
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to