Skip to content

feature: Add user state #1923#2424

Merged
lgcareer merged 17 commits intoapache:devfrom
wen-hemin:feature-addUserState
May 11, 2020
Merged

feature: Add user state #1923#2424
lgcareer merged 17 commits intoapache:devfrom
wen-hemin:feature-addUserState

Conversation

@wen-hemin
Copy link
Copy Markdown
Contributor

Please see #1923 for details.

Before merge, need to execute sql script.

@davidzollo davidzollo requested a review from lgcareer April 18, 2020 13:36
@davidzollo
Copy link
Copy Markdown
Contributor

find Conflicting files,please solve locally

# Conflicts:
#	dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/controller/UsersController.java
@wen-hemin
Copy link
Copy Markdown
Contributor Author

fixed conflict

@wen-hemin
Copy link
Copy Markdown
Contributor Author

Because The t_ds_user table add "state" column, UT is failed.
Need to execute the sql script first.

@break60
Copy link
Copy Markdown
Contributor

break60 commented Apr 21, 2020

Please solve ut

@codecov-io
Copy link
Copy Markdown

codecov-io commented Apr 26, 2020

Codecov Report

Merging #2424 into dev will decrease coverage by 0.00%.
The diff coverage is 71.42%.

Impacted file tree graph

@@             Coverage Diff              @@
##                dev    #2424      +/-   ##
============================================
- Coverage     36.16%   36.16%   -0.01%     
- Complexity     2472     2473       +1     
============================================
  Files           431      431              
  Lines         19879    19893      +14     
  Branches       2419     2421       +2     
============================================
+ Hits           7190     7194       +4     
- Misses        12048    12055       +7     
- Partials        641      644       +3     
Impacted Files Coverage Δ Complexity Δ
...lphinscheduler/api/controller/UsersController.java 3.57% <0.00%> (ø) 2.00 <0.00> (ø)
.../org/apache/dolphinscheduler/api/enums/Status.java 100.00% <100.00%> (ø) 5.00 <0.00> (ø)
...duler/api/interceptor/LoginHandlerInterceptor.java 80.95% <100.00%> (+4.48%) 6.00 <0.00> (+1.00)
...nscheduler/api/security/PasswordAuthenticator.java 59.25% <100.00%> (+7.08%) 5.00 <0.00> (+1.00)
...che/dolphinscheduler/api/service/UsersService.java 71.34% <100.00%> (+0.16%) 66.00 <0.00> (ø)
...a/org/apache/dolphinscheduler/dao/entity/User.java 72.41% <100.00%> (+1.50%) 27.00 <2.00> (+2.00)
...he/dolphinscheduler/api/service/LoggerService.java 82.60% <0.00%> (-8.70%) 9.00% <0.00%> (-1.00%)
...he/dolphinscheduler/common/thread/ThreadUtils.java 71.42% <0.00%> (-6.35%) 14.00% <0.00%> (ø%)
...e/dolphinscheduler/remote/NettyRemotingClient.java 51.07% <0.00%> (-2.88%) 9.00% <0.00%> (-2.00%)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update cb52853...1263869. Read the comment docs.

@wen-hemin
Copy link
Copy Markdown
Contributor Author

@lgcareer Please review this PR.

@break60
Copy link
Copy Markdown
Contributor

break60 commented May 8, 2020

frontend+1

# Conflicts:
#	dolphinscheduler-ui/src/js/conf/home/pages/security/pages/users/_source/createUser.vue
#	dolphinscheduler-ui/src/js/module/i18n/locale/en_US.js
#	dolphinscheduler-ui/src/js/module/i18n/locale/zh_CN.js
@sonarqubecloud
Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 4 Code Smells

76.0% 76.0% Coverage
0.0% 0.0% Duplication

@wen-hemin
Copy link
Copy Markdown
Contributor Author

Copy link
Copy Markdown
Contributor

@lgcareer lgcareer left a comment

Choose a reason for hiding this comment

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

+1

@lgcareer lgcareer merged commit 68e3487 into apache:dev May 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants