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

Update Pindora client to support seasonal booking and reservation series #1502

Merged
merged 28 commits into from
Feb 4, 2025

Conversation

matti-lamppu
Copy link
Collaborator

@matti-lamppu matti-lamppu commented Jan 22, 2025

🛠️ Changelog

  • Updates the Pindora client to support seasonal bookings and reservation series
  • Adds caching support to the client
  • Adds retrying to all external clients

🧪 Test plan

  • Automated tests

🚧 Dependencies

  • None

🎫 Tickets

  • None

@matti-lamppu matti-lamppu added the improvement Improves an existing feature label Jan 22, 2025
@matti-lamppu matti-lamppu self-assigned this Jan 22, 2025
@matti-lamppu matti-lamppu marked this pull request as ready for review January 22, 2025 12:34
@matti-lamppu matti-lamppu requested review from ranta and vergama January 22, 2025 12:34
Copy link

@vergama vergama left a comment

Choose a reason for hiding this comment

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

Series and seasonal creation and (more importantly) update should be limited to only their CONFIRMED reservations.

tilavarauspalvelu/integrations/keyless_entry/typing.py Outdated Show resolved Hide resolved
tilavarauspalvelu/integrations/keyless_entry/client.py Outdated Show resolved Hide resolved
tilavarauspalvelu/integrations/keyless_entry/client.py Outdated Show resolved Hide resolved
@matti-lamppu matti-lamppu force-pushed the refactor-reservations-api branch from 28ff058 to 8aea484 Compare January 23, 2025 06:40
@matti-lamppu matti-lamppu force-pushed the update-pindora-client branch from b777f70 to 54223cf Compare January 23, 2025 06:40
@matti-lamppu matti-lamppu requested review from vergama and ranta January 23, 2025 07:26
@matti-lamppu matti-lamppu force-pushed the update-pindora-client branch 2 times, most recently from d0417b6 to 934c1df Compare January 24, 2025 07:43
@matti-lamppu matti-lamppu force-pushed the update-pindora-client branch 3 times, most recently from 3f0d80b to 709e6a2 Compare January 27, 2025 13:05
tests/helpers.py Outdated Show resolved Hide resolved
@matti-lamppu matti-lamppu force-pushed the update-pindora-client branch from 09de51a to 9a0370c Compare January 28, 2025 13:25
@matti-lamppu
Copy link
Collaborator Author

matti-lamppu commented Jan 29, 2025

Merged #1503, #1505, #1506, #1507, #1509, #1510 to this PR so that I don't need to rebase so many PRs at once...

@matti-lamppu matti-lamppu force-pushed the refactor-reservations-api branch from aed4906 to c05a139 Compare January 29, 2025 10:54
@matti-lamppu matti-lamppu force-pushed the update-pindora-client branch from 268dc53 to 5fdc254 Compare January 29, 2025 10:54
This allows treating them differently on use
This is to allow using them when the model has been removed
This can happen in a denied reservation returns to handling and is
then approved. Also modify return to handling mutation to not make
the deactivate call if access code was removed.
@matti-lamppu matti-lamppu force-pushed the update-pindora-client branch from 82c739f to e333b61 Compare February 4, 2025 16:51
Removes need to use caching method manually
@matti-lamppu
Copy link
Collaborator Author

/ff

@github-actions github-actions bot merged commit cacaf04 into main Feb 4, 2025
19 checks passed
@github-actions github-actions bot deleted the update-pindora-client branch February 4, 2025 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Adds a new feature improvement Improves an existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants