Skip to content

Commit

Permalink
test: define a InMemoryConfiguration that can be shared
Browse files Browse the repository at this point in the history
Each rest module was defining its own InMemoryConfiguration. It was a
pain when we introduce new InMemory implementation because we had to
add the declaration in 3 files.
Now there is only one InMemoryConfiguration located next to in memory
alternatives. This configuration is packaged in test artifact and can be
referenced in Spring configuration in each rest module.
  • Loading branch information
jgiovaresco committed Mar 8, 2024
1 parent ef3a625 commit e8df8f0
Show file tree
Hide file tree
Showing 6 changed files with 85 additions and 481 deletions.

This file was deleted.

Expand Up @@ -17,6 +17,7 @@

import static org.mockito.Mockito.mock;

import inmemory.spring.InMemoryConfiguration;
import io.gravitee.apim.core.api.domain_service.ApiMetadataDecoderDomainService;
import io.gravitee.apim.core.api.domain_service.ApiMetadataDomainService;
import io.gravitee.apim.core.api.domain_service.ApiStateDomainService;
Expand Down

0 comments on commit e8df8f0

Please sign in to comment.