Project translated automatically.
Log in
or
register,
to view the original
You need to do a task for the university using the Spring Framework.The application server allows you to manage goods, warehouses and trucks.The web interface (API) as well as the objects that are used to communicate with the external world are defined in the specifications and should be used to communicate through web services.Outside of the web interface you can use any other objects in accordance with your design if you consider it appropriate.The specification of the web interface that the application should follow can be found here: https://app.swaggerhub.com/apis-docs/sk-stuba-fei-uim-oop/OOP_Zadanie_3/1.0.0
System Description Detailed description of each operation is provided in the API specification.The system allows you to add and remove goods from the store range.In addition, it allows you to edit existing products, as well as to increase the number of products in the warehouse.The system allows you to create and delete orders.There is the possibility to add goods to orders in the specified amount (if there is sufficient amount of goods in the warehouse).The system also allows you to pay for unpaid orders.Additional positions cannot be added to paid orders.Automated Tests
The project contains automated tests.Tests can be launched directly from the class that contains them (in src / test / sk /.../ oop / assignment3 / Assignment3Tests.java)
The project must pass at least 10 tests.
The main attention when exposing the assessments is paid to the objectively-oriented approach and the principles of OOP used in the solution.If the specification indicates that the 404 code must be returned and the description does not indicate when, then the 404 code must be returned if the identifier does not exist in the system.He also pay attention to:
1 .Class names start with the head letter, method names start with the head letter.
2ndThe appropriate use of access modificators (public, private or protected) with restriction of access to class methods and attributes
ThreeUse of Heritage and Polymorphism
4 .Use of exceptions in the processing of unwanted behavior (Do not intercept or drop copies of the Universal Class Exception)
and 5.Don't use nested classes (Don't use nested classes)
6 .Do not use static methods or unstable static variables (they are not required to perform the purpose)
Do not put any logic into the basic method and its class.The main method should only be used to initialize the application using the Spring infrastructure.
8 .You can use the Lombok library and its annotations in your decision.The necessary dependence is already present in the pom.xml file.