Skip to content

Commit

Permalink
Merge pull request #147 from xm-online/feature/update_commons_version…
Browse files Browse the repository at this point in the history
…_2_3_19

update commons to 2.3.19
  • Loading branch information
v-kyrychenko committed May 31, 2024
2 parents baad5d7 + f419de3 commit 75f1ee3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
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

0 comments on commit 75f1ee3

Please sign in to comment.