You are tasked with completing the integration of the Project entity into an existing application. The application is a management back end meant to store and retrieve information about Project Managers and their associated Projects. The Project and Project Manager entities already exist, but there is no repository, service, or controller for the Project entity. It will be your task to create these items, add additional fields to the entities, and add search features to allow for sensible retrieval of data.
This project will use a different toolset than normal to run & test.
This project uses an embedded database, meaning that you will not be able to inspect the data in the database directly. The most direct way to inspect the data is to use REST endpoints.
- Navigate to the directory of the project in the command line
- run
mvn clean install - Navigate to the
targetdirectory in the project - run
java -jar Entity-Integration-0.0.1-SNAPSHOT.jar
Use PostMan to test the endpoints
- Create
ProjectRepository - Create
ProjectService - Create
ProjectController - Add a
StartDatefield to theProjectentity - Add a
DueDatefield to theProjectentity - Add an endpoint to allow for the retrieval of all overdue projects
- Add an endpoint
/projectManager/{id}/projectthat will retrieve a collection of all projects associated with thatProjectManager - Add an endpoint to allow searching for all
ProjectManagerentities with overdue projects. In the results, display the number of overdue projects associated with eachProjectManager. Sort the results from largest to smallest number of overdue projects.