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

[Feature] Remove invalid interceptors from flow entry #1080

Closed wxyn closed 1 year ago

wxyn commented 1 year ago

Search before asking

Problem Description

linkis, as a middleware, defines many default interceptors for entrance. If the application does not need these interceptors, it can define its own interceptor list to override the default interceptors. If not overwritten, instability may occur.

Description

The following interceptors are not required for dss, so it is necessary for dss to define its own interceptor list, overwrite the default interceptors of linkis, and exclude the unwanted interceptors. image

Use case

No response

solutions

In DSS workflow-entrance module, add a FlowEntranceSpringConfiguration configuration class, only assembly the following four necessary interceptor bean, override linkis default interceptor.

EntranceInterceptor LogPathCreateInterceptor StorePathEntranceInterceptor CommentInterceptor

Anything else

No response

Are you willing to submit a PR?

zqburde commented 1 year ago

Add it in DSS1.1.2