[DS-6483][MasterServer] upgrade the druid and mysql connector version#6484
[DS-6483][MasterServer] upgrade the druid and mysql connector version#6484lenboo merged 3 commits intoapache:devfrom
Conversation
Codecov Report
@@ Coverage Diff @@
## dev #6484 +/- ##
=========================================
Coverage 38.64% 38.64%
Complexity 3206 3206
=========================================
Files 645 645
Lines 25729 25729
Branches 2786 2786
=========================================
Hits 9942 9942
Misses 14870 14870
Partials 917 917
Continue to review full report at Codecov.
|
|
Good job! |
| druidDataSource.setTestWhileIdle(PropertyUtils.getBoolean(Constants.SPRING_DATASOURCE_TEST_WHILE_IDLE, true)); | ||
| druidDataSource.setTestOnBorrow(PropertyUtils.getBoolean(Constants.SPRING_DATASOURCE_TEST_ON_BORROW, true)); | ||
| druidDataSource.setTestOnReturn(PropertyUtils.getBoolean(Constants.SPRING_DATASOURCE_TEST_ON_RETURN, true)); | ||
| druidDataSource.setTestOnReturn(PropertyUtils.getBoolean(Constants.SPRING_DATASOURCE_TEST_ON_RETURN, false)); |
There was a problem hiding this comment.
Should we add comment to desc why we have to set it to fasle?
There was a problem hiding this comment.
you can see the druid config and comment at datasource.properties.
| mybatis-plus-core-3.2.0.jar | ||
| mybatis-plus-extension-3.2.0.jar | ||
| mybatis-spring-2.0.2.jar | ||
| mysql-connector-java-8.0.24.jar |
There was a problem hiding this comment.
don't need to add this dependency.
druid's some licenses not add.
There was a problem hiding this comment.
ok, I will fix it.
There was a problem hiding this comment.
This should not be added, it's GPL license.
There was a problem hiding this comment.
yup, his dependency scope tests. so we don't need to add it
| <mybatis.spring.version>2.0.1</mybatis.spring.version> | ||
| <cron.utils.version>5.0.5</cron.utils.version> | ||
| <druid.version>1.1.22</druid.version> | ||
| <druid.version>1.2.4</druid.version> |
There was a problem hiding this comment.
The compatibility of the druid version and the sql driver version should be noted
There was a problem hiding this comment.
This problem may need to be reflected in the document
There was a problem hiding this comment.
ok, I will change related document if this pr is merged.
|
Kudos, SonarCloud Quality Gate passed! |
|
I will fix the missing Notice issue. |
…onnector version (#6494) * [DS-6483][MasterServer] upgrade the druid and mysql connector version (#6484) * [DS-6483][MasterServer] upgrade the druid and mysql connector version * remove mysql connector in known-dependencies.txt * change mysql connector version to 8.0.16 Co-authored-by: caishunfeng <534328519@qq.com> * Add Alibaba Druid to NOTICE file (#6488) Co-authored-by: wind <caishunfeng@users.noreply.github.com> Co-authored-by: caishunfeng <534328519@qq.com>
* Copy doc from 1.3.8 to dev * Change dev default page to quick start * Sperate User Munal to multiple file * Combine doc page parameter and parameters-intro * Move flink call and open api to user_guide * Rename directory user_guide to guide * Upgrade mysql connector to 8.0.16 ref: apache/dolphinscheduler#6484 * Add sub directory install for `user_doc/guide` * Add directory architecture * Add directory for integration * Fix quick start link * Fix en-us install link * Sperate datasource to multiple files * Remove TODO marked * Change TOD order and name * Union globalParam and param to directory parameter * Delete file parameter * Add task conditions * Correct task conditions keyword `Conditions` * Add task Pigeon doc
* Copy doc from 1.3.8 to dev * Change dev default page to quick start * Sperate User Munal to multiple file * Combine doc page parameter and parameters-intro * Move flink call and open api to user_guide * Rename directory user_guide to guide * Upgrade mysql connector to 8.0.16 ref: apache/dolphinscheduler#6484 * Add sub directory install for `user_doc/guide` * Add directory architecture * Add directory for integration * Fix quick start link * Fix en-us install link * Sperate datasource to multiple files * Remove TODO marked * Change TOD order and name * Union globalParam and param to directory parameter * Delete file parameter * Add task conditions * Correct task conditions keyword `Conditions` * Add task Pigeon doc








this pr close #6483
Purpose of the pull request
Brief change log
Verify this pull request
This pull request is code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows: