CSC/ECE 517 Spring 2024 - E2415. Reimplement responses controller.rb (Design Document): Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 1: | Line 1: | ||
= CSC/ECE 517 Spring 2024 - E2415: Reimplementation of responses_controller.rb (Design Document) = | = CSC/ECE 517 Spring 2024 - E2415: Reimplementation of responses_controller.rb (Design Document) = | ||
==Expertiza== | ==1. Expertiza== | ||
==Problem Statement== | ==2. Problem Statement== | ||
==Design Goal== | ==3. Design Goal== | ||
==Class UML Diagram== | ==4. Class UML Diagram== | ||
Line 25: | Line 25: | ||
* 5.2.4 Delete | * 5.2.4 Delete | ||
==Files Modified/Added== | ==6. Files Modified/Added== | ||
List of primary files modified or created includes: | List of primary files modified or created includes: | ||
* responses_controller.rb | * responses_controller.rb | ||
Line 32: | Line 32: | ||
==Test Plan== | ==7. Test Plan== | ||
===Testing model methods=== | ===Testing model methods=== | ||
Line 40: | Line 40: | ||
==Team== | ==8. Team== | ||
=====Mentor===== | =====8.1 Mentor===== | ||
*Ameya Vaichalkar | *Ameya Vaichalkar | ||
=====Members===== | =====8.2 Members===== | ||
* Jeff Riehle | * Jeff Riehle | ||
* Maday Moya | * Maday Moya | ||
* Jacob Leavitt | * Jacob Leavitt | ||
==Links== | ==9. Links== | ||
Swagger Video Link: | Swagger Video Link: | ||
Revision as of 22:52, 7 April 2024
CSC/ECE 517 Spring 2024 - E2415: Reimplementation of responses_controller.rb (Design Document)
1. Expertiza
2. Problem Statement
3. Design Goal
4. Class UML Diagram
5. Implementation
5.1 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
5.2 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
6. Files Modified/Added
List of primary files modified or created includes:
- responses_controller.rb
- response_helper.rb
- response.rb
7. Test Plan
Testing model methods
Test Coverage
8. Team
8.1 Mentor
- Ameya Vaichalkar
8.2 Members
- Jeff Riehle
- Maday Moya
- Jacob Leavitt
9. Links
Swagger Video Link:
Pull request:
Model Tests Video:
Controller Tests Video: