petstoreapp
java -jar Petstore.jar -file [-name ] [-type ] [-gender ] [-zipcode ]
Main class : com.mypetstore.PetStore
- After displaying the search result, prompt user whether they like to adopt a pet
- If yes, get the petd id they want to adopt.
- Ask user details to determine eligibility to adopt. [Need business input to determine eligbility]
- If user is eligible, then calculate adoption fees.[Need business input to calculate adoption fees]
- Confirm, whether they accpet the terms and collect the fees
- Generate adoption record, store it and give the user a copy. [Assuming we will have a persistent store for the records]
The code base has the unit tests and integration tests. They can be executed part of the CI process.
Version control systems makes has lot of advantages to list a few it make collabration easier,maintains versions verisions of the artifacts and act as a journal of our changes and provides the ability go back to switch to older versions if needed.
There may be pain points while adopting to the process and dealing with conflicts. The adavantages we get with these systems overcomes these pain points.