Skip to content

nguacon90/order-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

  1. Build project
  • mvn clean install
  1. Run project
  • Start zookeeper server
  • Import maven dependency of project masterslave at: https://github.com/hunghoang/masterslave.git
  • java -jar orderservice.jar <port>
  • if you don't type port parameter, default port is 8080
  1. URL statistic rest service:
  • Get top order with biggest value: http://localhost:<port>/rest/statistic/getTop/biggestordervalue
  • Get top account with biggest order value: http://localhost:<port>/rest/statistic/getTop/account
  1. URL order rest service:
  • placeOrder:
    • Accept method: POST
    • Content-Type: application/json
    • Url: http://localhost:<port>/rest/orders/placeOrder
    • Params: object json Order
    • You can using Rest Client plugin firefox to test.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages