FromVersion patch for master
This commit is contained in:
parent
ec00322167
commit
8441417952
@ -26,6 +26,6 @@ public interface FalseRecommendationEntryRepository extends JpaRepository<Dictio
|
||||
void updateTypeIdAndIncrementVersionByOne(String typeId, String newTypeId);
|
||||
|
||||
|
||||
List<DictionaryFalsePositiveEntryEntity> findByTypeIdAndVersionGreaterThan(String typeId, long version);
|
||||
List<DictionaryFalseRecommendationEntryEntity> findByTypeIdAndVersionGreaterThan(String typeId, long version);
|
||||
|
||||
}
|
||||
|
||||
@ -259,8 +259,8 @@ public class DictionaryController implements DictionaryResource {
|
||||
public List<DictionaryEntry> getEntriesForType(@PathVariable(TYPE_PARAMETER_NAME) String typeId,
|
||||
@RequestParam(value = FROM_VERSION_PARAM, required = false) Long fromVersion,
|
||||
@RequestParam(value = "dictionaryEntryType", required = false, defaultValue = "ENTRY") DictionaryEntryType dictionaryEntryType) {
|
||||
|
||||
return convert(entryPersistenceService.getEntries(typeId, dictionaryEntryType, fromVersion), DictionaryEntry.class);
|
||||
var entries = entryPersistenceService.getEntries(typeId, dictionaryEntryType, fromVersion);
|
||||
return convert(entries, DictionaryEntry.class);
|
||||
}
|
||||
|
||||
private Set<String> getInvalidEntries(Set<String> entries) {
|
||||
|
||||
@ -29,7 +29,7 @@ databaseChangeLog:
|
||||
file: db/changelog/12-dossier-visibility.changelog.yaml
|
||||
- include:
|
||||
file: db/changelog/13-file-manual-change-date.changelog.yaml
|
||||
- include:
|
||||
- include:
|
||||
file: db/changelog/release-3.2.0/1-add-index-on-dictionary-entry.changelog.yaml
|
||||
- include:
|
||||
file: db/changelog/14-add-redaction-source-id.changelog.yaml
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user