Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Usage Instructions :

  • provided sample data for easy simulation

  • provided test scenario in JUnit for easy customization

  • inside "dist-jar" folder, run

  • #java -jar InventoryApp-1.0-jar-with-dependencies.jar

  • or, open with your favorite IDE then run main class [InventoryMain].

Steps :

  1. Identify sample data
  2. Initialize data
  3. Identify Cart data
  4. Indentify how selecting can effect to inventory data
  5. Identify Cart Status each user.
  6. Identify Order data
  7. Indentify how ordering can effect to selected Cart data
  8. Indentify stocks status
  9. Finishing order data
  10. Summary data

Scenarios :

  1. Selecting, insert into cart data
  2. Ordering, insert into order data
  3. Determining whether total item for purchase order same as cart data
  4. Assigning back to stock, if available
  5. Check Stock Status

Hints : Try to change total item when ordering, order total less than cart total.

Happy Coding :) ~mrhezqhe

About

An overview about inventory concurrency solution.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages