Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
bbbf8c52
Commit
bbbf8c52
authored
Apr 02, 2020
by
Brian Clozel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Polish
See gh-20205
parent
a7e57e09
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
6 deletions
+6
-6
CodecProperties.java
...ngframework/boot/autoconfigure/codec/CodecProperties.java
+2
-1
ReactiveRestClientAutoConfiguration.java
...ta/elasticsearch/ReactiveRestClientAutoConfiguration.java
+3
-3
ReactiveRestClientProperties.java
...gure/data/elasticsearch/ReactiveRestClientProperties.java
+1
-1
ReactiveRestClientAutoConfigurationTests.java
...asticsearch/ReactiveRestClientAutoConfigurationTests.java
+0
-1
No files found.
spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/codec/CodecProperties.java
View file @
bbbf8c52
...
...
@@ -35,7 +35,8 @@ public class CodecProperties {
/**
* Limit on the number of bytes that can be buffered whenever the input stream needs
* to be aggregated. By default this is not set, in which case individual codec
* to be aggregated. This applies only to the auto-configured WebFlux server and
* WebClient instances. By default this is not set, in which case individual codec
* defaults apply. Most codecs are limited to 256K by default.
*/
private
DataSize
maxInMemorySize
;
...
...
spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/data/elasticsearch/ReactiveRestClientAutoConfiguration.java
View file @
bbbf8c52
/*
* Copyright 2012-20
19
the original author or authors.
* Copyright 2012-20
20
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.
...
...
@@ -54,7 +54,7 @@ public class ReactiveRestClientAutoConfiguration {
builder
.
usingSsl
();
}
configureTimeouts
(
builder
,
properties
);
configure
WebClient
(
builder
,
properties
);
configure
ExchangeStrategies
(
builder
,
properties
);
return
builder
.
build
();
}
...
...
@@ -70,7 +70,7 @@ public class ReactiveRestClientAutoConfiguration {
});
}
private
void
configure
WebClient
(
ClientConfiguration
.
TerminalClientConfigurationBuilder
builder
,
private
void
configure
ExchangeStrategies
(
ClientConfiguration
.
TerminalClientConfigurationBuilder
builder
,
ReactiveRestClientProperties
properties
)
{
PropertyMapper
map
=
PropertyMapper
.
get
();
builder
.
withWebClientConfigurer
((
webClient
)
->
{
...
...
spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/data/elasticsearch/ReactiveRestClientProperties.java
View file @
bbbf8c52
/*
* Copyright 2012-20
19
the original author or authors.
* Copyright 2012-20
20
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.
...
...
spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/data/elasticsearch/ReactiveRestClientAutoConfigurationTests.java
View file @
bbbf8c52
...
...
@@ -77,7 +77,6 @@ public class ReactiveRestClientAutoConfigurationTests {
this
.
contextRunner
.
withPropertyValues
(
"spring.data.elasticsearch.client.reactive.endpoints="
+
elasticsearch
.
getContainerIpAddress
()
+
":"
+
elasticsearch
.
getFirstMappedPort
(),
"spring.data.elasticsearch.client.reactive.max-in-memory-size=-1"
,
"spring.data.elasticsearch.client.reactive.connection-timeout=120s"
,
"spring.data.elasticsearch.client.reactive.socket-timeout=120s"
).
run
((
context
)
->
{
ReactiveElasticsearchClient
client
=
context
.
getBean
(
ReactiveElasticsearchClient
.
class
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment