use of org.obiba.mica.micaConfig.event.TaxonomiesUpdatedEvent in project mica2 by obiba.
the class TaxonomiesResource method updateIndices.
@PUT
@Path("/_index")
@Timed
@RequiresRoles(Roles.MICA_ADMIN)
public Response updateIndices() {
logger.info("clear and rebuild cache opalTaxonomies url /taxonomies/_index");
eventBus.post(new TaxonomiesUpdatedEvent());
return Response.noContent().build();
}
Aggregations