-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
[DSIP-19] Support zeppelin connections in the connection center, as well as external connections to the connection center in zeppelin tasks #14434
Conversation
…l connections in zeppelin tasks
@EricGao888 When building connection parameters in DataSourceUtils, it will be built based on the type of task. DataSourceUtils.buildConnectionParams(DbType.valueOf("ZEPPELIN"), zeppelinTaskExecutionContext.getConnectionParams()); |
Hi, @xdu-chenrj , thanks for your contribution :D Some suggestions for you before taking further look of this PR :
|
Okay, I got it |
...er-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/DataSourceServiceImpl.java
Outdated
Show resolved
Hide resolved
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.
BTW, could u plz update related UT cases for Zeppelin tasks?
Okay, I got it |
Codecov Report
@@ Coverage Diff @@
## dev #14434 +/- ##
============================================
+ Coverage 38.09% 38.15% +0.05%
- Complexity 4642 4660 +18
============================================
Files 1262 1269 +7
Lines 45155 45238 +83
Branches 4944 4947 +3
============================================
+ Hits 17203 17259 +56
- Misses 26060 26087 +27
Partials 1892 1892
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
Kudos, SonarCloud Quality Gate passed! |
@xdu-chenrj Could please resolve the conflicts? Together with other PRs related to DSIP-19. Thanks : ) |
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.
Waiting for CI to pass
Kudos, SonarCloud Quality Gate passed! |
Thanks for helping improve zeppelin task plugin @xdu-chenrj |
|
||
import com.fasterxml.jackson.annotation.JsonInclude; | ||
|
||
@Data |
Check notice
Code scanning / CodeQL
Missing Override annotation Note
ConnectionParam.setPassword
|
||
protected String username; | ||
|
||
protected String password; |
Check notice
Code scanning / CodeQL
Missing Override annotation Note
ConnectionParam.getPassword
…ell as external connections to the connection center in zeppelin tasks (apache#14434) * Refactoring zeppelin task plugin with connections managed in connection center --------- Co-authored-by: Eric Gao <ericgao.apache@gmail.com>
Support zeppelin connections in the connection center, as well as external connections to the connection center in zeppelin tasks
issue: #14338
Related issues: [DSIP-19][Feature] Add connection center feature for DS #10283
Mail: https://lists.apache.org/thread/xl6pb3sbrt0ffrf1fltcph39s9w1pjlx