server.port=8081
server.servlet.context-path=/
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
spring.datasource.url=jdbc:mysql://localhost:3306/guli?useSSL=false&serverTimezone=GMT%2B8&allowPublicKeyRetrieval=true
spring.datasource.url=jdbc:mysql://192.168.174.131:3306/springboot?useSSL=false&serverTimezone=UTC
spring.datasource.username=root
spring.datasource.password=密码
spring.application.name=024-springboot-dubbo-ssm-provider
spring.dubbo.server=true
spring.dubbo.registry=zookeeper://192.168.174.131:2181
spring.mvc.view.prefix=/
spring.mvc.view.suffix=.jsp
school.name=bjpowernode
school.websit=http://www.baidu.com
server.port=8080
server.servlet.context-path=/
spring.application.name=025-springboot-dubbo-ssm-consumer
spring.dubbo.registry=zookeeper://192.168.174.131:2181
spring.mvc.view.prefix=/
spring.mvc.view.suffix=.jsp
spring.http.encoding.enabled=false
spring.thymeleaf.prefix=classpath:/templates/
spring.thymeleaf.suffix=.html
spring.thymeleaf.cache=false
spring.mvc.locale-resolver=fixed
debug=true
spring.redis.host=127.0.0.1
spring.redis.port=6379
spring.redis.database= 0
spring.redis.timeout=1800000
spring.redis.lettuce.pool.max-active=20
spring.redis.lettuce.pool.max-wait=-1
spring.redis.lettuce.pool.max-idle=5
spring.redis.lettuce.pool.min-idle=0
spring.redis.host=192.168.174.131
spring.redis.port=6379
spring.redis.password=123456
spring.resources.static-locations=classpath:/haha/
spring.mvc.static-path-pattern=/res/**
spring.resources.cache.period=11000
spring.servlet.multipart.max-request-size=10MB
spring.servlet.multipart.max-file-size=10MB
eureka:
instance:
hostname: localhost
client:
register-with-eureka: false
fetch-registry: false
service-url:
defaultZone: http://${eureka.instance.hostname}:${server.port}/eureka/
instance:
instance-id: payment8001
prefer-ip-address: true
server:
enable-self-preservation: false
eviction-interval-timer-in-ms: 2000
instance:
instance-id: payment8001
prefer-ip-address: true
lease-renewal-interval-in-seconds: 1
lease-expiration-duration-in-seconds: 2
spring:
application:
name: cloud-provider-payment
cloud:
zookeeper:
connect-string: 192.168.174.131:2181
spring:
application:
name: consul-provider-payment
cloud:
consul:
host: 192.168.174.131
port: 8500
discovery:
service-name: ${spring.application.name}
heartbeat:
enabled: true
prefer-ip-address: true
ribbon:
ReadTimeout: 5000
ConnectTimeout: 5000
logging:
level:
com.ssm.springcloud.service.PaymentService: debug
feign:
hystrix:
enabled: true
hystrix:
command:
default:
execution:
isolation:
thread:
timeoutInMilliseconds: 3000
spring:
application:
name: cloud-gateway
cloud:
gateway:
routes:
- id: payment_routh
uri: http://localhost:8001
predicates:
- Path=/payment/get/**
- id: payment_routh2
uri: http://localhost:8001
predicates:
- Path=/payment/lb/**
spring:
application:
name: cloud-config-center
cloud:
config:
server:
git:
uri: git@github.com:shaoshaossm/springcloud-config.git
search-paths:
- springcloud-config
label: main
spring:
application:
name: config-client
cloud:
config:
label: master
name: config
profile: dev
uri: http://localhost:3344
management:
endpoints:
web:
exposure:
include: "*"
rabbitmq:
host: 192.168.174.131
port: 15672
username: admin
password: 密码
management:
endpoints:
web:
exposure:
include: 'bus-refresh'
spring:
application:
name: cloud-stream-consumer
cloud:
stream:
binders:
defaultRabbit:
type: rabbit
environment:
spring:
rabbitmq:
host: 192.168.174.131
port: 5672
username: admin
password:
bindings:
input:
destination: studyExchange
content-type: application/json
binder: defaultRabbit
eureka:
client:
service-url:
defaultZone: http://localhost:7001/eureka
instance:
lease-renewal-interval-in-seconds: 2
lease-expiration-duration-in-seconds: 5
instance-id: receive-8802.com
prefer-ip-address: true
spring:
application:
name: nacos-order-consumer
cloud:
nacos:
discovery:
server-addr: localhost:8848
spring:
application:
name: cloudalibaba-sentinel-service
cloud:
nacos:
discovery:
server-addr: localhost:8848
sentinel:
transport:
dashboard: localhost:8080
port: 8719
datasource:
ds1:
nacos:
server-addr: localhost:8848
dataId: cloudalibaba-sentinel-service
groupId: DEFAULT_GROUP
data-type: json
rule-type: flow
feign:
sentinel:
enabled: true
spring:
datasource:
dynamic:
primary: master
strict: false
datasource:
master:
url: jdbc:mysql://localhost:3306/mybatis_plus?useSSL=false&serverTimezone=GMT%2B8&allowPublicKeyRetrieval=true
driver-class-name: com.mysql.cj.jdbc.Driver
username: root
password: '密码'
slave_1:
url: jdbc:mysql://localhost:3306/mybatis_plus_1?useSSL=false&serverTimezone=GMT%2B8&allowPublicKeyRetrieval=true
driver-class-name: com.mysql.cj.jdbc.Driver
username: root
password: '密码'
mybatis-plus:
mapper-locations: /mapper/**
configuration:
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
type-aliases-package: com.ssm.mybatis_plus.pojo
type-enums-package: com.ssm.mybatis_plus.enums
spring:
datasource:
url: jdbc:mysql://localhost:3306/db_account
username: root
password: 123456
driver-class-name: com.mysql.jdbc.Driver
druid:
aop-patterns: com.atguigu.admin.*
filters: stat,wall
stat-view-servlet:
enabled: true
login-username: admin
login-password: admin
resetEnable: false
web-stat-filter:
enabled: true
urlPattern: /*
exclusions: '*.js,*.gif,*.jpg,*.png,*.css,*.ico,/druid/*'
filter:
stat:
slow-sql-millis: 1000
logSlowSql: true
enabled: true
wall:
enabled: true
config:
drop-table-allow: false
management:
endpoints:
enabled-by-default: false
web:
exposure:
include: '*'
endpoint:
health:
show-details: always
enabled: true
info:
enabled: true
beans:
enabled: true
metrics:
enabled: true