You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
53 lines
1.7 KiB
53 lines
1.7 KiB
<?xml version="1.0" encoding="UTF-8"?> |
|
<project xmlns="http://maven.apache.org/POM/4.0.0" |
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
|
<modelVersion>4.0.0</modelVersion> |
|
<parent> |
|
<groupId>com.cloud</groupId> |
|
<artifactId>kicc-common</artifactId> |
|
<version>1.0.0</version> |
|
</parent> |
|
|
|
<artifactId>kicc-common-feign</artifactId> |
|
<packaging>jar</packaging> |
|
|
|
<description>feign-sentinel服务降级熔断、限流组件</description> |
|
|
|
<!--考虑这个作为一个单模块使用,目前依赖了工具类核心包,后续引入依赖需要注意低耦合--> |
|
<dependencies> |
|
<dependency> |
|
<groupId>com.cloud</groupId> |
|
<artifactId>kicc-common-core</artifactId> |
|
</dependency> |
|
<dependency> |
|
<groupId>com.alibaba.cloud</groupId> |
|
<artifactId>spring-cloud-starter-alibaba-sentinel</artifactId> |
|
</dependency> |
|
<!--feign 依赖--> |
|
<dependency> |
|
<groupId>org.springframework.cloud</groupId> |
|
<artifactId>spring-cloud-starter-openfeign</artifactId> |
|
</dependency> |
|
<!-- okhttp 扩展 --> |
|
<dependency> |
|
<groupId>io.github.openfeign</groupId> |
|
<artifactId>feign-okhttp</artifactId> |
|
</dependency> |
|
<!-- LB 扩展 --> |
|
<dependency> |
|
<groupId>org.springframework.cloud</groupId> |
|
<artifactId>spring-cloud-starter-loadbalancer</artifactId> |
|
</dependency> |
|
<!--caffeine 替换LB 默认缓存实现--> |
|
<dependency> |
|
<groupId>com.github.ben-manes.caffeine</groupId> |
|
<artifactId>caffeine</artifactId> |
|
</dependency> |
|
<!--oauth server 依赖--> |
|
<dependency> |
|
<groupId>org.springframework.security.oauth.boot</groupId> |
|
<artifactId>spring-security-oauth2-autoconfigure</artifactId> |
|
</dependency> |
|
</dependencies> |
|
</project>
|
|
|