Skip to content

[Improvement-11507][Workflow] support sort for workfow definition list #11509

Closed
106umao wants to merge 3 commits intoapache:devfrom
106umao:workflow-sort
Closed

[Improvement-11507][Workflow] support sort for workfow definition list #11509
106umao wants to merge 3 commits intoapache:devfrom
106umao:workflow-sort

Conversation

@106umao
Copy link
Contributor

@106umao 106umao commented Aug 16, 2022

close #11507

Purpose of the pull request

Brief change log

close #11507

Verify this pull request

This pull request is code cleanup without any test coverage.

(or)

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

(or)

This change added tests and can be verified as follows:

(or)

If your pull request contain incompatible change, you should also add it to docs/docs/en/guide/upgrede/incompatible.md

@106umao 106umao changed the title [Feature-11507][Workflow] support sort for workfow definition list [Improvement-11507][Workflow] support sort for workfow definition list Aug 16, 2022
@SbloodyS SbloodyS added the improvement make more easy to user or prompt friendly label Aug 17, 2022
@SbloodyS SbloodyS added this to the 3.1.0 milestone Aug 17, 2022
@codecov-commenter
Copy link

Codecov Report

Merging #11509 (aa5010d) into dev (2a7e0be) will decrease coverage by 0.00%.
The diff coverage is 54.54%.

@@             Coverage Diff              @@
##                dev   #11509      +/-   ##
============================================
- Coverage     39.36%   39.35%   -0.01%     
- Complexity     4630     4631       +1     
============================================
  Files           987      988       +1     
  Lines         37566    37579      +13     
  Branches       4184     4185       +1     
============================================
+ Hits          14789    14791       +2     
- Misses        21226    21236      +10     
- Partials       1551     1552       +1     
Impacted Files Coverage Δ
...api/service/impl/ProcessDefinitionServiceImpl.java 32.19% <0.00%> (-0.08%) ⬇️
...er/api/controller/ProcessDefinitionController.java 45.34% <100.00%> (ø)
...rg/apache/dolphinscheduler/api/enums/SortEnum.java 100.00% <100.00%> (ø)
...erver/master/processor/queue/TaskEventService.java 75.00% <0.00%> (-5.36%) ⬇️
...uler/plugin/task/api/k8s/impl/K8sTaskExecutor.java 35.00% <0.00%> (-1.54%) ⬇️
...r/plugin/task/sqoop/parameter/SqoopParameters.java 55.12% <0.00%> (-1.29%) ⬇️
...nscheduler/service/process/ProcessServiceImpl.java 31.87% <0.00%> (ø)
.../server/master/runner/StateWheelExecuteThread.java 0.40% <0.00%> (ø)
...org/apache/dolphinscheduler/alert/AlertConfig.java 0.00% <0.00%> (ø)
...lphinscheduler/plugin/task/api/utils/K8sUtils.java 3.84% <0.00%> (ø)
... and 2 more

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

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

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

88.9% 88.9% Coverage
0.0% 0.0% Duplication


package org.apache.dolphinscheduler.api.enums;

public enum SortEnum {
Copy link
Contributor

Choose a reason for hiding this comment

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

no comments

@RequestParam(value = "searchVal", required = false) String searchVal,
@RequestParam(value = "otherParamsJson", required = false) String otherParamsJson,
@RequestParam(value = "userId", required = false, defaultValue = "0") Integer userId,
@RequestParam(value = "sortEnum", required = false) SortEnum sortType,
Copy link
Contributor

Choose a reason for hiding this comment

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

add default value

<appender-ref ref="STDOUT"/>
</then>
</if>
<appender-ref ref="STDOUT"/>
Copy link
Contributor

Choose a reason for hiding this comment

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

remove this unused code

Copy link
Contributor

@lenboo lenboo left a comment

Choose a reason for hiding this comment

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

some need changed

@106umao
Copy link
Contributor Author

106umao commented Aug 17, 2022

close

@106umao 106umao closed this Aug 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend improvement make more easy to user or prompt friendly

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Improvement][Workflow] support sort for workfow definition list

4 participants