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

feat: Add support to load knora-ontologies in the docker-compose stack #3002

Merged
merged 6 commits into from
Jan 23, 2024

Conversation

seakayone
Copy link
Contributor

@seakayone seakayone commented Jan 23, 2024

Pull Request Checklist

Task Description/Number

@derschnee68 would like to use the reset endpoint in his app e2e test while having the stack running from the docker-sompose.yml. Hence the container needs access to the test_data and knora-ontologies folders.

The rest is just refactoring: Migrate POST /admin/store/ResetTriplestoreContent to Tapir so it shows up in swagger-ui.

PR Type

  • build/chore: maintenance tasks (no production code change)
  • docs: documentation changes (no production code change)
  • feat: represents new features
  • fix: represents bug fixes
  • perf: performance improvements
  • refactor: represents production code refactoring
  • test: adding or refactoring tests (no production code change)

Basic requirements for bug fixes and features

  • Tests for the changes have been added
  • Docs have been added / updated

Does this PR introduce a breaking change?

  • Yes

Does this PR change client-test-data?

  • Yes

Migrate `POST /admin/store/ResetTriplestoreContent` to Tapir
@seakayone seakayone requested review from mpro7, BalduinLandolt and derschnee68 and removed request for mpro7 January 23, 2024 12:18
Copy link

codecov bot commented Jan 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (eac5751) 11.74% compared to head (536c104) 11.64%.
Report is 26 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3002      +/-   ##
==========================================
- Coverage   11.74%   11.64%   -0.10%     
==========================================
  Files         246      259      +13     
  Lines       22907    23083     +176     
==========================================
- Hits         2690     2688       -2     
- Misses      20217    20395     +178     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@seakayone seakayone marked this pull request as ready for review January 23, 2024 12:43
Copy link
Contributor

@mpro7 mpro7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM apart of issue with classes names, please see below:

seakayone and others added 3 commits January 23, 2024 14:33
@seakayone seakayone requested a review from mpro7 January 23, 2024 13:37
@seakayone seakayone enabled auto-merge (squash) January 23, 2024 13:43
@seakayone seakayone merged commit 32bf7cc into main Jan 23, 2024
13 checks passed
@seakayone seakayone deleted the feat/add-config-for-reset-endpoint branch January 23, 2024 14:04
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.

2 participants