use of org.obiba.mica.project.event.IndexProjectsEvent in project mica2 by obiba.
the class MicaConfigResource method updateIndices.
@PUT
@Path("/_index")
@Timed
@RequiresRoles(Roles.MICA_ADMIN)
public Response updateIndices() {
eventBus.post(new IndexStudiesEvent());
eventBus.post(new IndexFilesEvent());
eventBus.post(new IndexContactsEvent());
eventBus.post(new IndexNetworksEvent());
eventBus.post(new IndexDatasetsEvent());
eventBus.post(new IndexProjectsEvent());
eventBus.post(new TaxonomiesUpdatedEvent());
return Response.noContent().build();
}
Aggregations