feature(all): 切换使用zookeeper作为注册中心
This commit is contained in:
@@ -76,7 +76,7 @@ public class CloudController extends BaseController {
|
||||
return services()
|
||||
.groupBy(groupByField)
|
||||
.toMap()
|
||||
.collectValues((serviceId, services) -> new CloudServiceVO(serviceId, services.toSortedListBy(CloudServiceVO.Service::getServiceUpTime).toImmutable()))
|
||||
.collectValues((serviceId, services) -> new CloudServiceVO(serviceId, services.toSortedListBy(CloudServiceVO.Service::getHost).toImmutable()))
|
||||
.valuesView()
|
||||
.toSortedListBy(CloudServiceVO::getName)
|
||||
.toImmutable();
|
||||
|
||||
Reference in New Issue
Block a user