Ignored hint color

This commit is contained in:
Timo Bejan 2022-01-10 15:45:46 +02:00
parent 8ac463856d
commit b3eb73f14e
5 changed files with 9 additions and 0 deletions

View File

@ -21,5 +21,6 @@ public class Colors {
private String dictionaryRequestColor;
private String manualRedactionColor;
private String previewColor;
private String ignoredHintColor;
}

View File

@ -49,4 +49,7 @@ public class ColorsEntity {
@Column
private String previewColor;
@Column
private String ignoredHintColor;
}

View File

@ -25,6 +25,7 @@ public class ColorsService {
entity.setDefaultColor("#aaaaaa");
entity.setDictionaryRequestColor("#aaaaaa");
entity.setPreviewColor("#aaaaaa");
entity.setIgnoredHintColor("#aaaaaa");
entity.setNotRedacted("#aaaaaa");
entity.setManualRedactionColor("#aaaaaa");
entity.setRequestAdd("#aaaaaa");

View File

@ -1798,6 +1798,9 @@ databaseChangeLog:
- column:
name: updated_color
type: VARCHAR(255)
- column:
name: ignored_hint_color
type: VARCHAR(255)
tableName: color_configuration
- changeSet:
id: 1637073006104-77

View File

@ -99,6 +99,7 @@ public class TypeTest extends AbstractPersistenceServerServiceTest {
colors.setNotRedacted("#dddddd");
colors.setRequestAdd("#dddddd");
colors.setRequestRemove("#dddddd");
colors.setIgnoredHintColor("#dddddd");
colors.setUpdatedColor("#dddddd");
colors.setDossierTemplateId(dossierTemplate.getId());