Skip to content

Initial Release#14

Merged
rozicd merged 19 commits intomainfrom
develop
Feb 25, 2026
Merged

Initial Release#14
rozicd merged 19 commits intomainfrom
develop

Conversation

@rozicd
Copy link
Copy Markdown
Contributor

@rozicd rozicd commented Feb 25, 2026

No description provided.

cuturic01 and others added 19 commits January 14, 2026 20:42
Enabled reservation creation, deleting  pending reservations, and reservation fetching.
Add a CheckRatingEligibility RPC to the internal proto, implement the gRPC handler, and add repository queries to support it. The proto defines request/response messages for guest_id, target_id and target_type and returns eligible + reason. ReservationGrpcService.checkRatingEligibility parses IDs, checks whether the target is a HOST or accommodation, logs the check, and uses new repository methods to count completed (APPROVED, endDate < today) stays; eligibility is true when at least one completed stay is found. Two JPQL methods were added to ReservationRepository: countCompletedStaysAtAccommodation and countCompletedStaysWithHost, both counting approved past reservations for the guest against an accommodation or host respectively.
@rozicd rozicd merged commit db5957c into main Feb 25, 2026
3 checks passed
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.

4 participants