@Test public void testGetVersion() { ClientResponse response = client().resource("/v1/version") .get(ClientResponse.class); assertEquals(response.getStatus(), Response.Status.OK.getStatusCode()); String version = response.getEntity(String.class); assertTrue(true); }
@Override public String getVersion() { return BrooklynVersion.get(); }
VersionResource extends AbstractBrooklynRestResource implements VersionApi { @Override public String getVersion() { return BrooklynVersion.get(); } }
VersionResource extends AbstractBrooklynRestResource implements VersionApi { @Override public String getVersion() { return BrooklynVersion.get(); }  }
VersionResource extends AbstractBrooklynRestResource implements VersionApi { @Override public String getVersion() { return BrooklynVersion.get(); }  @Override String getVersion(); }
VersionResource extends AbstractBrooklynRestResource implements VersionApi { @Override public String getVersion() { return BrooklynVersion.get(); }  @Override String getVersion();  }