Skip to content

[Enhancement] RESTful API framework for EventMeshAdmin #4494

@Pil0tXia

Description

@Pil0tXia

Search before asking

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

Enhancement Request

Optimize the EventMeshAdmin API into a RESTful style to enhance its capability to provide detailed error messages and HTTP status codes to the caller, enable the propagation of error messages as exceptions, and support the extension of error message types and usage.

Describe the solution you'd like

  • Errors: An enumeration class that conforms to the RESTful specifications and custom error reporting requirements.
  • Result: A RESTful response DTO.
  • BaseException: Customized error reporting using enums and exceptions
  • GlobalExceptionHandler: handle BaseException

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions