2020-06-11 16:52:05 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2020-09-14 21:39:42 +08:00
|
|
|
<!--
|
|
|
|
~ Copyright (c) 2020 pig4cloud Authors. All Rights Reserved.
|
|
|
|
~
|
|
|
|
~ Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
~ you may not use this file except in compliance with the License.
|
|
|
|
~ You may obtain a copy of the License at
|
|
|
|
~
|
|
|
|
~ http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
~
|
|
|
|
~ Unless required by applicable law or agreed to in writing, software
|
|
|
|
~ distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
~ See the License for the specific language governing permissions and
|
|
|
|
~ limitations under the License.
|
|
|
|
-->
|
|
|
|
|
2020-06-11 16:52:05 +08:00
|
|
|
<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">
|
|
|
|
<parent>
|
|
|
|
<groupId>com.pig4cloud</groupId>
|
|
|
|
<artifactId>pig-common</artifactId>
|
2022-05-26 13:47:55 +08:00
|
|
|
<version>3.4.10</version>
|
2020-06-11 16:52:05 +08:00
|
|
|
</parent>
|
|
|
|
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<packaging>jar</packaging>
|
2020-12-23 12:22:02 +08:00
|
|
|
<artifactId>pig-common-feign</artifactId>
|
|
|
|
<description>feign-sentinel服务降级熔断、限流组件</description>
|
2020-12-23 10:34:55 +08:00
|
|
|
|
2020-06-11 16:52:05 +08:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.pig4cloud</groupId>
|
|
|
|
<artifactId>pig-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>
|
2020-12-23 12:22:02 +08:00
|
|
|
<!-- okhttp 扩展 -->
|
2020-12-04 14:16:34 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>io.github.openfeign</groupId>
|
2020-12-23 12:22:02 +08:00
|
|
|
<artifactId>feign-okhttp</artifactId>
|
2020-12-04 14:16:34 +08:00
|
|
|
</dependency>
|
2020-12-23 12:22:02 +08:00
|
|
|
<!-- LB 扩展 -->
|
2020-12-04 14:16:34 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.cloud</groupId>
|
|
|
|
<artifactId>spring-cloud-starter-loadbalancer</artifactId>
|
|
|
|
</dependency>
|
2021-12-27 14:57:41 +08:00
|
|
|
<!--caffeine 替换LB 默认缓存实现-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.github.ben-manes.caffeine</groupId>
|
|
|
|
<artifactId>caffeine</artifactId>
|
|
|
|
</dependency>
|
2020-07-26 23:11:18 +08:00
|
|
|
<!--oauth server 依赖-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.security</groupId>
|
|
|
|
<artifactId>spring-security-core</artifactId>
|
|
|
|
</dependency>
|
2020-06-11 16:52:05 +08:00
|
|
|
</dependencies>
|
|
|
|
</project>
|