29 Commits

Author SHA1 Message Date
Kilian Schüttler
6412f58d58 RED-9145: add component mappings 2024-05-29 12:49:21 +02:00
Maverick Studer
d845b4cef2 RED-7700: Safe rule execution 2024-03-08 15:06:14 +01:00
Kilian Schuettler
4aa5b0ee34 reformat 2024-02-28 14:57:21 +01:00
Andrei Isvoran
34c7e51ae8 RED-7086 - Deprecate hard-delete files and add new endpoint with POST request 2024-02-09 15:32:31 +01:00
Andrei Isvoran
8dad6c44df RED-7404 - Migrate to gradle 2023-12-04 12:31:47 +01:00
Kresnadi Budisantoso
4c4e1ced91 RED-7962 Changed response type to "text/plain; charset=utf-8"
- Fixup of previous commit
- Use "text/plain; charset=utf-8" instead of "application/octet-stream" as response type for rule files
  as they are actually text files.
2023-11-29 23:07:14 +01:00
Kresnadi Budisantoso
9aff9e2d71 RED-7962 Fix error 500 for rule download endpoints.
The previous fix just corrected missing 404 response for the upload endpoints.
In case of a 404 error, the response entity is not a InputStreamResource anymore but an object containing the error message.
2023-11-29 17:23:45 +01:00
Kresnadi Budisantoso
d4a9afb8fe RED-7962 Fix error 500 for rule endpoints if dossier template does not exist
Also return 404 for file attribute definition endpoint if dossier template does not exist.
2023-11-29 16:18:46 +01:00
Kresnadi Budisantoso
0013b5d116 RED-7962 Improved response of endpoint to get file attributes
Added CSV settings.
2023-11-29 00:05:22 +01:00
Kresnadi Budisantoso
97960d8ed7 RED-7962 Fixes error 500 that occurred because of the rule file type parameter that was not removed by mistake
Also adjusted the audit log message if 'dryRun' was set to `true`.
2023-11-29 00:05:22 +01:00
Kresnadi Budisantoso
93167265d1 RED-7962 Added 'red-experimental' role to restrict usage of experimental... 2023-11-27 18:40:09 +01:00
Kresnadi Budisantoso
e5636452a1 RED-7962 Added rule upload and download specification to openapi.yaml
Other changes:
* minor renamings
* fixed query parameter name to camelCase
* changed response code for invalid rules to 422 (unprocessable entity)
* changed filename of rules to lower case
2023-11-23 15:33:17 +01:00
Dominique Eifländer
19605b4185 RED-7962: Implemented public rules endpoints 2023-11-23 13:37:33 +01:00
Kilian Schuettler
c1418d30dc hotfix: fix component sorting 2023-11-06 15:36:32 +01:00
Kilian Schuettler
0b44b5abe7 DM-285: add fileName to component endpoint 2023-10-13 10:43:50 +02:00
Kilian Schuettler
f7285fb821 DM-504: always exclude hard deleted files
* adjusted error message
* also removed annotationStatus since it is always APPROVED anyway
* removed inactive options from FilteredEntityLogRequest
* validated fileId and dossierId when getting comments
2023-10-10 10:51:40 +02:00
Kilian Schuettler
781b761aad DM-504: always exclude hard deleted files
* adjusted error message
* also removed annotationStatus since it is always APPROVED anyway
* removed inactive options from FilteredEntityLogRequest
2023-10-10 10:27:10 +02:00
Kilian Schuettler
f706619140 DM-504: always exclude hard deleted files 2023-10-06 15:11:09 +02:00
Kilian Schuettler
941990787c DM-504: re-add includeSoftDeleted flag
* minor renames of ComponentLog fields
2023-09-29 17:56:54 +02:00
Kilian Schuettler
f9f5dfd1c9 DM-504: Remove unnecessary flag for requesting specific file or dossier 2023-09-27 11:18:36 +02:00
Kilian Schuettler
f8231a6499 DM-502: Dossier Endpoint returns all dossiers regardless of the set dossierTemplateId 2023-09-27 11:08:29 +02:00
Kresnadi Budisantoso
87e27050dd OpenAPI Specification for DocuMine 2023-09-26 17:52:16 +02:00
Kilian Schuettler
e94d3c6146 DM-285: polish component log and component endpoints 2023-09-25 17:10:02 +02:00
Kilian Schuettler
3c9d247432 DM-285: Change component log
* apply overrides in ComponentLogService
* added a test for manual type change
* include overrides in getComponentLog
2023-09-22 14:16:03 +02:00
Kilian Schuettler
e651c8225f DM-285: Change component log 2023-09-22 10:32:09 +02:00
Andrei Isvoran
51da8f5d58 DM-498 - Fix 500 internal server error when overrides do not exist 2023-09-21 14:10:45 +02:00
deiflaender
ad9ef6351f RED-7578: Implemented logic of components endpoint for api v2 2023-09-15 10:36:13 +02:00
deiflaender
cb269b8e86 RED-7578: Fixed order of endpoints, set swagger endpoint to /api, fixed not used Error codes in spec 2023-09-14 14:11:40 +02:00
deiflaender
0e04331285 RED-7578: Implemented first endpoints of external-api-v2 2023-09-13 16:44:51 +02:00