qbit/core/src/main/java/io/advantageous/qbit/service/discovery/EndpointDefinition.java
public static EndpointDefinition serviceDefinition(
            final String id,
            final String name,
            final String host,
            final int port,
            List<String> tags) {

        return new EndpointDefinition(HealthStatus.PASS,
                id, name, host, port, tags);
    }
public static EndpointDefinition serviceDefinition(
            final String id,
            final String name,
            final String host,
            final int port,
            List<String> tags) {

        return new EndpointDefinition(HealthStatus.PASS,
                id, name, host, port, tags);
    }
Creates a EndpointDefinition for a service, i.e., a serviceDefinition.

@param id   id
@param name name
@param host host
@param port port
@param tags tags
@return EndpointDefinition