class ModuleResource extends AbstractResource {

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

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

        final String moduleId = DbModule.generateID(name, version);
        final DbModule module = getModuleHandler().getModule(moduleId);
        final Boolean promoted = module.isPromoted();

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

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

}