746 Commits

Author SHA1 Message Date
Timo Bejan
5291820052 RED-6162 - swagger fix 2023-03-13 17:16:03 +02:00
deiflaender
eb2580e842 RED-4645: Multitenancy for storage 2023-03-10 15:16:03 +01:00
Timo Bejan
273563076b RED-5255 - ported to merged version 2023-03-10 13:24:39 +02:00
Timo Bejan
c58c9012bf RED-6162 - fixed swagger url 2023-03-10 12:57:18 +02:00
Timo Bejan
2126073c59 RED-6162 - test fixes 2023-03-10 10:56:58 +02:00
Timo Bejan
47e0e16fd9 RED-6162 - redis test container 2023-03-10 10:47:41 +02:00
Timo Bejan
72b0a3d933 RED-6162 2023-03-10 08:58:51 +02:00
Viktor Seifert
dcc83474e6 Pull request #616: RED-6310
Merge in RED/persistence-service from RED-6310 to master

* commit '45bd8e600328ce85c8457525b605da2c16dd70c8':
  RED-6310: Moved code to create user-preferences to a separate class so that the calling code can handle a persistence exception
  RED-6310: Corrected services so that they use the user id instead of wrongly using the entity id
  RED-6310: Moved code for multithreaded tests to a helper class
  RED-6310: Removed not needed code from test
  RED-6310: Added setup of tenant id to fix the service test
  RED-6310: Added tests to check if concurrent access to notification-preferences works
  RED-6310: Refomatted sql query for readability
2023-03-08 09:32:53 +01:00
deiflaender
ec7ad9a0e8 RED-6254: Store all connection information in master database 2023-03-07 16:51:00 +01:00
Viktor Seifert
40d6961742 RED-6310: Moved code for multithreaded tests to a helper class 2023-03-07 11:36:44 +01:00
Viktor Seifert
fd7f39bc7e RED-6310: Removed not needed code from test 2023-03-07 10:57:33 +01:00
Viktor Seifert
b1d79970c0 RED-6310: Added setup of tenant id to fix the service test 2023-03-07 10:53:47 +01:00
Viktor Seifert
ef36f5c10f RED-6310: Added tests to check if concurrent access to notification-preferences works 2023-03-06 18:58:07 +01:00
Viktor Seifert
63741b08d6 RED-5481: Split jdbc-url field into multiple fields
Replaced the single jdbc-url field with multiple fields for each url part.  This makes it possible to use just a part of the db-connection.  We need the schema for multitenancy.
2023-03-06 11:55:14 +01:00
devplant
c735a5d0ef RED-4988- Check jacoco version in poms and update to a current compatible version
- update junit test
2023-03-01 15:57:18 +02:00
devplant
9b5c6b876e RED-4988- Check jacoco version in poms and update to a current compatible version
- update junit failure
2023-03-01 14:59:51 +02:00
devplant
119c5aeb33 RED-4988- Check jacoco version in poms and update to a current compatible version
- update junit test failure
2023-03-01 14:51:41 +02:00
devplant
ec002c399b RED-4988- Check jacoco version in poms and update to a current compatible version
- update junit test
2023-03-01 14:47:18 +02:00
devplant
dc1ccebcbe RED-4988- Check jacoco version in poms and update to a current compatible version
- update junit tests from 4 to 5
2023-03-01 14:38:44 +02:00
Ali Oezyetimoglu
19c87fa6bc RED-5256: refactored checks and added findAllById for dossiers 2023-02-17 15:12:54 +01:00
Ali Oezyetimoglu
bd344d2c07 RED-5256: added consumes to getDossierInformation-endpoint and changed it from GET to POST && dossiers were not filtered before getting dossier information, if filteredDossierId was empty 2023-02-17 11:39:39 +01:00
deiflaender
7212012cd6 RED-5277: Fixed Message Deserialization in Ner/Image service resonse 2023-02-16 14:50:03 +01:00
deiflaender
723ddc7fa4 hotfix: Do not remove lastFileReview / lastApprover when deleting users 2023-02-10 14:11:27 +01:00
Timo Bejan
00a6b2f075 RED-4188 added timed dependencies and metric for calculateFlags since this method is calld several times per file each time something happens inside it 2023-02-09 12:54:36 +02:00
devplant
a45b841d5b RED-6105 - Cannot import exported specific Dossier Template
- correct mismatched typo for compression ratio threshold constant as an environment value
- upgrade platform-dependency
- correct junit reference
- add missing lombok annotations
2023-02-03 11:34:37 +02:00
devplant
c3477d78e1 RED-6105 - Cannot import exported specific Dossier Template
- add the compression ratio threshold constant as an environment value
- add a junit test with threshold ratio surpassed
2023-02-02 16:07:29 +02:00
Timo Bejan
bcb26a6063 Pull request #602: RED-5844 processed status for excluded files
Merge in RED/persistence-service from RED-5844 to master

