dolphinscheduler icon indicating copy to clipboard operation
dolphinscheduler copied to clipboard

[Feature] Add CURD to the project/tenant/user section of the python-DS

Open lyleshaw opened this issue 2 years ago • 4 comments

Purpose of the pull request

  • Add CURD in project
  • Add CURD in tenant
  • Add CURD in user
  • Add test in user

Brief change log

  • Add CURD in project
  • Add CURD in tenant
  • Add CURD in user
  • Add test in user

Verify this pull request

This change added tests and can be verified.

lyleshaw avatar Jul 27 '22 06:07 lyleshaw

Codecov Report

Merging #11162 (5c90b63) into dev (f8b9aad) will decrease coverage by 0.91%. The diff coverage is 22.22%.

@@             Coverage Diff              @@
##                dev   #11162      +/-   ##
============================================
- Coverage     39.59%   38.68%   -0.92%     
+ Complexity     4689     4007     -682     
============================================
  Files          1014     1002      -12     
  Lines         37918    37237     -681     
  Branches       4238     4255      +17     
============================================
- Hits          15013    14404     -609     
+ Misses        21297    21194     -103     
- Partials       1608     1639      +31     
Impacted Files Coverage Δ
...che/dolphinscheduler/api/python/PythonGateway.java 17.06% <0.00%> (-0.77%) :arrow_down:
...nscheduler/api/service/impl/TenantServiceImpl.java 61.42% <100.00%> (-4.96%) :arrow_down:
...inscheduler/api/service/impl/UsersServiceImpl.java 70.60% <100.00%> (-1.68%) :arrow_down:
...olphinscheduler/plugin/task/dvc/DvcParameters.java 0.00% <0.00%> (-100.00%) :arrow_down:
...lphinscheduler/dao/entity/ProcessTaskRelation.java 0.00% <0.00%> (-62.50%) :arrow_down:
...ache/dolphinscheduler/dao/entity/K8sNamespace.java 18.18% <0.00%> (-57.23%) :arrow_down:
...a/org/apache/dolphinscheduler/dao/entity/User.java 18.18% <0.00%> (-55.96%) :arrow_down:
...apache/dolphinscheduler/dao/entity/DataSource.java 18.18% <0.00%> (-54.99%) :arrow_down:
...g/apache/dolphinscheduler/dao/entity/Resource.java 0.00% <0.00%> (-48.24%) :arrow_down:
...he/dolphinscheduler/dao/entity/TaskGroupQueue.java 20.00% <0.00%> (-46.04%) :arrow_down:
... and 203 more

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

codecov-commenter avatar Jul 27 '22 07:07 codecov-commenter

Please solve the conflict, thanks

zhongjiajie avatar Jul 29 '22 02:07 zhongjiajie

Sorry, I just want to submit the current code and resolve the conflict, and wasn't ready to be reviewed.

lyleshaw avatar Jul 29 '22 11:07 lyleshaw