public JsonNode getApplicationsTree ( ) throws IOException { Invocation invocation = getJerseyClient ( ) . target ( getEndpoint ( ) + "/v1/applications/fetch" ) . request ( ) . buildGet ( ) ; return invocation . invoke ( ) . readEntity ( JsonNode . class ) ; }
Creates proxied HTTP GET request to Apache Brooklyn which returns the whole applications tree