com.nepxion.discovery.plugin.admincenter.resource.ServiceResource Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of discovery-plugin-admin-center-starter Show documentation
Show all versions of discovery-plugin-admin-center-starter Show documentation
Nepxion Discovery is a solution for Spring Cloud with blue green, gray, weight, limitation, circuit breaker, degrade, isolation, monitor, tracing, dye, failover, async agent
The newest version!
package com.nepxion.discovery.plugin.admincenter.resource;
/**
* Title: Nepxion Discovery
* Description: Nepxion Discovery
* Copyright: Copyright (c) 2017-2050
* Company: Nepxion
* @author Haojun Ren
* @version 1.0
*/
import java.util.List;
import java.util.Map;
import org.springframework.cloud.client.ServiceInstance;
import com.nepxion.discovery.common.entity.DiscoveryType;
import com.nepxion.discovery.common.entity.GatewayType;
import com.nepxion.discovery.common.entity.InstanceEntity;
import com.nepxion.discovery.common.entity.ServiceType;
public interface ServiceResource {
DiscoveryType getDiscoveryType();
List getGroups();
String getGroup(String serviceId);
List getServices();
List getServiceList(List serviceTypes);
List getServiceList(String group, List serviceTypes);
List getGateways();
List getGatewayList(List gatewayTypes);
List getInstances(String serviceId);
List getInstanceList(String serviceId);
Map> getInstanceMap(List groups);
}