25 Commits

Author SHA1 Message Date
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
8c854900cc RED-8043 - Refactor EntityLog merge mechanism 2023-12-14 15:06:32 +01:00
Dominique Eifländer
56038f13b9 hotfix: Fixed old versions in project, because of cycling dependencies 2023-12-14 13:50:50 +01:00
Kilian Schüttler
87f841d9dd RED-7834: fix migration issues 2023-12-11 15:46:32 +01:00
Andrei Isvoran
8dad6c44df RED-7404 - Migrate to gradle 2023-12-04 12:31:47 +01:00
Kresnadi Budisantoso
1de6210993 RED-962 Fixup response type & error 500 2023-11-29 23:58:40 +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
9985e9b0af RED-7962 Fix wrong CSV mapping active flag 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
1f9a0e6326 DM-285: add description to Component Endpoint
* also remove field value from EntityReference
2023-10-06 11:46:10 +02:00
Kilian Schuettler
941990787c DM-504: re-add includeSoftDeleted flag
* minor renames of ComponentLog fields
2023-09-29 17:56:54 +02:00
Timo Bejan
3e43fe0382 Fixed binary file upload for swagger 2023-09-28 13:09:14 +03: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
d49300659b DM-503: Wrong query parameter for "keepManualChanges" 2023-09-27 11:11:49 +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
deiflaender
ad9ef6351f RED-7578: Implemented logic of components endpoint for api v2 2023-09-15 10:36:13 +02:00
deiflaender
0e04331285 RED-7578: Implemented first endpoints of external-api-v2 2023-09-13 16:44:51 +02:00