Skip to content

Test Algorithm with Course-Adding Page Inputs and Generate Schedule #641

Description

@garrett-plumlee

Description
Test the scheduling algorithm by sending it inputs from the course-adding page dropdowns and verifying its response. This involves packaging the inputs, sending a request to the algorithm upon clicking the Generate Schedule button, and confirming the returned results on the schedule-view page.

Requirements

  • Package all course-adding page inputs and send a request to the algorithm when the Generate Schedule button is clicked.
  • The algorithm should return a list of CRNs.
  • For each CRN, call getSectionDetailsByCrn (from CourseInfoController) for information on each course section and call getCourseDetailsByCrn for information on course details to build the WeekSchedule object.
  • Display the generated schedule in the schedule-view page.
  • Clicking the Generate Schedule button should navigate the user to the schedule-view page.
  • Automatically save the WeekSchedule to local storage.
  • Provide a video demonstration of the successful process in your PR.

References
Algorithm Driver:
services\course-information\src\main\java\edu\uga\devdogs\course_information\Algorithm\BruteForcePrototype.java
getSectionDetailsByCrn and getCourseDetailsByCrn Method:
services\course-information\src\main\java\edu\uga\devdogs\course_information\controller\CourseInfoController.java

Notes
The database is not live, so expect to use dummy data on the dev branch.
If the algorithm is unresponsive, contact @garrett-plumlee or @Garrett-M-code for assistance.

Image

Image

Metadata

Metadata

Assignees

Labels

FrontendThis issue is for the Frontend team

Type

Fields

No fields configured for Task.

Projects

Status
In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions