All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.ecwid.consul.v1.catalog.CatalogClient Maven / Gradle / Ivy

There is a newer version: 1.4.5
Show newest version
package com.ecwid.consul.v1.catalog;

import com.ecwid.consul.v1.QueryParams;
import com.ecwid.consul.v1.Response;
import com.ecwid.consul.v1.catalog.model.CatalogDeregistration;
import com.ecwid.consul.v1.catalog.model.CatalogNode;
import com.ecwid.consul.v1.catalog.model.CatalogRegistration;
import com.ecwid.consul.v1.catalog.model.Node;

import java.util.List;
import java.util.Map;

/**
 * @author Vasily Vasilkov ([email protected])
 */
public interface CatalogClient {

	public Response catalogRegister(CatalogRegistration catalogRegistration);

	public Response catalogDeregister(CatalogDeregistration catalogDeregistration);

	public Response> getCatalogDatacenters();

	public Response> getCatalogNodes(QueryParams queryParams);

	public Response>> getCatalogServices(QueryParams queryParams);

	public Response>> getCatalogServices(QueryParams queryParams, String token);

	public Response> getCatalogService(String serviceName, QueryParams queryParams);

	public Response> getCatalogService(String serviceName, String tag, QueryParams queryParams);

	public Response> getCatalogService(String serviceName, QueryParams queryParams, String token);

	public Response> getCatalogService(String serviceName, String tag, QueryParams queryParams, String token);

	public Response getCatalogNode(String nodeName, QueryParams queryParams);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy