-
Notifications
You must be signed in to change notification settings - Fork 611
feature: sync json schema from APISIX and check schema when create or update resource #551
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
Merged
Merged
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
6a41de9
feat: json schema check
johzchen 5f9afcc
fix: don't need to define struct for each resource, because that may …
johzchen a516f72
test: add handler test cases
johzchen 5f5bb3f
test: complete consumer test cases
johzchen 0421b23
test: add test cases for schema check
johzchen 59e0ec0
fix code style and license
johzchen 18561f5
feat: add schema check for plugins
johzchen 4eab359
test: add ssl handler test cases
johzchen d2fb4d7
test: add test cases for upstream and service
johzchen ca638b6
test: add test cases for route
johzchen 97d89b4
test: add note for route create
johzchen cc3bc8e
test: update CI
johzchen a5e5d6c
fix: remove useless file
johzchen f2446ce
test: fix CI
johzchen 6072d34
fix: ci fail
johzchen 4624313
test: fix lib `dag-to-lua`'s path in CI
johzchen 5d907f4
fix: URI for route may be empty
johzchen 75d2f13
fix: remove empty lines
johzchen 254bab3
fix: refactor validator of json schema
johzchen 8232451
fix code style
johzchen 81ffa4b
fix cicd
johzchen 7a122c0
chore: update docker file
johzchen 24c0c0f
fix: should check schema after id generated
johzchen 0ddd134
fix code style
johzchen 5b4eed2
chore: page_number -> page
johzchen a661dc2
fix: schema sync script
johzchen File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
I think we need to check if the
conf/schema.jsonis the correctThere 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.
if
scheme.jsonis not correct,manager apiwill not be able to run:https://github.com/apache/apisix-dashboard/pull/551/files#diff-662a29145b19ca440fb3bca6c8605c50R45-R48