The following tasks were completed to improve the handling of events, streams, and live broadcasts across the application. These changes include refactoring, adding new response classes, updating route mappings, and improving code modularity. Additional updates are required to finalize and refine these changes.
Tasks
1. Add .gitignore for Sensitive Files
Exclude script files for various environments (development, staging, production) that contain sensitive and secret information key to application functionality.
2. Localization Updates
Add localization message keys to CreateStreamResponse.
Update localization files messages_en_US.properties and messages_fr.properties with new messages.
3. Controller and Method Refactoring
Move rescheduleEvent() method from EventController to UserEventController.
Add LiveBroadcastController with route mappings for interacting and performing actions through the Live Broadcast API.
Add UserLiveBroadcastController to allow users to interact with broadcasts or live streams they created.
4. DTO and Response Class Modifications
Rename DTO classes:
UpdateEventVisibilityDto.java to UpdateEventOrStreamVisibilityDto.
ProcessAttendeeRequestToJoinEventDto.java to ProcessAttendeeRequestToJoinEventOrStreamDto.
Add new response classes:
DeletedStreamResponse for handling stream deletions.
NotAttendingStreamResponse for indicating a user’s desire not to attend a previously joined event.
ProcessAttendeeRequestToJoinStreamResponse and UpdateStreamVisibilityResponse.
5. Service Layer Enhancements
General refactor of EventServiceImpl to improve code organization and efficiency.
Update LiveBroadcastService and LiveBroadcastServiceImpl with necessary interface methods and initial skeleton implementations.
Refactor YouTubeChannelService and YouTubeLiveBroadcastService and fix discovered bugs.
Add static methods in YouTubeVideoPart to facilitate the reuse of constants.
6. New Methods and Functionalities
Add StreamAttendee.setIsNotAttending() method to indicate a user’s decision not to attend an event they previously joined.
7. Documentation
Add documentation to newly introduced and modified methods for better clarity and maintenance.
Next Steps
Review the changes for completeness and ensure all newly added functionalities are properly tested.
Finalize the implementations for the skeleton methods in LiveBroadcastServiceImpl.
Perform further testing on refactored services to identify any remaining bugs or issues.
Update documentation where needed for new and modified components.
Description
The following tasks were completed to improve the handling of events, streams, and live broadcasts across the application. These changes include refactoring, adding new response classes, updating route mappings, and improving code modularity. Additional updates are required to finalize and refine these changes.
Tasks
1. Add
.gitignore
for Sensitive Files2. Localization Updates
CreateStreamResponse
.messages_en_US.properties
andmessages_fr.properties
with new messages.3. Controller and Method Refactoring
rescheduleEvent()
method fromEventController
toUserEventController
.LiveBroadcastController
with route mappings for interacting and performing actions through the Live Broadcast API.UserLiveBroadcastController
to allow users to interact with broadcasts or live streams they created.4. DTO and Response Class Modifications
UpdateEventVisibilityDto.java
toUpdateEventOrStreamVisibilityDto
.ProcessAttendeeRequestToJoinEventDto.java
toProcessAttendeeRequestToJoinEventOrStreamDto
.DeletedStreamResponse
for handling stream deletions.NotAttendingStreamResponse
for indicating a user’s desire not to attend a previously joined event.ProcessAttendeeRequestToJoinStreamResponse
andUpdateStreamVisibilityResponse
.5. Service Layer Enhancements
EventServiceImpl
to improve code organization and efficiency.LiveBroadcastService
andLiveBroadcastServiceImpl
with necessary interface methods and initial skeleton implementations.YouTubeChannelService
andYouTubeLiveBroadcastService
and fix discovered bugs.YouTubeVideoPart
to facilitate the reuse of constants.6. New Methods and Functionalities
StreamAttendee.setIsNotAttending()
method to indicate a user’s decision not to attend an event they previously joined.7. Documentation
Next Steps
LiveBroadcastServiceImpl
.