private List<ApplicationRepresentation> getApplicationsByName(Client httpClient, String appName) {
String host = platform.getHost();
ClientResponse apps = httpClient.resource(host + APPLICATIONS_BY_NAME_URI + appName).get(ClientResponse.class);
String body = apps.getEntity(String.class);
ApplicationCollectionRepresentation appsRep = JSONBase.fromJSON(body, ApplicationCollectionRepresentation.class);
return appsRep.getApplications();
}