Commit 55a1c28b authored by Enriko Käsper's avatar Enriko Käsper
Browse files

Merge branch 'develop' into 'master'

Enriko Käsper merge request for: develop to master

See merge request teis/officials-service!29
parents 4c77d20e 8fa1ff2f
theGroup=ee.sm.ti.teis theGroup=ee.sm.ti.teis
theVersion=0.2.0 theVersion=0.2.1
commonsVersion=0.23.1 commonsVersion=0.23.3
officeApiGatewayVersion=0.9.0 officeApiGatewayVersion=0.9.2
pluginVersion=0.0.18-SNAPSHOT pluginVersion=0.0.18-SNAPSHOT
mapstructVersion=1.3.0.Final mapstructVersion=1.3.0.Final
querydslVersion=4.1.3 querydslVersion=4.1.3
--liquibase formatted sql --liquibase formatted sql
--changeset raigo:integtest_setup --changeset raigo:integtest_setup
CREATE USER teis;
CREATE SCHEMA cache; CREATE SCHEMA cache;
CREATE SCHEMA camunda; CREATE SCHEMA camunda;
...@@ -49,6 +49,11 @@ public class DomainCacheConfig implements DomainCacheList { ...@@ -49,6 +49,11 @@ public class DomainCacheConfig implements DomainCacheList {
classifierItemCacheUpdateService.updated(updatedDTO.getPayload().getId(), updatedDTO.getPayload()); classifierItemCacheUpdateService.updated(updatedDTO.getPayload().getId(), updatedDTO.getPayload());
} }
@RabbitListener(queues = "#{@classifierItemCacheUpdateService.deletedEventsQueueName}")
public void classifierItemDeletedEvent(ClassifierItemCacheUpdateService.ClassifierItemDeletedDTO updatedDTO) {
classifierItemCacheUpdateService.updated(updatedDTO.getPayload().getId(), updatedDTO.getPayload());
}
@RabbitListener(queues = "#{@classifierItemCacheUpdateService.cacheReinitializeQueueName}") @RabbitListener(queues = "#{@classifierItemCacheUpdateService.cacheReinitializeQueueName}")
public void classifierItemReinitializeEvent(ClassifierItemReinitializeDTO reinitializeDTO) { public void classifierItemReinitializeEvent(ClassifierItemReinitializeDTO reinitializeDTO) {
classifierItemCacheUpdateService.reinitialize(); classifierItemCacheUpdateService.reinitialize();
......
...@@ -33,7 +33,7 @@ spring: ...@@ -33,7 +33,7 @@ spring:
password: ${DB_OWNER_PASSWORD} password: ${DB_OWNER_PASSWORD}
contexts: ${ENV_GLOBAL_PROFILES:local} contexts: ${ENV_GLOBAL_PROFILES:local}
parameters: parameters:
db_app_username: ${DB_APP_USERNAME:teisdb_user} db_app_username: ${DB_APP_USERNAME:teis}
jpa: jpa:
database-platform: org.hibernate.dialect.PostgreSQL82Dialect database-platform: org.hibernate.dialect.PostgreSQL82Dialect
properties: properties:
......
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" <databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.1.xsd"> xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.1.xsd">
<include file="classpath:common/db/changelog/common-master.xml"/>
<includeAll path="domain" relativeToChangelogFile="true" /> <includeAll path="domain" relativeToChangelogFile="true" />
<include file="classpath:db/changelog/cache-master.xml" /> <include file="classpath:db/changelog/cache-master.xml" />
<include file="classpath:common/db/changelog/camunda-7-10.xml" /> <include file="classpath:common/db/changelog/camunda-7-10.xml" />
......
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