Skip to content

springboot的一些日常整理, 整合了redis,config,eureka,feign,security,admin,zookeeper,activeMQ,admin,o-auth,jwt,rockerMQ,zuul

Notifications You must be signed in to change notification settings

hx1098/springcloud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

[TOC]

springcloud整合以及应用

1.端口以及配置 :

   euk1端口 : 7001
   euk2端口 : 7002
   erurkaProvider: 80
   errekaConsumer: 90
   user-comsumer:  91
   user-provider:  81
   

2.地址类

######1.hystrixdashboard 的浏览地址: http://localhost:91/actuator/hystrix.stream http://localhost:91/hystrix

######3.网关 ####### 1.基础访问cousumer的地址

 #通过zuul访问user-consumer地址
 http://localhost/user-consumer/alive
 #通过网关访问user-providerd的地址
 http://localhost/user-provider/User/getById?id=123
 #通过网关访问user-consumer地址
 http://localhost/user-consumer//blive
 #consumer地址
 http://localhost:91/alive
 #注册中心地址
 http://localhost:7001/

####### 2.网关相关配置类地址

 #zuul自定义映射, 如果访问路径中有"dalao" 即可跳转到制定网站.  http://localhost/dalao/pc.html
 http://localhost/dalao/pc.html
 

####### 3.zipkin官方安装地址

  #java8支持
  curl -sSL https://zipkin.io/quickstart.sh | bash -s
  java -jar zipkin.jar
    

About

springboot的一些日常整理, 整合了redis,config,eureka,feign,security,admin,zookeeper,activeMQ,admin,o-auth,jwt,rockerMQ,zuul

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published