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

refactor: Migrate GET /admin/lists?projectIri route to tapir #3006

Merged
merged 4 commits into from
Jan 29, 2024

Conversation

seakayone
Copy link
Collaborator

@seakayone seakayone commented Jan 26, 2024

Pull Request Checklist

Task Description/Number

Migrates GET /admin/lists and GET /admin/lists?projectIri to tapir.

  • Renames:
    ** ListsResponderADM -> ListsResponder
    ** SecuredEndpointAndZioHandler -> SecuredEndpointHandler
    ** EndpointAndZioHandler -> PublicEndpointHandler
  • Removes PublicEndpointHandler generic type for SECURITY_INPUT, this is always Unit

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

Copy link

codecov bot commented Jan 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (eac5751) 11.74% compared to head (532f075) 11.25%.
Report is 32 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3006      +/-   ##
==========================================
- Coverage   11.74%   11.25%   -0.49%     
==========================================
  Files         246      262      +16     
  Lines       22907    23091     +184     
==========================================
- Hits         2690     2600      -90     
- Misses      20217    20491     +274     

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

* Renames:
** `ListsResponderADM` -> `ListsResponder`
** `SecuredEndpointAndZioHandler` -> `SecuredEndpointHandler`
** `EndpointAndZioHandler` -> `PublicEndpointHandler`
* Removes `PublicEndpointHandler` generic type for `SECURITY_INPUT`, this is always `Unit`
* Use PredicateObjectMapper and inline query as string
@seakayone seakayone force-pushed the refactor/migrate-admin-lists-route-to-tapir branch from b9648af to 23bb3f6 Compare January 26, 2024 16:15
@seakayone seakayone marked this pull request as ready for review January 26, 2024 17:18
@seakayone seakayone self-assigned this Jan 29, 2024
Copy link
Collaborator

@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.

Looks good apart of the PR title, which could be more specific, like you did in the other PR.
Two questions:

@seakayone seakayone changed the title refactor: Migrate admin lists route to tapir refactor: Migrate GET /admin/lists?projectIri route to tapir Jan 29, 2024
@seakayone seakayone enabled auto-merge (squash) January 29, 2024 14:30
@seakayone seakayone merged commit a931357 into main Jan 29, 2024
13 checks passed
@seakayone seakayone deleted the refactor/migrate-admin-lists-route-to-tapir branch January 29, 2024 14:52
@seakayone seakayone restored the refactor/migrate-admin-lists-route-to-tapir branch January 30, 2024 15:11
@seakayone seakayone deleted the refactor/migrate-admin-lists-route-to-tapir branch February 15, 2024 09:29
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.

None yet

2 participants