Xcode 2018 Spring Cloud 项目班第2课
XCode 2018 课案文档在这里哦
https://quip.com/E7FmAsFC3F2S
XCode 2017 课案文档在这里哦
https://quip.com/aCoTAb1SQfnD
感兴趣的同学快去瞧瞧吧
1. 第2讲主题及内容(Class Topics):
Spring Eureka: Covers service registration and discovery
Heroku, GitHub, Git, Sourcetree, Bitbucket
JPA, Hibernate
新加 Account Service
https://pan.baidu.com/s/1nwoGhmT
3. Reading Materials:
Spring Cloud Eureka
https://thepracticaldeveloper.com/2017/06/28/how-to-fix-eureka-taking-too-long-to-deregister-instances/
https://cloud.spring.io/spring-cloud-netflix/multi/multi__service_discovery_eureka_clients.html
https://cloud.spring.io/spring-cloud-netflix/multi/multi_spring-cloud-eureka-server.html
https://dzone.com/articles/microservice-spring-cloud-eureka-server-configurat
https://exampledriven.wordpress.com/2016/07/01/spring-cloud-eureka-ribbon-feign-example/
https://github.com/spring-cloud/spring-cloud-netflix/issues/1327
Background
https://github.com/cfregly/fluxcapacitor/wiki/NetflixOSS-FAQ#eureka-service-discovery-load-balancer
https://github.com/Netflix/eureka/wiki/Understanding-eureka-client-server-communication
http://tech.asimio.net/2017/03/06/Multi-version-Service-Discovery-using-Spring-Cloud-Netflix-Eureka-and-Ribbon.html
Download Heroku CLI
https://devcenter.heroku.com/articles/heroku-cli#download-and-instal
https://devcenter.heroku.com/articles/deploying-spring-boot-apps-to-heroku
https://dzone.com/articles/spring-boot-heroku-and-cicd
Download CURL
https://curl.haxx.se/download.html
JPA
http://www.vogella.com/tutorials/JavaPersistenceAPI/article.html
4. Homework:
Createa Repository in GitHub to host the Eureka Server Service and deploy to Heroku using Heroku CLI
Convertthe Dispatch Service into an Eureka Client and Register with the Eureka Server
Implement the Account Service, manipulate account data using JPA repository. Add REST controllers to enable querying the Account Service by account id, etc.
Convertthe Account Service into an Eureka Client and Register with the Eureka Server
Advanced:Configure two Eureka servers
领取专属 10元无门槛券
私享最新 技术干货