Vert.x Blueprint Project - Micro-Shop microservice application
Clone or download
sczyh30 Fix some bugs and problems
- Fix the bug where the order dispatcher verticle should release the client resources after all async operations have been done
- Fix the config server typo in inventory module
- Adapt the API gateway component for demo (in account fetch methods)
- Update configuration for Docker Compose
- Update the latest screenshot for Keycloak configuration

Signed-off-by: sczyh30 <sczyh16@gmail.com>
Latest commit 9d96064 May 30, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
account-microservice Bump version to 3.4.1 and update documents Mar 19, 2017
api-gateway Fix some bugs and problems May 30, 2017
cache-infrastructure Bump version to 3.4.1 and update documents Mar 19, 2017
database-middleware Minor changes Apr 15, 2017
docker Fix some bugs and problems May 30, 2017
docs Fix some bugs and problems May 30, 2017
inventory-microservice Remove health check from API Gateway component Apr 15, 2017
microservice-blueprint-common Minor changes Apr 15, 2017
monitor-dashboard Bump version to 3.4.1 and update documents Mar 19, 2017
order-microservice Fix some bugs and problems May 30, 2017
payment-microservice Bump version to 3.4.1 and update documents Mar 19, 2017
product-microservice Remove health check from API Gateway component Apr 15, 2017
recommendation-microservice Bump version to 3.4.1 and update documents Mar 19, 2017
shopping-cart-microservice Minor changes Apr 15, 2017
shopping-ui Bump version to 3.4.1 and update documents Mar 19, 2017
store-microservice Remove health check from API Gateway component Apr 15, 2017
.gitignore initial project commit Jul 21, 2016
.travis.yml Modify CI test env Aug 8, 2016
LICENSE initial project commit Jul 21, 2016
README.md Update documentation and notes Apr 15, 2017
README.zh-cn.md Update documentation and notes Apr 15, 2017
TODO.md Update documentation and notes Apr 15, 2017
pom.xml Downgrade Maven Compile Plugin to 3.1 version Apr 28, 2017

README.md

Vert.x Microservice Blueprint

Travis Build Status

Vert.x blueprint application - A micro-shop microservice application developed with Vert.x. This repo is intended to be an illustration on how to design microservice architecture and develop microservice applications using Vert.x.

This blueprint works with Vert.x 3.4.1.

Note: We are refactoring the whole architecture of the microservice blueprint. This can take a long time and the improved new version is expected to be released by the end of May. See here for details.

Content

  • Microservice with Vert.x
  • Asynchronous development model
  • Reactive and functional patterns
  • Event sourcing patterns
  • Asynchronous RPC on the clustered event bus
  • Various type of services (e.g. REST, message source, event bus service)
  • Configuration retriever
  • Service discovery
  • Circuit breaker
  • Polyglot persistence support
  • API gateway
  • Global authentication (Local/OAuth 2)
  • Centralized logging using ELK stack
  • Monitoring

Documentation

Detailed tutorials are available here!

Architecture

Microservice Architecture

Build/Run

First, for api-gateway and monitor-dashboard component, you have to enter the src/main/resources/webroot directory and install the frontend dependencies with bower:

bower install

Then build the code:

mvn clean install -Dmaven.test.skip=true

To run the microservice with Docker Compose, please refer to the running instruction.

Contributing

Contributions are definitely welcome !