Skip to content

[Bug] failed to getReleaseStatus while publishing project to Schedulis because of type conversion #1113

Open
@DevotedTangLiu

Description

@DevotedTangLiu

Search before asking

  • I searched the issues and found no similar issues.

DSS Component

dss-orchestrator

What happened + What you expected to happen

System error occured because the releaseTaskId is String type (uuid) while the parameter of get method is the Long type.

The releaseTaskId is set by OrchestratorPluginServiceImpl.convertOrchestration , with codes like :

job.setId(String.valueOf(UUID.randomUUID()));

While FlowRestfulApi.getReleaseStatus has the parameter of Long releaseTaskId, so it produces fail warnings but the project is published to schedulis actually.

image image image

Relevent platform

DSS: 1.1.2
Linkis: 1.4.0
Schedulis: 0.8.0

Reproduction script

no scripts is needed

Anything else

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions