|
|
@ -111,7 +111,7 @@ public class ServiceZookeeperApiMetaManager implements ApiMetaManager { |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
protected String buildMd5(List<GatewayRouteDefinition> routeDefinitionList) { |
|
|
|
protected String buildMd5(List<GatewayRouteDefinition> routeDefinitionList) { |
|
|
|
List<String> routeIdList = routeDefinitionList.stream() |
|
|
|
List<String> routeIdList = routeDefinitionList.stream() |
|
|
|
.map(GatewayRouteDefinition::toString) |
|
|
|
.map(JSON::toJSONString) |
|
|
|
.sorted() |
|
|
|
.sorted() |
|
|
|
.collect(Collectors.toList()); |
|
|
|
.collect(Collectors.toList()); |
|
|
|
String md5Source = org.apache.commons.lang3.StringUtils.join(routeIdList, ""); |
|
|
|
String md5Source = org.apache.commons.lang3.StringUtils.join(routeIdList, ""); |
|
|
|