Skip to content

feat: As a user, I want to refactor the resources under apisix.admin, so that we don't need to repeat #8569

@spacewander

Description

@spacewander

Description

Currently, all the resources under apisix.admin are basically copied and pasted from a template and changed. If you make general changes to the resource, such as fix count or add adapter, you need to change it file by file. And due to historical problems, some resource implementation methods are incomplete.
I hope we can refactor the code to something like core.config.new, where we only need to pass a few parameters to create a new resource.

Note: Please read every resource file before jumping into the refactor. Some resources have particular logic. We need a smart way to handle them.

CC @An-DJ

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions