class ApplicationResource {

    @GET
    @Consumes(MediaType.APPLICATION_JSON)
    @Timed
    @UnitOfWork(transactional = false)
    @Path("{tenant}/{name}")
    @ApiOperation(value = "Get application(only metadata from db)", response = ApplicationDomain.class)
    public Response get(@PathParam("tenant") final String tenant, @PathParam("name") final String computationName) {
        final String appName = applicationService.name(tenant, computationName);
        final ApplicationDomain applicationDomain = applicationService.get(appName, tenant);
        return Response.ok().entity(applicationDomain).build();
    }

}