Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update commons to 2.3.19 #147

Merged
merged 2 commits into from
May 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
rootProject.name=activation
profile=dev

version=2.0.58
version=2.0.59

# Build properties
node_version=12.13.0
Expand Down Expand Up @@ -34,7 +34,7 @@ spring_no_http_plugin_version=0.0.3.RELEASE
checkstyle_version=8.24
openapi_plugin_version=4.2.2

xm_commons_version=2.3.17
xm_commons_version=2.3.18.1
lombok_version=1.18.2
zalando_version=0.24.0-RC.0
database_rider_version=1.9.1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@

import javax.annotation.PostConstruct;

import com.icthh.xm.commons.config.client.repository.CommonConfigRepository;
import com.icthh.xm.commons.config.client.repository.TenantListRepository;
import com.icthh.xm.commons.config.client.service.TenantAliasService;
import com.icthh.xm.commons.lep.spring.LepUpdateMode;
import com.icthh.xm.commons.logging.config.LoggingConfigService;
import com.icthh.xm.commons.logging.config.LoggingConfigServiceStub;
Expand Down Expand Up @@ -48,6 +51,11 @@ public LepUpdateMode lepUpdateMode() {
return LepUpdateMode.SYNCHRONOUS;
}

@Bean
public TenantAliasService tenantAliasService() {
return new TenantAliasService(mock(CommonConfigRepository.class), mock(TenantListRepository.class));
}

@PostConstruct
public void postConstruct(){
// Need system error to see when contect is recreated during dunning test from gradle
Expand Down