Skip to content

rapar8/application

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

application -> warehouse

Getting Started

Author - Ravi Parekh

For further reference, please consider the following sections:

Monorepo

Microservice related to this application should be resided in this GitHub monorepo, the only problem with this monorepo is 'per-project access control'

Microservice Architect

  • Some component and utility can be moved to Common Component which can be used as dependency, which has not been done yet e.g. GlobalExceptionHandler.java, *Enum.java to Common
  • Database per MS

Caching

  • Used spring method cache and etag for performance and reduce further hits to DB Due to lack of time
  • Used materialized view in postgres to store/update the stocks sold and brought in once so need to hit the DB each time to available stocks until product sold out Postgres materialized view

Json Schema to Model

To Convert Json Schema to model plugin can be used

  • jsonschema2pojo
  • org.openapitools

Message Translation

  • Internationalization i18n is done, see resources/messages for ERROR handling
  • In the Future, message translation can be taken to Phrase and Config Server so deployment in zero downtime
  • Automated Sync between Phrase app and git should be done via script(hook)

Testing

  • Integration testing with in memory real time POSTGRES Db (test container)
mvn clean verify

Future implementation

URL

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published