Commit bcb58663 authored by Hando Lukats's avatar Hando Lukats
Browse files

Merge branch 'develop' into 'master'

Release: merge 'develop' into 'master' created by Hando Lukats

See merge request teis/payments-service!59
parents e9f53fb5 8939cd09
# Changelog
## [2.1.0]
* TEIS-3411: fixed cache reinitialize bug
## [2.0.0] - 2022-08-12
* Upgraded to java 17, gradle 7.4.2, spring boot 2.6.8 and others; uses TEIS Gradle plugin 2.3.0
......
theGroup=ee.sm.ti.teis
theVersion=2.0.0
theVersion=2.1.0
pluginVersion=2.3.0
commonsVersion=2.6.0
officeApiGatewayVersion=2.5.0
......@@ -23,7 +23,7 @@ public class ClassifierItemBatchListener extends SnapshotBatchListener<Classifie
}
@RabbitListener(queues = "#{@classifierItemCacheUpdateService.cacheReinitializeQueueName}")
public void classifierItemReinitializeEvent() {
public void classifierItemReinitializeEvent(ClassifierItemReinitializeDTO reinitializeDTO) {
classifierItemCacheUpdateService.reinitialize();
}
......
......@@ -45,7 +45,7 @@ public class IndividualPersonBatchListener extends SnapshotBatchListener<Individ
}
@RabbitListener(queues = "#{@individualPersonCacheUpdateService.cacheReinitializeQueueName}")
public void individualPersonReinitializeEvent() {
public void individualPersonReinitializeEvent(IndividualPersonReinitializeDTO reinitializeDTO) {
individualPersonCacheUpdateService.reinitialize();
}
......
......@@ -45,7 +45,7 @@ public class LegalPersonBatchListener extends SnapshotBatchListener<LegalPersonC
}
@RabbitListener(queues = "#{@legalPersonCacheUpdateService.cacheReinitializeQueueName}")
public void legalPersonReinitializeEvent() {
public void legalPersonReinitializeEvent(LegalPersonReinitializeDTO reinitializeDTO) {
legalPersonCacheUpdateService.reinitialize();
}
......
......@@ -49,9 +49,6 @@ teis:
packages-to-scan: ee.sm.ti.teis
system:
name: payments-service
test:
data:
resetmagic: ${TEST_DATA_RESET_MAGIC:}
cache:
queues: legalPersons, individualPersons, classifierItems, classifierDefinitions
batch-caching-services: legalPersons, individualPersons, classifierItems
......@@ -62,8 +59,11 @@ teis:
ms-exchange-reply-timeout: ${RABBIT_TEMPLATE_MS_EXCHANGE_REPLY_TIMEOUT:5000}
cs-exchange-name: cache_exchange
od-exchange-name: od-disabled
reset-test-data:
enabled: true
test:
data:
resetmagic: ${TEST_DATA_RESET_MAGIC:}
payment:
task-definition:
claim-payment: CLAIM_PAYMENT
reset-test-data:
enabled: true
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment