CSC/ECE 517 Spring 2024 - E2415. Reimplement responses controller.rb (Design Document)
CSC/ECE 517 Spring 2024 - E2415: Reimplementation of responses_controller.rb (Design Document)
Expertiza
Problem Statement
Design Goal
Class UML Diagram
Implementation
Model
Methods within the model were refactored or introduced, including:
- 5.1.1 set_content
- 5.1.2 validate_params
- 5.1.3 serialize_response
Controller
Controller methods for CRUD operations were enhanced, comprising:
- 5.2.1 Create
- 5.2.2 Show
- 5.2.3 Update
- 5.2.4 Delete
Files Modified/Added
List of primary files modified or created includes:
- responses_controller.rb
- response_helper.rb
- response.rb
- Migration files for database updates
The following migration files were also added :
Test Plan
Testing model methods
Test Coverage
Team
Mentor
- Ameya Vaichalkar
Members
- Deana Franks
- Maday Moya
- Jacob Leavitt
Links
Swagger Video Link:
Pull request:
Model Tests Video:
Controller Tests Video: