Move to SNAPSHOTs

* Downgrade to Micrometer-1.10.0
* Updates according compatibility with the latest SF changes
This commit is contained in:
Artem Bilan
2022-04-14 12:27:46 -04:00
parent 4b57363a05
commit f54d4b3d75
4 changed files with 16 additions and 25 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2017-2021 the original author or authors.
* Copyright 2017-2022 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -27,7 +27,7 @@ import org.springframework.expression.Expression;
import org.springframework.expression.common.LiteralExpression;
import org.springframework.http.HttpEntity;
import org.springframework.http.HttpMethod;
import org.springframework.http.HttpStatus;
import org.springframework.http.HttpStatusCode;
import org.springframework.http.MediaType;
import org.springframework.http.ReactiveHttpInputMessage;
import org.springframework.http.ResponseEntity;
@@ -303,7 +303,7 @@ public class WebFluxRequestExecutingMessageHandler extends AbstractHttpRequestEx
Object expectedResponseType) {
return requestSpec.retrieve()
.onStatus(HttpStatus::isError, ClientResponse::createException)
.onStatus(HttpStatusCode::isError, ClientResponse::createException)
.toEntityFlux(createBodyExtractor(expectedResponseType));
}