class ModuleResource extends AbstractResource {

    @GET
    @Produces({MediaType.TEXT_HTML, MediaType.APPLICATION_JSON})
    @Path("/{name}/{version}")
    public Response get(@PathParam("name") final String name, @PathParam("version") final String version) {
        LOG.info("Got a get module request.");
        final ModuleView view = new ModuleView();

        final String moduleId = DbModule.generateID(name, version);
        final DbModule dbModule = getModuleHandler().getModule(moduleId);
        final Module module = getModelMapper().getModule(dbModule);
        view.setModule(module);
        view.setOrganization(dbModule.getOrganization());

        return Response.ok(view).build();
    }

    public  ModuleResource(final RepositoryHandler repoHandler, final GrapesServerConfig dmConfig);

}