public HttpResponse register(String serviceId, String serviceName, Endpoint endpoint,
                                 @Nullable Check check, List<String> tags) {
        return agentClient.register(serviceId, serviceName, endpoint.host(), endpoint.port(), check, tags);
    }
Registers a service to Consul Agent.

@param serviceId a service ID that identifying a service
@param serviceName a service name to register
@param endpoint an endpoint of service to register
@param check a check for the service
@param tags tags for the service

@return an HttpResponse representing the HTTP response from Consul
consul/src/main/java/com/linecorp/armeria/internal/consul/ConsulClient.java