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

[Fix-10425]Recovery LDAP Config #10429

Merged
merged 2 commits into from
Jun 15, 2022
Merged

Conversation

qingwli
Copy link
Member

@qingwli qingwli commented Jun 13, 2022

Purpose of the pull request

Due to 4114cb0#diff-f2f54230647b5ed6920efc032cd61c4dc2acd8f728ad0f43aef1e8fd3f9793ed , dev branch has no LDAP config in the YAML file. I recovery LDAP config.

Brief change log

dolphinscheduler-api/src/main/resources/application.yaml
dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/security/impl/ldap/LdapService.java
dolphinscheduler-standalone-server/src/main/resources/application.yaml

Verify this pull request

This pull request is already covered by existing tests, such as (please describe tests).

dolphinscheduler-api/src/test/java/org/apache/dolphinscheduler/api/security/impl/ldap/LdapAuthenticatorTest.java
dolphinscheduler-api/src/test/java/org/apache/dolphinscheduler/api/security/impl/ldap/LdapServiceTest.java

part of #10425

@codecov-commenter
Copy link

Codecov Report

Merging #10429 (047f341) into dev (a7e2079) will increase coverage by 0.02%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##                dev   #10429      +/-   ##
============================================
+ Coverage     40.52%   40.55%   +0.02%     
- Complexity     4770     4774       +4     
============================================
  Files           877      878       +1     
  Lines         35698    35741      +43     
  Branches       3969     3969              
============================================
+ Hits          14468    14493      +25     
- Misses        19786    19805      +19     
+ Partials       1444     1443       -1     
Impacted Files Coverage Δ
...nscheduler/api/security/impl/ldap/LdapService.java 5.40% <ø> (ø)
...r/plugin/registry/zookeeper/ZookeeperRegistry.java 48.21% <0.00%> (ø)
...egistry/zookeeper/ZookeeperRegistryProperties.java 53.48% <0.00%> (ø)
...er/master/dispatch/host/assign/RandomSelector.java 83.33% <0.00%> (+5.55%) ⬆️
...lphinscheduler/rpc/common/AbstractRpcCallBack.java 100.00% <0.00%> (+100.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 a7e2079...047f341. Read the comment docs.

@SbloodyS SbloodyS added bug Something isn't working backend labels Jun 13, 2022
@SbloodyS SbloodyS added this to the 3.0.0-beta-2 milestone Jun 13, 2022
@caishunfeng
Copy link
Contributor

Hi @liqingwang please update this security config description into doc, see https://dolphinscheduler.apache.org/en-us/docs/latest/user_doc/architecture/configuration.html

@sonarcloud
Copy link

sonarcloud bot commented Jun 14, 2022

SonarCloud Quality Gate failed.    Quality Gate failed

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

14.8% 14.8% Coverage
0.0% 0.0% Duplication

@qingwli
Copy link
Member Author

qingwli commented Jun 15, 2022

This PR is ready too, and for the configuration part, I'll open another pr to upgrade to the newest. @zhongjiajie

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

@caishunfeng caishunfeng merged commit 0efcd5c into apache:dev Jun 15, 2022
devosend pushed a commit that referenced this pull request Jun 18, 2022
* recovery ladp code

* add ldap config in doc

(cherry picked from commit 0efcd5c)
hstdream pushed a commit to hstdream/dolphinscheduler that referenced this pull request Jun 23, 2022
* recovery ladp code

* add ldap config in doc
@qingwli qingwli deleted the fix-ldap-config branch September 7, 2023 06:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants