Skip to content
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

[Refactor] Migrate all workergroup-related interface functions from ProcessServiceImpl #12493

Merged

Conversation

DarkAssassinator
Copy link
Contributor

Purpose of the pull request

Brief change log

  • Migrate all workergroup interfacen methods to API
  • Add UT

Verify this pull request

This change added tests

@codecov-commenter
Copy link

codecov-commenter commented Oct 22, 2022

Codecov Report

Merging #12493 (e27bbfe) into dev (138eab6) will increase coverage by 0.11%.
The diff coverage is 80.00%.

@@             Coverage Diff              @@
##                dev   #12493      +/-   ##
============================================
+ Coverage     39.63%   39.75%   +0.11%     
- Complexity     4196     4209      +13     
============================================
  Files          1038     1038              
  Lines         38852    38854       +2     
  Branches       4450     4452       +2     
============================================
+ Hits          15400    15445      +45     
+ Misses        21712    21675      -37     
+ Partials       1740     1734       -6     
Impacted Files Coverage Δ
...nscheduler/service/process/ProcessServiceImpl.java 28.86% <ø> (+0.27%) ⬆️
...duler/api/service/impl/WorkerGroupServiceImpl.java 84.07% <78.57%> (+23.23%) ⬆️
...cheduler/api/service/impl/ExecutorServiceImpl.java 43.73% <100.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@DarkAssassinator
Copy link
Contributor Author

@ruanwenjun Please help to review this PR. thx.

@SbloodyS SbloodyS added this to the 3.2.0 milestone Oct 22, 2022
@SbloodyS SbloodyS added the improvement make more easy to user or prompt friendly label Oct 22, 2022
caishunfeng
caishunfeng previously approved these changes Oct 25, 2022
Copy link
Contributor

@caishunfeng caishunfeng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@DarkAssassinator DarkAssassinator requested review from caishunfeng and removed request for SbloodyS October 26, 2022 00:47
@sonarcloud
Copy link

sonarcloud bot commented Oct 26, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 13 Code Smells

85.7% 85.7% Coverage
0.0% 0.0% Duplication

@caishunfeng caishunfeng merged commit ed209bd into apache:dev Oct 26, 2022
@DarkAssassinator DarkAssassinator deleted the dev_yann_refactor_issue#12470 branch October 26, 2022 11:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend improvement make more easy to user or prompt friendly
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Refactor] Migrate all workergroup-related interface functions from ProcessServiceImpl
4 participants