* commit '3c4cb7a43e0746258f2b047b5b6d804010194f69':
  RED-5844 processed status for excluded files
2023-01-30 12:26:15 +01:00
Timo Bejan
3c4cb7a43e RED-5844 processed status for excluded files 2023-01-30 17:30:23 +07:00
Philipp Schramm
abea17381f RED-5248: Fix handling of temp files 2023-01-30 11:06:15 +01:00
Timo Bejan
1ba979a257 RED-5883 - duplicate dossier fix 2023-01-27 18:03:08 +07:00
Kresnadi Budisantoso
502d7a949d Pull request #599: RED-6075 Added schema parameter to jdbc URL config
Merge in RED/persistence-service from kbudisantoso/RED-6075-main-db-schema to master

* commit 'ce79cf89407c30e31c13f624fa277db5cfa7d57e':
  RED-6075 Added schema parameter to jdbc URL config
2023-01-26 09:28:07 +01:00
Kresnadi Budisantoso
ce79cf8940 RED-6075 Added schema parameter to jdbc URL config 2023-01-25 17:24:06 +01:00
devplant
b8653ce0ba RED-5784 - As the admin I want to configure the applied redaction color
- update junit tests
2023-01-25 15:07:31 +02:00
deiflaender
20b2e13abb RED-5785: Removed restriction for watermarks to contain only ASCII chars 2023-01-25 10:34:18 +01:00
Corina Olariu
8484434eca Pull request #594: Feature/RED-5784
Merge in RED/persistence-service from feature/RED-5784 to master

* commit '69d12e946e3104bc44701f8f87f21d326d86fa40':
  RED-5784 - As the admin I want to configure the applied redaction color
  RED-5784 - As the admin I want to configure the applied redaction color
2023-01-25 10:25:17 +01:00
deiflaender
e47269d53c RED-6063: Run create tenant async to fix migration timeout 2023-01-24 12:14:50 +01:00
deiflaender
82491e0f6f RED-6063: Added migration to add simplified text file if missing 2023-01-24 08:56:14 +01:00
devplant
69d12e946e RED-5784 - As the admin I want to configure the applied redaction color
- update initialization
2023-01-20 13:16:58 +02:00
devplant
51db508448 RED-5784 - As the admin I want to configure the applied redaction color
- add new color to the colors list (applied redaction color)
- send the color to the message queue for download package
2023-01-20 13:08:43 +02:00
deiflaender
9795cbf675 RED-6032: Fixed not setting processed date for manual resize redaction after analysis 2023-01-19 10:36:17 +01:00
Philipp Schramm
7f7556c36a RED-4904: Added method to remove not existing users 2023-01-19 08:15:26 +01:00
devplant
09fc65541f RED-5724 - Pressing Reanalyze-Button should reset processing_error_counter
- reset the counter in state of REPROCESS
2023-01-16 12:43:23 +02:00
Timo Bejan
7e8d05b512 RED-5981 remove from dictionary pending analhysis 2023-01-15 16:06:42 +08:00
Timo Bejan
2dda4da6a1 RED-5977 delete all asignees on user delete 2023-01-15 14:17:11 +08:00
Viktor Seifert
af9f68d498 RED-5892: Consolidated attribute changes and state changes.
Moved the change to the full-reprocess-status after a exclusion or auto-analysis flag toggle into the FileStatusService, so that the changes can be run in a transaction, which will prevent other threads from seeing incomplete changes.
2023-01-10 17:49:45 +01:00
Viktor Seifert
5e7bd282cf RED-5892: Removed unused method params 2023-01-10 14:03:48 +01:00
Viktor Seifert
2023ac13b9 RED-5892: Corrected next processing step calculation.
Changed the calculation to always re-produce NER-entities if they are missing, instead of only doing that for full re-processing.
2023-01-10 12:40:03 +01:00
Philipp Schramm
fb98380543 RED-5608: Ocr is only possible for processed files 2023-01-05 14:08:54 +01:00
Ali Oezyetimoglu
a074180241 RED-5809: removed unnecessary import 2022-12-21 10:23:42 +01:00
Ali Oezyetimoglu
bf5989e101 RED-5809: updated processedTime when declining a requested image recategoration redaction 2022-12-21 10:20:37 +01:00