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

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

Open
2 tasks done
DevotedTangLiu opened this issue Sep 12, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@DevotedTangLiu
Copy link

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!
@DevotedTangLiu DevotedTangLiu added the bug Something isn't working label Sep 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant