Skip to content
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

Implement schema server capabilities #782

Merged
merged 10 commits into from
Jul 30, 2023
Merged

Implement schema server capabilities #782

merged 10 commits into from
Jul 30, 2023

Conversation

MythicManiac
Copy link
Member

@MythicManiac MythicManiac commented Jan 8, 2023

Add a schema server app with API endpoints for fetching and pushing new ecosystem schemas, including support for multiple named channels.

Refs TS-1430

@codecov
Copy link

codecov bot commented Jan 8, 2023

Codecov Report

Merging #782 (29ddc87) into master (b38e958) will increase coverage by 0.19%.
The diff coverage is 99.15%.

@@            Coverage Diff             @@
##           master     #782      +/-   ##
==========================================
+ Coverage   91.80%   92.00%   +0.19%     
==========================================
  Files         243      252       +9     
  Lines        7088     7289     +201     
  Branches      688      702      +14     
==========================================
+ Hits         6507     6706     +199     
- Misses        484      486       +2     
  Partials       97       97              
Files Changed Coverage Δ
django/docker_entrypoint.py 0.00% <0.00%> (ø)
...d/api/experimental/views/community_package_list.py 93.33% <ø> (ø)
...store/frontend/api/experimental/views/frontpage.py 100.00% <ø> (ø)
...rstore/frontend/api/experimental/views/markdown.py 100.00% <ø> (ø)
...frontend/api/experimental/views/package_details.py 100.00% <ø> (ø)
...e/modpacks/api/experimental/views/legacyprofile.py 100.00% <ø> (ø)
...rstore/repository/api/experimental/views/submit.py 95.23% <ø> (ø)
...re/repository/api/experimental/views/validators.py 100.00% <ø> (ø)
...re/social/api/experimental/views/complete_login.py 100.00% <ø> (ø)
...re/social/api/experimental/views/delete_session.py 100.00% <ø> (ø)
... and 26 more

Add a schema server app with API endpoints for fetching and pushing new
ecosystem schemas, including support for multiple named channels.

Refs TS-1430
Add tests for the functionality provided by the schema_server.SchemaFile
model.
Add tests for the functionality provided by the SchemaChannel and
SchemaChannelFile models.
Fix an issue where the schema importer would prepend 'The' to the
community slogan even if the community name already included it.
Add tests covering the functionality provided by the schema server
experimental API views
Add basic tests for the schema server admin pages
Add a missing __init__.py configuration that enables the
SchemaServerAppConfig for the thunderstore.schema_server module.
@MythicManiac MythicManiac marked this pull request as ready for review July 30, 2023 10:23
Go through all of the API views and update their documentation as
follows:

- Mark deprecated endpoints as such
- Add appropriate tags to each endpoint
Expand the authorization test case to include a test with a deactivated
user, which should be rejected.
@MythicManiac MythicManiac merged commit 72a681d into master Jul 30, 2023
19 checks passed
@MythicManiac MythicManiac deleted the schema-server branch July 30, 2023 10:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant