Skip to content

[Feature] Remove invalid interceptors from flow entry #1080

@wxyn

Description

@wxyn

Search before asking

  • I had searched in the issues and found no similar feature requirement.

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?

  • Yes I am willing to submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions