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

[Feature-12526][Api] add dynamic task function: shell task #12840

Merged
merged 12 commits into from
Nov 14, 2022

Conversation

Tianqi-Dotes
Copy link
Member

@Tianqi-Dotes Tianqi-Dotes commented Nov 9, 2022

Purpose of the pull request

add dynamic task function: shell task
see #12526

Brief change log

add dynamic task function: shell task

Verify this pull request

Manually verified the change by testing locally.

@Tianqi-Dotes Tianqi-Dotes changed the title [feature][BE] add dynamic task function: shell task [feature][BE-12526] add dynamic task function: shell task Nov 9, 2022
@SbloodyS SbloodyS added the feature new feature label Nov 10, 2022
@SbloodyS SbloodyS added this to the 3.2.0 milestone Nov 10, 2022
@Tianqi-Dotes Tianqi-Dotes added the 3.1.x for 3.1.x version label Nov 14, 2022
@codecov-commenter
Copy link

codecov-commenter commented Nov 14, 2022

Codecov Report

Merging #12840 (de99a50) into dev (0c519f7) will increase coverage by 0.14%.
The diff coverage is 18.51%.

@@             Coverage Diff              @@
##                dev   #12840      +/-   ##
============================================
+ Coverage     39.12%   39.27%   +0.14%     
- Complexity     4192     4235      +43     
============================================
  Files          1044     1053       +9     
  Lines         39447    39883     +436     
  Branches       4530     4586      +56     
============================================
+ Hits          15434    15663     +229     
- Misses        22259    22445     +186     
- Partials       1754     1775      +21     
Impacted Files Coverage Δ
...pi/configuration/DynamicTaskTypeConfiguration.java 18.18% <18.18%> (ø)
...uler/api/controller/DynamicTaskTypeController.java 20.00% <20.00%> (ø)
.../dao/repository/impl/ProcessDefinitionDaoImpl.java 4.34% <0.00%> (-5.66%) ⬇️
...er/master/dispatch/host/assign/RandomSelector.java 77.77% <0.00%> (-5.56%) ⬇️
...lphinscheduler/plugin/task/api/utils/LogUtils.java 61.53% <0.00%> (-5.13%) ⬇️
...uler/server/master/registry/ServerNodeManager.java 0.00% <0.00%> (-1.20%) ⬇️
...erver/worker/runner/WorkerTaskExecuteRunnable.java 39.73% <0.00%> (-1.09%) ⬇️
...nscheduler/api/controller/ResourcesController.java 54.71% <0.00%> (-1.06%) ⬇️
...pache/dolphinscheduler/common/utils/FileUtils.java 54.28% <0.00%> (-0.79%) ⬇️
...permission/ResourcePermissionCheckServiceImpl.java 66.15% <0.00%> (-0.77%) ⬇️
... and 41 more

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

@caishunfeng caishunfeng changed the title [feature][BE-12526] add dynamic task function: shell task [Feature-12526][Api] add dynamic task function: shell task Nov 14, 2022
@sonarcloud
Copy link

sonarcloud bot commented Nov 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 3 Code Smells

14.3% 14.3% Coverage
0.0% 0.0% Duplication

@ResponseStatus(HttpStatus.OK)
@ApiException(LIST_TASK_TYPE_ERROR)
@AccessLogAnnotation(ignoreRequestArgs = "loginUser")
public Result listDynamicTaskTypes(@Parameter(hidden = true) @RequestAttribute(value = Constants.SESSION_USER) User loginUser,

Check notice

Code scanning / CodeQL

Useless parameter

The parameter 'loginUser' is never used.
@ResponseStatus(HttpStatus.OK)
@ApiException(LIST_TASK_TYPE_ERROR)
@AccessLogAnnotation(ignoreRequestArgs = "loginUser")
public Result listDynamicTaskCategories(@Parameter(hidden = true) @RequestAttribute(value = Constants.SESSION_USER) User loginUser) {

Check notice

Code scanning / CodeQL

Useless parameter

The parameter 'loginUser' is never used.
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.

LGTM

@Tianqi-Dotes Tianqi-Dotes merged commit d324cce into apache:dev Nov 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.1.x for 3.1.x version backend feature new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants