[Improvement-16258][Registry] Add ZK authorization yaml control & add digest auth UT
…t auth UT
Purpose of the pull request
fix: Improvement
Brief change log
add digest UT and small refactor on ZK registry yaml for future authentication support like https://github.com/apache/dolphinscheduler/pull/16271#discussion_r1665737502
Verify this pull request
Pull Request Notice
If your pull request contain incompatible change, you should also add it to docs/docs/en/guide/upgrede/incompatible.md
Please follow pull request notice and fix code style.
Thanks, Done.
UT failed.
It seems
ZookeeperRegistryProperties would keep digest which caused curator always use digest between multiple test.
I leverage practise in jdbc-registry to autowire each ZookeeperRegistryProperties to make it right.
It works now.
Quality Gate passed
Issues
24 New issues
0 Accepted issues
Measures
1 Security Hotspot
64.0% Coverage on New Code
2.0% Duplication on New Code
This pull request has been automatically marked as stale because it has not had recent activity for 120 days. It will be closed in 7 days if no further activity occurs.
This pull request has been closed because it has not had recent activity. You could reopen it if you try to continue your work, and anyone who are interested in it are encouraged to continue work on this pull request.