You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

[Progress record]:

has been claimed by jack-xu2011
Proposed time: 2022/06/10
Discussion time:
Accept/Reject Time:
Complete time:
[issues]:
[email]:
[Release]: 1.2.0
[Proposer]: jack-xu2011

Motivation & Background

At present, in the code related to linkis error codes, an enumeration class of error codes is constructed for different modules, and most of the codes in these classes are repetitive codes.

Basic concept

Expect to achieve goals

Eliminates duplicate code and is easy to extend as new modules are added.

Implementation plan

1. Add the function module enumeration class of linkis, and define the modules in linkis (this should be shared by the whole linkis)
2. Define the mapping relationship between each module and error code in ErrorCodeUtils
3. Merge all error code enumerations and refactor related code

Changes


Modification Detail
1
Modification of maven module


2Modification of HTTP interface
3Modification of the client interface
4Modification of database table structure
5Modification of configuration item
6Modification Error code 
7Modifications for Third Party Dependencies

Compatibility, Deprecation, and Migration Plan

  • What impact (if any) will there be on existing users?
  • If we are changing behavior, how will we phase out the older behavior?
  • If we require special migration tools, describe them here.
  • When will we remove the existing behavior?


  • No labels