Skip to content
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
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ services:
source: gigwa_data
target: /usr/local/tomcat/config
mongo:
image: mongo:4.2.21
image: mongo:4.2.24
container_name: ${GIGWA_CONTAINER_NAME:-gigwa}_db
restart: always
command: --profile 0 --slowms 60000 --storageEngine wiredTiger --wiredTigerCollectionBlockCompressor=zstd --directoryperdb --quiet
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
@Slf4j
public class GigwaGenotypeServiceImpl implements GenotypeService {
private static final String AUTHORIZATION = "Authorization";
private static final String X_FORWARDED_SERVER = "X-Forwarded-Server";
private static final String X_FORWARDED_FOR = "X-Forwarded-For";
private static final String BEARER = "Bearer ";
private static final String GIGWA_REST_BASE_PATH = "gigwa/rest";
private static final String GIGWA_BRAPI_BASE_PATH = GIGWA_REST_BASE_PATH + BrapiVersion.BRAPI_V2;
Expand Down Expand Up @@ -613,7 +613,7 @@ private String submitRequestToGigwa(OkHttpClient client, Program program, UUID e

.build())
.header(AUTHORIZATION, BEARER + gigwaAuthToken)
.header(X_FORWARDED_SERVER, referenceSource)
.header(X_FORWARDED_FOR, referenceSource)
.post(RequestBody.create("", MediaType.parse("text/plain")))
.build();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ BrAPIEndpointProvider brAPIEndpointProvider() {

public GigwaGenotypeServiceImplIntegrationTest() {
super();
mongo = new GenericContainer<>("mongo:4.2.21")
mongo = new GenericContainer<>("mongo:4.2.24")
.withNetwork(super.getNetwork())
.withNetworkAliases("gigwa_db")
.withImagePullPolicy(PullPolicy.defaultPolicy())
Expand Down