2019-02-23 00:41:24 +08:00
|
|
|
spring:
|
|
|
|
application:
|
|
|
|
name: order-application
|
2020-04-12 20:49:55 +08:00
|
|
|
|
|
|
|
# Spring Cloud 配置项
|
2019-05-15 20:01:30 +08:00
|
|
|
cloud:
|
2020-04-12 20:49:55 +08:00
|
|
|
# Spring Cloud Sentinel 配置项
|
2019-05-15 20:01:30 +08:00
|
|
|
sentinel:
|
|
|
|
transport:
|
2020-04-14 20:10:40 +08:00
|
|
|
dashboard: s1.iocoder.cn:12088 # Sentinel Dashboard 服务地址
|
|
|
|
eager: true # 项目启动时,直接连接到 Sentinel
|
2019-02-23 00:41:24 +08:00
|
|
|
|
|
|
|
# server
|
|
|
|
server:
|
2019-04-10 20:48:35 +08:00
|
|
|
port: 18088
|
2019-03-17 17:05:01 +08:00
|
|
|
servlet:
|
|
|
|
context-path: /order-api/
|
2019-05-11 09:14:48 +08:00
|
|
|
|
|
|
|
swagger:
|
2019-06-01 17:51:53 +08:00
|
|
|
enable: true # 暂时不去掉
|
|
|
|
title: 订单子系统
|
|
|
|
description: 订单子系统
|
|
|
|
version: 1.0.0
|
|
|
|
base-package: cn.iocoder.mall.order.application.controller
|
2019-05-20 20:36:18 +08:00
|
|
|
|
|
|
|
management:
|
|
|
|
endpoints:
|
|
|
|
web:
|
|
|
|
exposure:
|
|
|
|
include: health,info,env,metrics,prometheus
|
|
|
|
metrics:
|
|
|
|
enabled: true
|