use of org.entando.entando.aps.system.services.entity.model.EntityTypesStatusDto in project entando-core by entando.
the class DataTypeController method extractStatus.
@RestAccessControl(permission = Permission.SUPERUSER)
@RequestMapping(value = "/dataTypesStatus", method = RequestMethod.GET, produces = MediaType.APPLICATION_JSON_VALUE)
public ResponseEntity<SimpleRestResponse<EntityTypesStatusDto>> extractStatus() throws Throwable {
logger.debug("Extract data types status");
EntityTypesStatusDto status = this.getDataObjectService().getDataTypesRefreshStatus();
logger.debug("Extracted data types status {}", status);
return new ResponseEntity<>(new SimpleRestResponse<>(status), HttpStatus.OK);
}
Aggregations