Merge in RED/persistence-service from RED-6072 to master
* commit 'eff8eeaf03f76c12ca700ff4bb4f7688c291fab6':
RED-6072 - As Operation I want to see why files are in an ERROR state - update junit tests
RED-6072 - As Operation I want to see why files are in an ERROR state - add @Transactional for the update
RED-6072 - As Operation I want to see why files are in an ERROR state - update the new endpoints with different path than the original endpoints
RED-6072 - As Operation I want to see why files are in an ERROR state - set back the initial endpoints for backward compatibility
RED-6072 - As Operation I want to see why files are in an ERROR state - update junit test
RED-6072 - As Operation I want to see why files are in an ERROR state - add to file entity and models information about the error state - update endpoints with the error information in case of failure