[Feature][Improvement] Support multi cluster environments - k8s type#10096
[Feature][Improvement] Support multi cluster environments - k8s type#10096Amy0104 merged 19 commits intoapache:devfrom
Conversation
Codecov Report
@@ Coverage Diff @@
## dev #10096 +/- ##
============================================
+ Coverage 40.56% 40.89% +0.32%
- Complexity 4766 4848 +82
============================================
Files 877 883 +6
Lines 35621 35970 +349
Branches 3945 3991 +46
============================================
+ Hits 14449 14709 +260
- Misses 19737 19807 +70
- Partials 1435 1454 +19
Continue to review full report at Codecov.
|
| /** | ||
| * cluster controller | ||
| * todo 这是新增的 集群环境 | ||
| */ |
There was a problem hiding this comment.
Remove this kind of comments, they are meaningless
There was a problem hiding this comment.
Just remove the chinese comments , or all of them? I find that all other classes are commented with xx controller?
|
Hi @qianli2022 , thank you, do you have an issue to link to the feature discussion? |
|
...inscheduler-e2e-case/src/test/java/org/apache/dolphinscheduler/e2e/cases/ClusterE2ETest.java
Show resolved
Hide resolved
|
I find some test classes are not counted in the unit coverage, so git show the insufficient coverage error |
I had rerun the UT to check the test converage. |
WangJPLeo
left a comment
There was a problem hiding this comment.
Hello, after the cluster should belong to the scope of data permissions, we will refactor function permissions and resource permissions in the next version, the purpose is to facilitate the expansion and customization of functional permissions and data permissions. You can Under the dev' branch, you can see the method of unified management of permissions in ResourcePermissionCheckService. I hope you can optimize the permission management of the cluster in the future, thank you.
caishunfeng
left a comment
There was a problem hiding this comment.
LGTM of the backend part.
BTW, this is a very complete pr 👍
OK,next pr will be namespace using multiple clusters, which will include permissions, and I will follow your latest permissions design. |
dolphinscheduler-ui/src/views/security/cluster-manage/components/cluster-modal.tsx
Show resolved
Hide resolved
dolphinscheduler-ui/src/views/security/cluster-manage/components/use-modal.ts
Show resolved
Hide resolved
dolphinscheduler-ui/src/views/security/cluster-manage/index.tsx
Outdated
Show resolved
Hide resolved
dolphinscheduler-ui/src/views/security/cluster-manage/index.tsx
Outdated
Show resolved
Hide resolved
dolphinscheduler-ui/src/views/security/cluster-manage/index.tsx
Outdated
Show resolved
Hide resolved
use Nspace instead of css.
Remove the style.
Remove the useless file.
|
Kudos, SonarCloud Quality Gate passed! |
|
@Amy0104, thank you for your review, very nice catching :) I also have some suggestions: |
|
Thanks for your suggestion. We will try to make the pages to a small template later. |
…pache#10096) * service code * [Feature][UI] Add front-end for cluster manage * fix e2e * remove comment on cluster controller * doc * img * setting e2e.yaml * test * rerun e2e * fix bug from comment * Update index.tsx use Nspace instead of css. * Update index.tsx Remove the style. * Delete index.module.scss Remove the useless file. Co-authored-by: qianl4 <qianl4@cicso.com> Co-authored-by: William Tong <weitong@cisco.com> Co-authored-by: Amy0104 <97265214+Amy0104@users.noreply.github.com>








Purpose of the pull request
Adding a cluster configuration, a cluster configuration with k8s etc. Currently only k8s multi-clusters are supported.
Brief change log
Verify this pull request
This change added tests and can be verified as follows:
close #9462