Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge from develop. #10126

Merged
merged 84 commits into from
Mar 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
84 commits
Select commit Hold shift + click to select a range
1322486
Develop optimize controplugin 20221214 (#9715)
shiyiyue1102 Dec 16, 2022
c7bdc6a
增加检查服务端健康状态的功能。 (#9639)
YunWZ Dec 21, 2022
b472d70
update readme for Contact Ding Group (#9739)
xuechaos Dec 21, 2022
6904707
修改长连接request response 类注册逻辑,由类扫描改成手动注册 (#9738)
shiyiyue1102 Dec 21, 2022
f093002
Fix namespace v2 api auth not work problem. (#9754)
KomachiSion Dec 27, 2022
42d9282
[ISSUE alibaba#9734] fix http login url ,add default port. (#9735)
vividfish Dec 27, 2022
fbe7d95
polish:change log level warn to info when succeed (#9749)
drgnchan Dec 27, 2022
7c4f614
RequestMappingHandlerMapping conflict (#9720)
twelvet-s Dec 27, 2022
20c1830
[ISSUE #9728] Prometheus http sd 返回空数组[] (#9762)
karsonto Jan 3, 2023
7e24ab9
[Enhance] Prevent double triiger ContextRefreshedEvent (#9757)
karsonto Jan 3, 2023
ef212cc
代码优化 (#9752)
zhuyou1234 Jan 3, 2023
60528cd
fix: replace the concatenated string with a placeholder in the batchR…
wenxuan70 Jan 3, 2023
d51ad45
remove unused local variables (#9781)
Korov Jan 3, 2023
b347b46
upgeade-spring-boot version to 2.6.14 (#9785)
karsonto Jan 3, 2023
34ba381
upgrade jraft version to 1.3.12; (#9790)
YunWZ Jan 4, 2023
20145fd
enhancement: CloseableHttpAsyncClient does not clean up expired and i…
zz630 Jan 5, 2023
1bc2e41
upgrade grpc-java version to 1.50.2, (#9799)
YunWZ Jan 5, 2023
aa6ce2e
fix config auth failed. (#9807)
YunWZ Jan 9, 2023
5ac5688
[#ISSUE 9733] return origin key if value is null in StringPool.get() …
MajorHe1 Jan 9, 2023
708387c
fix:replace nacos website url to https. (#9797)
GOODBOY008 Jan 10, 2023
732e701
Provide more configuration items to allow users to customize their gr…
YunWZ Jan 11, 2023
ba15e23
fix issue #9795 (#9844)
karsonto Jan 13, 2023
01faa47
快照首次加载失败问题 (#9838)
hujun-w-2 Jan 13, 2023
c8b04b0
[ISSUE #9783] 处理namespaceId=public 时 v2接口 无法创建与删除配置 (#9809)
karsonto Jan 16, 2023
4fa126f
Modify the return value comment of the isBasicInfoChanged method (#9849)
sixsixsix516 Jan 16, 2023
41f03fe
[ISSUE#9730] 对多数据源插件代码进行调整(向前兼容) (#9784)
xzxiaoshan Jan 16, 2023
332dc1d
fix #9819 (#9850)
YunWZ Jan 28, 2023
fee349b
Fix #9861, auth check before distro filter. (#9871)
KomachiSion Jan 28, 2023
986c024
Fix Unit test problem. (#9884)
KomachiSion Feb 1, 2023
ade3f82
[ISSUE #9859]使用自定义的JWT生成/验证方法,而不依赖于`jjwt`. (#9873)
YunWZ Feb 2, 2023
71389b0
add feature -- list instance record which enabled was false (#9855)
YunWZ Feb 2, 2023
4db3e8c
[ISSUE #9816] Add expected final state for redo data. (#9893)
KomachiSion Feb 3, 2023
35b9884
del no use code (#9892)
chenhao26-nineteen Feb 3, 2023
42b28f9
[ISSUE #9859] 重构默认插件的登陆/鉴权逻辑 (#9889)
YunWZ Feb 3, 2023
a1c7def
Update README.md (#9895)
frank-zsy Feb 3, 2023
65da789
fix(修复配置历史分页异常): 配置历史分页异常,所有页都是全部记录 (#9828)
liu-xg Feb 3, 2023
8c90f89
fix batchRegister authentication (#9899)
chenhao26-nineteen Feb 5, 2023
98d3da4
fix typo 'curcuit';remove unused variable. (#9901)
YunWZ Feb 7, 2023
428e0bc
Develop add unit test api (#9910)
KomachiSion Feb 7, 2023
30954dc
[ISSUE #9816] check expected final state before remove redo data. (#9…
MajorHe1 Feb 8, 2023
4e08d61
[ISSUE #9710]prometheus-sd support basic auth. (#9912)
vividfish Feb 8, 2023
1ef245d
Add Unit test for api naming remote request. (#9916)
KomachiSion Feb 8, 2023
2faa5b5
Add Unit test for api module naming package. (#9918)
KomachiSion Feb 8, 2023
882c6ed
code optimization for `ConfigChangeHandler` (#9923)
ZhangShenao Feb 10, 2023
1ff7a3f
[ISSUE #9821] Update data-source-plugin input and output parameters (…
The-Gamer-01 Feb 10, 2023
5a8c567
[ISSUE #9906] cache token to improve performance (#9914)
MajorHe1 Feb 10, 2023
815197c
[ISSUE #9930] fix word spelling error in com.alibaba.nacos.common.htt…
ZhangShenao Feb 13, 2023
0c9f081
[Enhancement] Add prometheus api exception handling (#9885)
karsonto Feb 13, 2023
e736455
display the namespace on add,edit,detail configuration page #(9827) (…
githubcheng2978 Feb 14, 2023
9ebf5ae
Judge the message whether null for metadata processor. (#9951)
KomachiSion Feb 15, 2023
4e78a76
replaced report API to Grpc (#9976)
godhth Feb 20, 2023
d16023c
[ISSUE #9821] Update ConfigInfoBetaMapper data-source-plugin input an…
The-Gamer-01 Feb 20, 2023
67d5acc
[ISSUE #9965] Delete method getRemoteIp() from class NacosHttpTpsCont…
IJiaPu Feb 20, 2023
a6332b2
[ISSUE #9276] 新增根据配置信息检索内容的功能 (#9925)
985492783 Feb 21, 2023
c04b0bb
Remove the default token.secret.key (#9992)
KomachiSion Feb 22, 2023
90bfe0a
Fixed some minor bugs in CollectionUtils.java (#9989)
4yDX3906 Feb 22, 2023
4242fc6
✨ fix LDAP login failed (#9932)
tonycody Feb 22, 2023
579571c
[ISSUE #9860] abstract the nacos logback configurator to solve the pr…
hujun-w-2 Feb 22, 2023
7ca8c59
[ISSUE #9448] use local font files (#9995)
onewe Feb 23, 2023
aebe583
fix #9954 -- timeunit. (#10004)
YunWZ Feb 27, 2023
5a8f6f5
Fix cluster node state error (#10011)
Daydreamer-ia Mar 1, 2023
a397c10
Optimize the `nacos-client/pom.xml` for exclude `google/**/*.proto` (…
wangliang181230 Mar 1, 2023
ec9e281
[ISSUES #10029] optimize SearchableProperties building code (#10030)
onewe Mar 2, 2023
d5bbe9e
[ISSUE #10020] Use Generic Type When Declaring `authFilterRegistratio…
ZhangShenao Mar 2, 2023
6ba05fa
Replace `flatten-maven-plugin` with `easyj-maven-plugin` (#9985)
wangliang181230 Mar 2, 2023
acc8cbe
编辑配置时代码支持折叠 (#10022)
caixiaomao Mar 2, 2023
e58c444
[ISSUE #9943] Resolve issue Config cas update not work (#9952)
karsonto Mar 3, 2023
74b81be
fix:Utility classes should not have public constructors (#10019)
4yDX3906 Mar 6, 2023
920fd4c
Remove http data change (#10043)
Daydreamer-ia Mar 6, 2023
000f943
syntax error (#10041)
3139487747 Mar 6, 2023
62ef024
[ISSUE #10038]load failover file. (#10048)
YunWZ Mar 9, 2023
f969595
[ISSUES #10014] clear confused logic about namespace properties (#10023)
onewe Mar 9, 2023
5aa272c
[ISSUE #10052] ServerLoaderController Code optimization (#10058)
gaoxuliang Mar 9, 2023
22ff97d
调整startup.sh关于gc log配置问题 (#10050)
LeePui Mar 9, 2023
02a5e38
fix #10044 -- only update existed config. (#10045)
YunWZ Mar 9, 2023
383287c
[ISSUE#10062] Naming support aliyun STS auth. (#10063)
KomachiSion Mar 10, 2023
1968b3f
Develop revert#9851 #9967 (#10069)
KomachiSion Mar 10, 2023
a2f17da
Update application.properties (#10078)
mroldx Mar 13, 2023
bff133f
Re build console ui. (#10083)
KomachiSion Mar 13, 2023
34a29e7
Use async appender to print log for nacos-client. (#10085)
KomachiSion Mar 13, 2023
81dda26
Upgrade snakeYaml to 2.0 (#10092)
KomachiSion Mar 14, 2023
214e0c9
nacos grpc connection supports TLS Encryption (#9980)
githubcheng2978 Mar 15, 2023
cdd2be6
Remove identity default value. (#10108)
KomachiSion Mar 16, 2023
8ab2058
Upgrade to 2.2.1 (#10121)
KomachiSion Mar 17, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
27 changes: 15 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven

name: Continuous Integration
name: "Continuous Integration"

on:
push:
Expand All @@ -13,34 +13,37 @@ permissions:
contents: read # to fetch code (actions/checkout)

jobs:
unix:
ci:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
java: [8]
steps:
- name: Cache Maven Repos
- name: "Cache Maven Repos"
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- uses: actions/checkout@v3
- name: Set up JDK ${{ matrix.java }}
- name: "Checkout"
uses: actions/checkout@v3
- name: "Set up JDK ${{ matrix.java }}"
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java }}
distribution: 'zulu'
architecture: x64
- name: Check with Maven
run: mvn -B clean package apache-rat:check findbugs:findbugs -Dmaven.test.skip=true
- name: Build with Maven
run: mvn -Prelease-nacos -Dmaven.test.skip=true clean install -U
- name: Test With Maven
run: mvn -Prelease-nacos clean test -DtrimStackTrace=false
- name: Codecov
- name: "Print maven version"
run: mvn -version
- name: "Check with Maven"
run: mvn -B clean package apache-rat:check findbugs:findbugs -DskipTests -e -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
- name: "Build with Maven"
run: mvn -Prelease-nacos -DskipTests clean install -U -e -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
- name: "Test With Maven"
run: mvn -Prelease-nacos clean test -DtrimStackTrace=false -e -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
- name: "Codecov"
uses: codecov/codecov-action@v3.1.0
with:
files: ./address/target/site/jacoco/jacoco.xml,./api/target/site/jacoco/jacoco.xml,./auth/target/site/jacoco/jacoco.xml,./client/target/site/jacoco/jacoco.xml,./common/target/site/jacoco/jacoco.xml,./consistency/target/site/jacoco/jacoco.xml,./console/target/site/jacoco/jacoco.xml,./core/target/site/jacoco/jacoco.xml,./naming/target/site/jacoco/jacoco.xml,./plugin-default-impl/target/site/jacoco/jacoco.xml,./plugin/auth/target/site/jacoco/jacoco.xml,./plugin/encryption/target/site/jacoco/jacoco.xml,./sys/target/site/jacoco/jacoco.xml
29 changes: 16 additions & 13 deletions .github/workflows/it.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven

name: Integration Test
name: "Integration Test"

on:
push:
Expand All @@ -13,33 +13,36 @@ permissions:
contents: read # to fetch code (actions/checkout)

jobs:
unix:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
java: [8, 8.0.192, 11, 11.0.3]
steps:
- name: Cache Maven Repos
- name: "Cache Maven Repos"
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- uses: actions/checkout@v3
- name: Set up JDK ${{ matrix.java }}
- name: "Checkout"
uses: actions/checkout@v3
- name: "Set up JDK ${{ matrix.java }}"
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java }}
distribution: 'zulu'
architecture: x64
- name: Test Config
run: mvn clean package -Pcit-test
- name: Clean Env
run: mvn clean -Premove-test-data
- name: Test Naming
run: mvn clean package -Pnit-test
- name: Clean Env
run: mvn clean -Premove-test-data
- name: "Print maven version"
run: mvn -version
- name: "Test Config"
run: mvn clean package -Pcit-test -e -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
- name: "Clean Env"
run: mvn clean -Premove-test-data -e -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
- name: "Test Naming"
run: mvn clean package -Pnit-test -e -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
- name: "Clean Env"
run: mvn clean -Premove-test-data -e -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn

5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

[![Gitter](https://badges.gitter.im/alibaba/nacos.svg)](https://gitter.im/alibaba/nacos?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) [![License](https://img.shields.io/badge/license-Apache%202-4EB1BA.svg)](https://www.apache.org/licenses/LICENSE-2.0.html)
[![Gitter](https://travis-ci.org/alibaba/nacos.svg?branch=master)](https://travis-ci.org/alibaba/nacos)
[![](https://img.shields.io/badge/Nacos-Check%20Your%20Contribution-orange)](https://opensource.alibaba.com/contribution_leaderboard/details?projectValue=nacos)

-------

Expand Down Expand Up @@ -118,9 +119,9 @@ Contributors are welcomed to join Nacos project. Please check [CONTRIBUTING](./C
* users-nacos@googlegroups.com: Nacos usage general discussion.
* dev-nacos@googlegroups.com: Nacos developer discussion (APIs, feature design, etc).
* commits-nacos@googlegroups.com: Commits notice, very high frequency.
* Join us from DingDing(Group 1: 21708933(full), Group 2: 30438813).
* Join us from DingDing(Group 1: 21708933(full), Group 2: 30438813(full), Group 3: 31222241(full), Group 4: 12810027056).

![Nacos](https://nacos.io/img/nacos_dingding.jpg)
![Nacos](https://img.alicdn.com/imgextra/i1/O1CN01ULSVXu1DRbANwVC6r_!!6000000000213-2-tps-666-884.png)

## Enterprise Service
If you need Nacos enterprise service support, or purchase cloud product services, you can join the discussion by scanning the following DingTalk group. It can also be directly activated and used through the microservice engine (MSE) provided by Alibaba Cloud.
Expand Down
2 changes: 1 addition & 1 deletion REPORTING-BUGS.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# How to report bugs

If any part of the Nacos project has bugs or documentation mistakes, please let us know by [opening an issue][Nacos-issue]. We treat bugs and mistakes very seriously and believe no issue is too small, anyOne is implement. Before creating a bug report, please check that an issue reporting the same problem does not already exist.
If any part of the Nacos project has bugs or documentation mistakes, please let us know by [opening an issue][Nacos-issue]. We treat bugs and mistakes very seriously and believe no issue is too small, anyone is implement. Before creating a bug report, please check that an issue reporting the same problem does not already exist.

To make the bug report accurate and easy to understand, please try to create bug reports that are:

Expand Down
8 changes: 1 addition & 7 deletions address/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,7 @@
<packaging>jar</packaging>

<name>nacos-address ${project.version}</name>
<url>http://nacos.io</url>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
</properties>
<url>https://nacos.io</url>

<dependencies>
<dependency>
Expand Down
20 changes: 1 addition & 19 deletions api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<packaging>jar</packaging>

<name>nacos-api ${project.version}</name>
<url>http://nacos.io</url>
<url>https://nacos.io</url>
<build>
<plugins>
<!-- reuse when you need to update grpc model -->
Expand All @@ -50,22 +50,9 @@
</execution>
</executions>
</plugin>-->

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>8</source>
<target>8</target>
</configuration>
</plugin>
</plugins>
</build>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

<dependencies>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
Expand Down Expand Up @@ -105,11 +92,6 @@
<groupId>com.google.protobuf</groupId>
<artifactId>protobuf-java</artifactId>
</dependency>
<dependency>
<groupId>io.grpc</groupId>
<artifactId>protoc-gen-grpc-java</artifactId>
<type>pom</type>
</dependency>
<dependency>
<groupId>javax.annotation</groupId>
<artifactId>javax.annotation-api</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public static <T> Result<T> success(T data) {
* @return Result
*/
public static Result<String> failure(String message) {
return Result.failure(ErrorCode.SERVER_ERROR, message);
return new Result<>(ErrorCode.SERVER_ERROR.getCode(), message);
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;
import java.util.Objects;

/**
* Instance.
Expand Down Expand Up @@ -209,7 +210,7 @@ public int hashCode() {
}

private static boolean strEquals(final String str1, final String str2) {
return str1 == null ? str2 == null : str1.equals(str2);
return Objects.equals(str1, str2);
}

public long getInstanceHeartBeatInterval() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;

/**
Expand All @@ -36,15 +35,22 @@
@JsonInclude(Include.NON_NULL)
public class ServiceInfo {

/**
* file name pattern: groupName@@name@clusters.
*/
private static final int GROUP_POSITION = 0;

private static final int SERVICE_POSITION = 1;

private static final int CLUSTER_POSITION = 2;

private static final int FILE_NAME_PARTS = 3;

@JsonIgnore
private String jsonFromServer = EMPTY;

private static final String EMPTY = "";

private static final String ALL_IPS = "000--00-ALL_IPS--00--000";

public static final String SPLITER = "@@";

private static final String DEFAULT_CHARSET = "UTF-8";

private String name;
Expand Down Expand Up @@ -80,20 +86,15 @@ public void setAllIPs(boolean allIPs) {
* There is only one form of the key:groupName@@name@clusters. This constructor used by DiskCache.read(String) and
* FailoverReactor.FailoverFileReader,you should know that 'groupName' must not be null,and 'clusters' can be null.
*/
public ServiceInfo(String key) {
int maxIndex = 2;
int clusterIndex = 2;
int serviceNameIndex = 1;
int groupIndex = 0;

public ServiceInfo(final String key) {
String[] keys = key.split(Constants.SERVICE_INFO_SPLITER);
if (keys.length >= maxIndex + 1) {
this.groupName = keys[groupIndex];
this.name = keys[serviceNameIndex];
this.clusters = keys[clusterIndex];
} else if (keys.length == maxIndex) {
this.groupName = keys[groupIndex];
this.name = keys[serviceNameIndex];
if (keys.length >= FILE_NAME_PARTS) {
this.groupName = keys[GROUP_POSITION];
this.name = keys[SERVICE_POSITION];
this.clusters = keys[CLUSTER_POSITION];
} else if (keys.length == CLUSTER_POSITION) {
this.groupName = keys[GROUP_POSITION];
this.name = keys[SERVICE_POSITION];
} else {
//defensive programming
throw new IllegalArgumentException("Can't parse out 'groupName',but it must not be null!");
Expand Down Expand Up @@ -231,8 +232,7 @@ public String getKeyEncoded() {
String serviceName = getGroupedServiceName();
try {
serviceName = URLEncoder.encode(serviceName, DEFAULT_CHARSET);
} catch (UnsupportedEncodingException e) {
//do nothing
} catch (UnsupportedEncodingException ignored) {
}
return getKey(serviceName, clusters);
}
Expand All @@ -251,19 +251,8 @@ private String getGroupedServiceName() {
* @param key key of service info
* @return new service info
*/
public static ServiceInfo fromKey(String key) {
ServiceInfo serviceInfo = new ServiceInfo();
int maxSegCount = 3;
String[] segs = key.split(Constants.SERVICE_INFO_SPLITER);
if (segs.length == maxSegCount - 1) {
serviceInfo.setGroupName(segs[0]);
serviceInfo.setName(segs[1]);
} else if (segs.length == maxSegCount) {
serviceInfo.setGroupName(segs[0]);
serviceInfo.setName(segs[1]);
serviceInfo.setClusters(segs[2]);
}
return serviceInfo;
public static ServiceInfo fromKey(final String key) {
return new ServiceInfo(key);
}

@Override
Expand All @@ -283,18 +272,10 @@ private static boolean isEmpty(String str) {
return str == null || str.length() == 0;
}

private static boolean isEmpty(Collection coll) {
return (coll == null || coll.isEmpty());
}

private static boolean strEquals(String str1, String str2) {
return str1 == null ? str2 == null : str1.equals(str2);
}

public boolean isReachProtectionThreshold() {
return reachProtectionThreshold;
}

public void setReachProtectionThreshold(boolean reachProtectionThreshold) {
this.reachProtectionThreshold = reachProtectionThreshold;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
import com.alibaba.nacos.api.utils.StringUtils;
import com.fasterxml.jackson.annotation.JsonIgnore;

import java.util.Objects;
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
import java.util.Objects;

/**
* Implementation of health checker for HTTP.
Expand Down Expand Up @@ -100,10 +100,6 @@ public boolean equals(final Object obj) {

final Http other = (Http) obj;

if (!StringUtils.equals(type, other.getType())) {
return false;
}

if (!StringUtils.equals(path, other.getPath())) {
return false;
}
Expand Down
Loading