Skip to content

[Improvement-18064][ApiServer] Update globalParams replace logic and test case#18068

Open
njnu-seafish wants to merge 4 commits intoapache:devfrom
njnu-seafish:Fix-18064
Open

[Improvement-18064][ApiServer] Update globalParams replace logic and test case#18068
njnu-seafish wants to merge 4 commits intoapache:devfrom
njnu-seafish:Fix-18064

Conversation

@njnu-seafish
Copy link
Contributor

Was this PR generated or assisted by AI?

NO

Purpose of the pull request

close #18064

Brief change log

Update globalParams replace logic and test case

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)

Pull Request Notice

Pull Request Notice

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

@SbloodyS SbloodyS changed the title [Fix-18064][ApiServer]Update globalParams replace logic and test case [Fix-18064][ApiServer] Update globalParams replace logic and test case Mar 13, 2026
@SbloodyS SbloodyS changed the title [Fix-18064][ApiServer] Update globalParams replace logic and test case [Improvement-18064][ApiServer] Update globalParams replace logic and test case Mar 13, 2026
@SbloodyS SbloodyS added this to the 3.4.2 milestone Mar 13, 2026
@SbloodyS SbloodyS added the improvement make more easy to user or prompt friendly label Mar 13, 2026
@sonarqubecloud
Copy link

Copy link
Member

@ruanwenjun ruanwenjun left a comment

Choose a reason for hiding this comment

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

It's better to use a utils to do this, the calculate logic also exist in master.

I think we should use a table to store some of the runtime context of workflow instances, such as parameters.(This can be a final solution)

@njnu-seafish
Copy link
Contributor Author

It's better to use a utils to do this, the calculate logic also exist in master.

I think we should use a table to store some of the runtime context of workflow instances, such as parameters.(This can be a final solution)

Sure, I'll wait until the other PRs are merged before fixing this one to avoid conflicts.

苏义超 added 2 commits March 18, 2026 11:53
# Conflicts:
#	dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/WorkflowInstanceServiceImpl.java
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 test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Improvement] [Api] When viewing parameters for a workflow instance, time-format parameters are not being replaced with their actual values.

3 participants