-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set up SSE (Server sent events) for event signup counts (#776)
* Create getActiveEvents method in Event service and its tests Created the getActiveEvents to fetch present events * Create getActiveReservationsCount method that uses previous created method that returns total count of reservations Also did some documentation for methods that this method uses. Created tests that are required * Create /events/reservations/stream SSE endpoint This endpoint creates a stream with keep-alive headers that continuously streams the number of active reservations. * Update payload to follow SSE requirements, also now returns a JSON payload * Why is my java files in here lol...removed NumbersApp.java * Update doc for schema and methods involved * Add generated routes
- Loading branch information
1 parent
f0ebbe0
commit 0a1f8c1
Showing
7 changed files
with
189 additions
and
6 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters