Commit Graph

15043 Commits

Author SHA1 Message Date
Phillip Webb
d61ba241b5 Move "testdb" naming to DataSourceProperties
Move the "testdb" naming logic to `DataSourceProperties` and expose
the `deduceDatabaseName` method so they can be used in
auto-configuration.

See gh-11719
2018-01-24 20:43:00 -08:00
Stephane Nicoll
b67903a04a Keep "testdb" default datasource name internal
Previously, Hikari's pool name was auto-configured with the value of
`spring.datasource.name` that defaults  to `testdb`, which brings some
confusion.

This commit removes the default `testdb` value on
`spring.datasource.name` as it is a sane default only for an embedded
datasource. It is applied whenever applicable instead.

Closes gh-11719
2018-01-24 17:41:32 -08:00
Phillip Webb
017efda6ec Add @EndpointServlet and migrate Jolokia
Add first class support for Servlet based endpoints and rework the
Jolokia endpoint to use it.

Fixes gh-10264
2018-01-24 17:06:13 -08:00
Phillip Webb
f8cdc01474 Merge pull request #11759 from dreis2211
* pr/11759:
  Remove usage of Vector collection
2018-01-24 16:37:09 -08:00
dreis2211
542c3b7c1e Remove usage of Vector collection
Closes gh-11759
2018-01-24 16:36:45 -08:00
Phillip Webb
3bd940baaa Polish "Add more WebEndpointAutoConfiguration tests"
Closes gh-11754
2018-01-24 16:24:50 -08:00
Yunkun Huang
d8527a9708 Add tests for WebEndpointAutoConfiguration
Closes gh-11754
See gh-11684
2018-01-24 16:24:50 -08:00
igor-suhorukov
093ca0a687 Use EnumMap whenever possible
Replace regular Map instances with EnumMap to reduce memory consumption.

Closes gh-11760
2018-01-24 16:24:47 -08:00
Phillip Webb
ab6ad6aa4b Polish 2018-01-24 16:09:14 -08:00
Phillip Webb
e53bef737f Rename property migrator classes
Rename packages and classes to match the new module name.

See gh-11301
2018-01-24 15:54:24 -08:00
Andy Wilkinson
1a1a62b744 Protect tests against Cassandra startup failures
On CI, Cassandra running inside the Docker container sometimes fails
to start or the start times out. This has nothing to do with Boot so
we  attempt to protect our tests from the flakiness of the container
by allowing 3 startup attempts.
2018-01-24 21:34:11 +00:00
Andy Wilkinson
292025936e Omit null properties from actuator endpoint API response examples
Closes gh-11757
2018-01-24 16:40:10 +00:00
Stephane Nicoll
41bfe07964 Upgrade to Spring Data Kay SR3
Closes gh-11666
2018-01-24 15:30:34 +01:00
Stephane Nicoll
de193826ec Merge branch '1.5.x' 2018-01-24 15:30:01 +01:00
Stephane Nicoll
474a391763 Upgrade to Spring Data Ingalls SR10
Closes gh-11673
2018-01-24 15:29:10 +01:00
Stephane Nicoll
b1525f4f2e Rename spring-boot-deprecated-properties-support
Rename `spring-boot-deprecated-properties-support` to
`spring-boot-properties-migrator`.

See gh-11301
2018-01-24 11:15:17 +01:00
Stephane Nicoll
952e766e51 Merge pull request #11744 from eddumelendez:gh-11722
* pr/11744:
  Polish "Add support for anonymousReadOnly in LdapProperties"
  Add support for anonymousReadOnly in LdapProperties
  Move tests to use ApplicationContextRunner
2018-01-24 10:29:27 +01:00
Stephane Nicoll
960989cfe6 Polish "Add support for anonymousReadOnly in LdapProperties"
Closes gh-11744
2018-01-24 10:21:33 +01:00
Stephane Nicoll
af0bdc893b Add support for anonymousReadOnly in LdapProperties
See gh-11744
2018-01-24 09:59:03 +01:00
Eddú Meléndez
633aefa844 Move tests to use ApplicationContextRunner 2018-01-24 09:58:35 +01:00
Brian Clozel
145d46e093 Polish 2018-01-23 15:52:44 +01:00
Stephane Nicoll
1f4a32f0ad Add a way to signal that an endpoint request is invalid
This commit adds InvalidEndpointRequestException as a technology
agnostic way to signal that an endpoint request is invalid. When such
exception is thrown, the web layer translates that to a 400.

Rather than overriding the reason, this commit makes sure to reuse the
error infrastructure.

Closes gh-10618
2018-01-23 14:57:13 +01:00
Madhura Bhave
55c8ceb440 Polish 2018-01-23 17:01:46 +05:30
Brian Clozel
be7c0a15f7 Move reactive ErrorAttributes into spring-boot
Closes gh-11714
2018-01-23 11:55:34 +01:00
Stephane Nicoll
674be06874 Upgrade to Spring Framework 5.0.3.RELEASE
Closes gh-11503
2018-01-23 11:35:55 +01:00
Andy Wilkinson
e928a4a19d Merge branch '1.5.x' 2018-01-23 10:09:41 +00:00
Andy Wilkinson
1d58e7a7c2 Upgrade to GemFire 8.2.8
Closes gh-11746
2018-01-23 10:09:00 +00:00
Stephane Nicoll
29cfa4878d Merge branch '1.5.x' 2018-01-23 10:54:36 +01:00
Stephane Nicoll
64b0633a41 Upgrade to Spring Framework 4.3.14.RELEASE
Closes gh-11520
2018-01-23 10:53:33 +01:00
Stephane Nicoll
81b275fa2a Upgrade to Reactor Bismuth-SR5
Closes gh-11572
2018-01-23 09:29:33 +01:00
Phillip Webb
96f1fa296b Merge pull request #11680 from andrey916
* pr/11680:
  Replace string arguments with char
2018-01-22 16:38:08 -08:00
andrey.onufreyko
b19dcb13e2 Replace string arguments with char
Optimize method calls by replacing single character String arguments
with char.

Closes gh-11680
2018-01-22 16:35:06 -08:00
Phillip Webb
2735f57b0d Merge pull request #11720 from izeye
* pr/11720:
  Polish
2018-01-22 16:07:04 -08:00
Johnny Lim
768e7c07e6 Polish
Closes gh-11720
2018-01-22 16:06:45 -08:00
Phillip Webb
55f44dc510 Merge pull request #11743 from dreis2211
* pr/11743:
  Narrow scope of some variables
2018-01-22 16:03:27 -08:00
dreis2211
5f66c09844 Narrow scope of some variables
Closes gh-11743
2018-01-22 16:01:02 -08:00
Phillip Webb
8903f04990 Merge pull request #11724 from dreis2211
* pr/11724:
  Polish
2018-01-22 16:00:40 -08:00
dreis2211
b7e663e820 Polish
Closes gh-11724
2018-01-22 15:59:20 -08:00
Phillip Webb
66d5c03c39 Add checkstyle to prevent reactor Assert import 2018-01-22 15:57:02 -08:00
Phillip Webb
d0ca1a3eea Rename configuration-analyzer
Rename `spring-boot-configuration-analyzer` to
`spring-boot-deprecated-properties-support`.

Also renamed classes to match and polished some of the code.

See gh-11301
2018-01-22 15:57:01 -08:00
Phillip Webb
66f8279f65 Polish 2018-01-22 14:06:18 -08:00
Andy Wilkinson
77596fa8e6 Polish 2018-01-22 21:15:48 +00:00
Andy Wilkinson
a41e28eea2 Merge branch '1.5.x' 2018-01-22 21:00:26 +00:00
Andy Wilkinson
b6576fbe9c Test compression defaults against 8.5.24 as they changed in 8.5.27
See gh-11727
2018-01-22 21:00:13 +00:00
Andy Wilkinson
f5a8c2a705 Upgrade to Postgresql 42.2.0
Closes gh-11741
2018-01-22 20:35:37 +00:00
Andy Wilkinson
26ea4037a3 Upgrade to Neo4j Ogm 3.0.3
Closes gh-11740
2018-01-22 20:35:36 +00:00
Andy Wilkinson
d5b58a60e0 Upgrade to Jetty El 8.5.24.1
Closes gh-11739
2018-01-22 20:35:36 +00:00
Andy Wilkinson
89953f0d46 Upgrade to Jooq 3.10.4
Closes gh-11738
2018-01-22 20:35:35 +00:00
Andy Wilkinson
3b760d3620 Upgrade to Kotlin 1.2.20
Closes gh-11737
2018-01-22 20:35:34 +00:00
Andy Wilkinson
0ebff9aa80 Upgrade to Flyway 5.0.6
Closes gh-11736
2018-01-22 20:35:34 +00:00