Skip to content

BACKEND: Create Controller for Request Types #38

@lodetrick

Description

@lodetrick

Backend Controller for #11

User Story

  • As an admin or instructor
  • I can manage new request types for the request dropdown
  • To more easily manage and categorize request types.

Discussion

The request types should come from the request type table, which will be populated on application start up with the following hard coded values:

CS Department BS/MS program
Scholarship or Fellowship
MS program (other than CS Dept BS/MS)
PhD program
Other

As more types are discovered, it should be possible to add them to the table without having to change the code.

So, we want basic CRUD operations for this table.

The table should have just two fields:

  • id (auto-assigned long)
  • requestType (String)

Implementation Details:

  • Add RequestTypeController for CRUD operations. Note that the POST and PUT endpoints should check for duplicates and reject any attempt to create an exact duplicate of an existing Request Type.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions