-
Notifications
You must be signed in to change notification settings - Fork 528
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add data loader framework #2371
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2371 +/- ##
==========================================
+ Coverage 68.07% 68.50% +0.43%
==========================================
Files 128 131 +3
Lines 3358 3420 +62
Branches 822 828 +6
==========================================
+ Hits 2286 2343 +57
- Misses 1072 1077 +5
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please update the description of the PR, I don't quite understand the background of the PR and what the end goal is to achieve, thanks.
|
||
import "github.com/apisix/manager-api/internal/core/entity" | ||
|
||
type DataSets struct { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Better to add desc for the struct.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@starsz Updated
@nic-chen Updated This PR is the basis for the refactored data import functionality, which provides the key Import/Export interface definition and DataSets data interface so that we can implement different data import implementations, such as OpenAPI or Swagger. |
ping @starsz |
LGTM. |
* origin: feat: release 2.11.0 (apache#2361) feat: add data loader framework (apache#2371) feat: improve Consumer module (apache#2327) fix: ! (reverse) operator not handled correctly (apache#2364) chore: modify the select upstream field to upstream (apache#2344) feat: support protobuf on Web (apache#2320) chore: Extract paging related functions into standalone hook (apache#2334) feat: basic support Apache APISIX 2.12.1 (apache#2315) # Conflicts: # web/src/helpers.tsx # web/yarn.lock
Please answer these questions before submitting a pull request, or your PR will get closed.
Why submit this pull request?
What changes will this PR take into?
This PR is the basis for the refactored data import functionality, which provides the key
Import
/Export
interface definition andDataSets
data interface so that we can implement different data import implementations, such as OpenAPI or Swagger.This is part of the refactoring, and a refactoring of the OpenAPI codec will be submitted later.
Checklist: