You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2021/06/04 08:37:47 UTC

[GitHub] [dolphinscheduler] xjlgod opened a new pull request #5589: [Fix][Api] add mysql-connector rely to dolphinscheduler-api module

xjlgod opened a new pull request #5589:
URL: https://github.com/apache/dolphinscheduler/pull/5589


   ## Purpose of the pull request
   
   Add mysql-connector rely to dolphinscheduler-api module.
   
   ## Brief change log
    
   Add mysql-connector-java to dolphinscheduler-api pom.xml.
   
   ## Verify this pull request
   
   Actually, I don’t know if this is an error. If I waste your time, I'm really sorry. When I used mysql to store data during secondary development,  the file of the controller package under the dolphinscheduler-api test module will reporte an error that com.mysql.jdbc.Driver could not be found. You need to re-add this dependency under the dependency of this module to test successfully, because the test relys on dolphinscheduler-dao module.


-- 
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:
users@infra.apache.org



[GitHub] [dolphinscheduler] CalvinKirs commented on pull request #5589: [Fix][Api] add mysql-connector rely to dolphinscheduler-api module

Posted by GitBox <gi...@apache.org>.
CalvinKirs commented on pull request #5589:
URL: https://github.com/apache/dolphinscheduler/pull/5589#issuecomment-854529765


   Because of the license, we cannot rely on MySQL. Therefore, the test level does not make much sense in my opinion. Therefore, you can delete the MySQL dependency in the main pom.
   
   
   Of course, if you only for your own project used, you can rely on MySQL in your own project. 


-- 
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:
users@infra.apache.org



[GitHub] [dolphinscheduler] CalvinKirs commented on pull request #5589: [Fix][Api] add mysql-connector rely to dolphinscheduler-api module

Posted by GitBox <gi...@apache.org>.
CalvinKirs commented on pull request #5589:
URL: https://github.com/apache/dolphinscheduler/pull/5589#issuecomment-857751720


   no valid
   
   


-- 
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:
users@infra.apache.org



[GitHub] [dolphinscheduler] xjlgod commented on pull request #5589: [Fix][Api] add mysql-connector rely to dolphinscheduler-api module

Posted by GitBox <gi...@apache.org>.
xjlgod commented on pull request #5589:
URL: https://github.com/apache/dolphinscheduler/pull/5589#issuecomment-854499483


   ok, thank you for your kind reply.
   
   > @xjlgod
   > This is caused by the dependency whose scope is test that will be omitted during transport.
   > 
   > If you change the scope of `mysql-connector-java` in root pom.xml to compile or runtime, you can solve this problem.
   > 
   > https://github.com/apache/dolphinscheduler/blob/75be09735a29469ef5169550239c65a5a27af3ba/pom.xml#L382-L387
   
   


-- 
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:
users@infra.apache.org



[GitHub] [dolphinscheduler] CalvinKirs closed pull request #5589: [Fix][Api] add mysql-connector rely to dolphinscheduler-api module

Posted by GitBox <gi...@apache.org>.
CalvinKirs closed pull request #5589:
URL: https://github.com/apache/dolphinscheduler/pull/5589


   


-- 
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:
users@infra.apache.org



[GitHub] [dolphinscheduler] codecov-commenter commented on pull request #5589: [Fix][Api] add mysql-connector rely to dolphinscheduler-api module

Posted by GitBox <gi...@apache.org>.
codecov-commenter commented on pull request #5589:
URL: https://github.com/apache/dolphinscheduler/pull/5589#issuecomment-854646968


   # [Codecov](https://codecov.io/gh/apache/dolphinscheduler/pull/5589?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) Report
   > Merging [#5589](https://codecov.io/gh/apache/dolphinscheduler/pull/5589?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (75be097) into [dev](https://codecov.io/gh/apache/dolphinscheduler/commit/75be09735a29469ef5169550239c65a5a27af3ba?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (75be097) will **not change** coverage.
   > The diff coverage is `n/a`.
   
   > :exclamation: Current head 75be097 differs from pull request most recent head 87cc719. Consider uploading reports for the commit 87cc719 to get more accurate results
   [![Impacted file tree graph](https://codecov.io/gh/apache/dolphinscheduler/pull/5589/graphs/tree.svg?width=650&height=150&src=pr&token=bv9iXXRLi9&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)](https://codecov.io/gh/apache/dolphinscheduler/pull/5589?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
   
   ```diff
   @@            Coverage Diff            @@
   ##                dev    #5589   +/-   ##
   =========================================
     Coverage     46.86%   46.86%           
     Complexity     3791     3791           
   =========================================
     Files           605      605           
     Lines         24805    24805           
     Branches       2811     2811           
   =========================================
     Hits          11625    11625           
     Misses        12073    12073           
     Partials       1107     1107           
   ```
   
   
   
   ------
   
   [Continue to review full report at Codecov](https://codecov.io/gh/apache/dolphinscheduler/pull/5589?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation).
   > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
   > `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
   > Powered by [Codecov](https://codecov.io/gh/apache/dolphinscheduler/pull/5589?src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation). Last update [75be097...87cc719](https://codecov.io/gh/apache/dolphinscheduler/pull/5589?src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation).
   


-- 
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:
users@infra.apache.org



[GitHub] [dolphinscheduler] ruanwenjun commented on pull request #5589: [Fix][Api] add mysql-connector rely to dolphinscheduler-api module

Posted by GitBox <gi...@apache.org>.
ruanwenjun commented on pull request #5589:
URL: https://github.com/apache/dolphinscheduler/pull/5589#issuecomment-854493079


   @xjlgod 
   This is caused by the dependency whose scope is test that will be omitted during transport.
   
   If you change the scope of `mysql-connector-java` in root pom.xml to compile or runtime, you can solve this problem.
   
   https://github.com/apache/dolphinscheduler/blob/75be09735a29469ef5169550239c65a5a27af3ba/pom.xml#L382-L387


-- 
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:
users@infra.apache.org



[GitHub] [dolphinscheduler] xjlgod commented on pull request #5589: [Fix][Api] add mysql-connector rely to dolphinscheduler-api module

Posted by GitBox <gi...@apache.org>.
xjlgod commented on pull request #5589:
URL: https://github.com/apache/dolphinscheduler/pull/5589#issuecomment-854805151


   > Because of the license, we cannot rely on MySQL. Therefore, the test level does not make much sense in my opinion. Therefore, you can delete the MySQL dependency in the main pom.
   > 
   > Of course, if you only for your own project used, you can rely on MySQL in your own project.
   
   ok, i got it. thank you for your kind reply.


-- 
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:
users@infra.apache.org