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

Implementation of required user stories #172

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ssttaarr33
Copy link

All the required user stories and requirements were solved through this pull request:

  • As a User I want to be able to book a reservation for one or more tennis court at a given date schedule

  • As a User I want to be able to see what time slots are free

  • As a User I want to be able to cancel a reservation

  • As a User I want to be able to reschedule a reservation

  • As a Tennis Court Admin, I want to be able to Create/Update/Delete/Find by id/Find by name/List all the guests

  • As a Tennis Court Admin, I want to be able to create schedule slots for a given tennis court

  • As a Tennis Court Admin, I want to charge a reservation deposit of $10 to the user, charged per court, which is refunded upon completion of their match, so that Users don’t abuse my schedule

  • As a Tennis Court Admin, I want to refund the reservation deposit if the user has cancelled or rescheduled their reservation more than 24 hours in advance

  • As a Tennis Court Admin, I want to keep 25% of the reservation fee if the User cancels or reschedules between 12:00 and 23:59 hours in advance, 50% between 2:00 and 11:59 in advance, and 75% between 0:01 and 2:00 in advance

  • As a Tennis Court Admin, I want to keep 100% of the reservation deposit if the User does not show up for their reservation

  • As a Tennis Court Admin, I want to be able to see a history of my past reservations so that I can use the information to improve the management of my establishment
    Technical requirements

  • Implement all the missing Restful swagger statements and the API paths to the controllers

  • Check why rescheduleReservation in the class ReservationService.java is not working correctly and fix it

Testing percentage

  • percentage: 88%

  • total tests: 93

  • all flows are covered

  • Added generated swagger.yaml to root of the project; Passed successfully all checks from swagger online editor.

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