diff options
author | Tomasz Wrobel <tomasz.wrobel@nokia.com> | 2022-08-25 13:48:45 +0200 |
---|---|---|
committer | Tomasz Wrobel <tomasz.wrobel@nokia.com> | 2022-08-29 18:41:45 +0200 |
commit | 5662ec25d8c24caa014d6988581dfca76c15fef0 (patch) | |
tree | 0033818469c12c642076e1ed46148c951564ba91 /datafile-app-server/src/test/java | |
parent | 8929c55ec055d25a8e10c9e06983f849e2f65f40 (diff) |
Fix DFC vulnerabilities1.9.0
- Update DCAE-SDK to version 1.8.10
- Update spring-boot to version 2.7.2
- Update spring to version 5.3.22
- Update tomcat-embed-core to version 9.0.65
- Update classgraph to version 4.8.149
- Update jackson-databind to version 2.13.3
- Update springdoc-openapi-ui to version 1.6.11
Issue-ID: DCAEGEN2-3211
Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com>
Change-Id: Iab97ade90792708742283cdeec732ca11351ec28
Diffstat (limited to 'datafile-app-server/src/test/java')
-rw-r--r-- | datafile-app-server/src/test/java/org/onap/dcaegen2/collectors/datafile/http/HttpClientResponseHelper.java | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/datafile-app-server/src/test/java/org/onap/dcaegen2/collectors/datafile/http/HttpClientResponseHelper.java b/datafile-app-server/src/test/java/org/onap/dcaegen2/collectors/datafile/http/HttpClientResponseHelper.java index 22067d0b..c04b1a75 100644 --- a/datafile-app-server/src/test/java/org/onap/dcaegen2/collectors/datafile/http/HttpClientResponseHelper.java +++ b/datafile-app-server/src/test/java/org/onap/dcaegen2/collectors/datafile/http/HttpClientResponseHelper.java @@ -1,6 +1,6 @@ /*- * ============LICENSE_START====================================================================== - * Copyright (C) 2020-2021 Nokia. All rights reserved. + * Copyright (C) 2020-2022 Nokia. All rights reserved. * =============================================================================================== * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at @@ -27,6 +27,7 @@ import org.apache.http.ProtocolVersion; import org.apache.http.StatusLine; import org.apache.http.client.methods.CloseableHttpResponse; import org.apache.http.params.HttpParams; +import reactor.core.publisher.Mono; import reactor.netty.http.client.HttpClientResponse; import reactor.util.context.Context; import reactor.util.context.ContextView; @@ -122,6 +123,11 @@ public class HttpClientResponseHelper { public HttpResponseStatus status() { return HttpResponseStatus.OK; } + + @Override + public Mono<HttpHeaders> trailerHeaders() { + return null; + } }; public static final HttpClientResponse RESPONSE_ANY_NO_OK = new HttpClientResponse() { @@ -193,6 +199,11 @@ public class HttpClientResponseHelper { @Override public HttpResponseStatus status() { return HttpResponseStatus.NOT_IMPLEMENTED; } + + @Override + public Mono<HttpHeaders> trailerHeaders() { + return null; + } }; public static final CloseableHttpResponse APACHE_RESPONSE_OK = new CloseableHttpResponse() { |