Skip to content

juancdelgado/technical-evaluation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Overview:

This exercise is designed as a general evaluation of an applicant's experience with Java and building/consuming webservices. In this project you will be writing two deliverables for a small book store.

Deliverable #1:

  • Write a RESTful service to calculate the total amounts and valuation of the book store's inventory, henceforth known as the financials service
    • Invoke the inventory RESTful service to get the list of items and quantities.
    • Invoke the book RESTful service to get the list of books and prices.
    • Results should contain quantities and values per upc, in addition to a total inventory valuation as JSON
    • Jar files for each service are provided and may be ran with java -jar <filename> --server.port={server-port}
    • Documentation for each service is provided by Swagger (http://localhost:{server-port}/swagger-ui.html#/)

Deliverable #2:

  • Write a command line application that can process a given list of sales from consumers and shipments from suppliers.
    • Post sales and shipment quantity adjustments to the inventory service.
    • Track total sales per item, and total sales for all items using data provided by the book service.
    • Retrieve financial inventory data from your financials service.
    • Output starting inventory amounts/valuation, total daily sales, and final inventory amounts/valuation to a results.txt file.
    • Sales and shipments will be provided via flat file representing a single day, as an argument to the program (see block below for example)
    # SALE|{upc}|{qty}
    # SHIPMENT|{upc}|{qty}
    SALE|1|3
    SHIPMENT|1|10
    SALE|2|4
    ...
    

Technical Requirements:

  • Deliverables are to be coded with Java 8
  • Showcase your best practices in Java
  • Demonstrate the ability to use JUnit 5 for unit and component tests.
  • Demonstrate the ability to generate JaCoCo code coverage reports.
  • Adhere to Google code style for Java (see https://google.github.io/styleguide/javaguide.html)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published