public ApplicationSummary getApplication ( String brooklynId ) throws IOException { Invocation invocation = getJerseyClient ( ) . target ( getEndpoint ( ) + "/v1/applications/" + brooklynId ) . request ( ) . buildGet ( ) ; return invocation . invoke ( ) . readEntity ( ApplicationSummary . class ) ; }
Creates proxied HTTP GET request to Apache Brooklyn which returns the details about a particular hosted application