Evaluation: Create a Java solution in the REST API format that meets your requirements for receiving customer orders:
All services must work with XML and JSON for calls and returns.
Create a service that receives requests with 6 fields:
Control number - random number reported by customer.
Date of registration (optional).
Name - name of the product.
Value - unit monetary value product.
Quantity (optional) - quantity of products.
Client code - numeric identification of the client.
File Acceptance and Handling Criteria:
The file may contain 1 or more orders, limited to 10.
You will not be able to accept a control number already registered.
If the registration date is not sent, the system must assume the current date.
If quantity is not sent consider 1.
If the quantity is greater than 5 apply 5% discount on the total amount, for quantities from 10 apply 10% discount on the total amount.
The system must calculate and save the total value of the order.
Create a service where you can check the orders sent by customers.
Acceptance criteria:
The return must bring all the data of the request.
Query filters:
Order number, date, customer, all.
When uploading the application, the database must contain 10 registered orders, one for each registered customer, with customer codes from 1 to 10.
Frameworks:
It is at the discretion of the candidate to use or not, without restrictions of choice.
Desirable:
Design Patterns.
Unitary tests.
Required:
Dependency Injection.
Mysql database.
Use ORM framework.
Using java 1.8 language.
Maven.
The solution should be published in github.
Send script to create the tables.
Send descriptive of how to call the services.
The solution repository link should be sent to this email.
Greetings sir, i am an expert freelancer for this job and your 100% satisfaction is assured if you allow me to serve.
Here is the reason. Why you should pick me?
a) I am a very expert and have the same kind of experience of 5 years.
b) I work very hard (16+ hours a day and 7 days a week) and also very fast so... it will be done very soon than most of the other providers
c) And most important part is my policy:
"I will give you (to my client) life time support (as long as you keep relation with me). And fix any bugs/problem without any cost. So, don't ever worry about me”
Please sir, leave a reply ASAP, as I am waiting for your kind reply