WeBankFinTech / DataSphereStudio

DataSphereStudio is a one stop data application development& management portal, covering scenarios including data exchange, desensitization/cleansing, analysis/mining, quality measurement, visualization, and task scheduling.
https://github.com/WeBankFinTech/DataSphereStudio-Doc
Apache License 2.0
3.04k stars 999 forks source link

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

Open DevotedTangLiu opened 1 year ago

DevotedTangLiu commented 1 year ago

Search before asking

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?