class ModuleResource extends AbstractResource {

    @GET
    @Produces(MediaType.APPLICATION_JSON)
    @Path("/{name}/{version}" + ServerAPI.GET_BUILD_INFO)
    public Response getBuildInfo(@PathParam("name") final String name, @PathParam("version") final String version) {

        if (LOG.isInfoEnabled()) {
            LOG.info(String.format("Got a get buildInfo request [%s %s]", name, version));
        }


        final String moduleId = DbModule.generateID(name, version);
        final DbModule dbModule = getModuleHandler().getModule(moduleId);

        return Response.ok(dbModule.getBuildInfo()).build();
    }

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

}