1 Star 0 Fork 0

stillwind / customers-stores

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

REST based micro-services sample

  • Three Spring Boot based Maven projects that are standalone applications:
    • Stores (MongoDB, exposing a few Starbucks shops across north america, geo-spatial functionality)
    • Customers (JPA)
    • Customers UI (Angular and Spring Boot CLI backend)
  • The customers application tries to discover a search-by-location-resource and periodically verifying it's still available (see StoreIntegration).
  • If the remote system is found the customers app includes a link to let clients follow to the remote system and thus find stores near the customer.
  • Hystrix is used to monitor the availability of the remote system, so if it fails to connect 20 times in 5 seconds (by default) the circuit will open and no more attempts will be made until after a timeout.

Running Instructions

IDE Support

To use these projects in an IDE you will need the project Lombok agent. Full instructions can be found in the Lombok website. The sign that you need to do this is a lot of compiler errors to do with missing methods and fields.

Docker and Lattice

$ ltc create --memory-mb 0 --timeout 5m -e RABBITMQ_HOST=10.0.1.170 -e RABBITMQ_PORT=61001 customers springcloud/customers
$ ltc create --memory-mb 0 --timeout 5m -e MONGODB_HOST=10.0.1.170 -e MONGODB_PORT=61002 -e RABBITMQ_HOST=10.0.1.170 -e RABBITMQ_PORT=61001 stores springcloud/stores

空文件

简介

取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/stillwind/customers-stores.git
git@gitee.com:stillwind/customers-stores.git
stillwind
customers-stores
customers-stores
master

搜索帮助