Save the implementation of the Java class and the Swagger Definition, because we might use it later in some of the exercise in a few weeks :).
1 JavaDoc
First implement a Java class that can assign parking lots to cars, and how long they have been in each parking space.
Requirements:
- The number of parking spaces must be configurable
- When a car checks-in the a license plate is given
- When a car leaves, the time it was parked is returned
- We must be able to, at any point, request a list number of free parking lots
- We must be able to, at any point, request a list licenses plates currently in the parking lot
- The total time of parked cars in the parking lot
For at least each of the public methods add JavaDoc.
2 JavaDoc
Try to run JavaDoc on your class to generate an HTML version of the documentation.
3 Swagger / OpenAPI
With the same case as in exercise “1 JavaDoc”, implement a SwaggerDefinition of the same functionality.
The API must be Richardson Maturity Model Level 2.
For one endpoint make it to Richardshon Maturity Model Level 3.
4 Renzel Distribution Patterns
We didn’t manage to work with the different software distribution patterns in the lecture.
Now it is your turn to go through the different patterns, their tradeoffs and when to use what pattern.