/*
 * Copyright 2017-2018, EnMasse authors.
 * License: Apache License 2.0 (see the file LICENSE or http://apache.org/licenses/LICENSE-2.0.html).
 */
package io.enmasse.controller.api.v1.http;

import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.Context;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
import javax.ws.rs.core.UriInfo;
import java.net.URI;
import java.util.ArrayList;
import java.util.List;

@Path("/apis/enmasse.io/v1")
public class HttpV1RootService {
    @GET
    @Produces({MediaType.APPLICATION_JSON})
    public Response getV1(@Context UriInfo uriInfo) {
        List<URI> uriList = new ArrayList<>();
        URI baseUri = uriInfo.getBaseUri();
        uriList.add(baseUri.resolve("/apis/enmasse.io/v1/addressspaces"));
        uriList.add(baseUri.resolve("/apis/enmasse.io/v1/addresses"));
        uriList.add(baseUri.resolve("/apis/enmasse.io/v1/health"));
        uriList.add(baseUri.resolve("/apis/enmasse.io/v1/schema"));
        return Response.status(200).entity(uriList).build();
    }
}

@@ -883,76 +883,8 @@
 ));%0A
-        uriList.add(baseUri.resolve(%22/apis/enmasse.io/v1/health%22));%0A
     

Remove health URI from HttpV1RootService