Commit Graph

1413 Commits

Author SHA1 Message Date
Andy Wilkinson e7176c63f5 Stop DataSource initialization from preventing Hikari instrumentation
Closes gh-12129
2018-02-21 10:32:41 +00:00
Madhura Bhave 33be78a91e Add additional profile negation tests
Closes gh-8011
2018-02-21 01:57:03 -08:00
Phillip Webb 4bde6b80ee Refactor YAML profile to deal with "!" profiles
Drop `SpringProfileDocumentMatcher` and replace it with two new
implementations that restrict when YAML documents are loaded. YAML
sections are now restricted both on the specific profile that is being
loaded, and the profiles that are currently accepted.

The `PropertySourceLoader` interface has been refined to include a
predicate that determines when a profile is accepted. The
`ConfigFileApplicationListener` simply delegates the predicate logic to
the `Environment`.

Fixes gh-8011
2018-02-21 01:57:03 -08:00
Stephane Nicoll b03fd99209 Polish 2018-02-21 10:20:32 +01:00
Stephane Nicoll d7e000da53 Add missing JMX section 2018-02-21 10:19:41 +01:00
Johnny Lim 1bd94b3499 Remove an obsolete warning in doc
Closes gh-12150
2018-02-21 09:27:14 +01:00
Stephane Nicoll e7db69be7a Polish
See gh-11869
2018-02-21 07:39:40 +01:00
Phillip Webb 3076a5523a Fix checkstyle violation 2018-02-20 22:37:37 -08:00
Phillip Webb 8c24988faa Fix checkstyle violation 2018-02-20 22:02:02 -08:00
Phillip Webb 349987d9be Switch show details default to ShowDetails.NEVER
Closes gh-11869
2018-02-20 16:43:11 -08:00
Phillip Webb 46021928ba Rework common server customization
Update the configurable embedded web server factory interfaces to
extend `ConfigurableWebServerFactory` so that the can be used in a
`WebServerFactoryCustomizer`.

Extract server specific customization to their own auto-configuration
and align reactive/servlet server auto-configuration.

Closes gh-8573
2018-02-20 16:27:15 -08:00
Phillip Webb aafa1e9615 Rename MetricsIntegrationAutoConfiguration
Rename `MetricsIntegrationAutoConfiguration` to
`IntegrationMetricsAutoConfiguration`.

Closes gh-12147
2018-02-20 16:25:51 -08:00
Phillip Webb 0925a0957e Polish 2018-02-20 16:24:35 -08:00
Phillip Webb 8f5f0bda50 Upgrade to Spring Session Apple-SR1
Closes gh-12092
2018-02-20 16:08:13 -08:00
Phillip Webb fe1f0cf90e Upgrade to Micrometer 1.0.0
Closes gh-11877
2018-02-20 16:02:46 -08:00
Phillip Webb 3ec5f70c52 Upgrade to Spring Integration 5.0.2.RELEASE
Closes gh-12130
2018-02-20 15:55:40 -08:00
Phillip Webb 05faac2b09 Polish 2018-02-20 15:53:25 -08:00
Phillip Webb cdb5677375 Polish Binder constructor
Reinstate constructor signature used by Spring Cloud and improve
javadoc.

Closes gh-12095
2018-02-20 15:36:43 -08:00
Andy Wilkinson b5e2c5ec1c Polish 2018-02-20 19:58:39 +00:00
Stephane Nicoll a7cccac0d0 Remove deprecation note for property that was renamed in 2.0 2018-02-20 18:57:25 +01:00
Stephane Nicoll ce01a9145b Polish 2018-02-20 18:45:36 +01:00
Andy Wilkinson 8f699cd6f6 Use RoleVoter for role checks in ReactiveSecurityContext
See gh-11869
2018-02-20 17:11:57 +00:00
Andy Wilkinson ae45b6730b Apply ROLE_ prefix when needed in ReactiveSecurityContext isUserInRole
See gh-11869
2018-02-20 16:38:16 +00:00
Stephane Nicoll 20f104766b Add missing default values for enums 2018-02-20 17:33:32 +01:00
Andy Wilkinson daa280faff Drop AuthorityReactiveAuthorizationManager and avoid need to block
See gh-11869
2018-02-20 16:29:28 +00:00
Stephane Nicoll 45476961c1 Polish
See gh-12129
2018-02-20 17:02:03 +01:00
Andy Wilkinson 5e61b646fa Upgrade to Neo4j Ogm 3.1.0
Closes gh-12145
2018-02-20 15:52:56 +00:00
Andy Wilkinson 024a42a830 Upgrade to Mariadb 2.2.2
Closes gh-12144
2018-02-20 15:52:56 +00:00
Andy Wilkinson feb82b49f2 Upgrade to Johnzon Jsonb 1.1.6
Closes gh-12143
2018-02-20 15:52:56 +00:00
Andy Wilkinson ac69ec1f1b Upgrade to Junit Jupiter 5.1.0
Closes gh-12142
2018-02-20 15:52:56 +00:00
Stephane Nicoll 0492d53117 Polish 2018-02-20 16:52:15 +01:00
Andy Wilkinson e2315658e6 Merge branch '1.5.x' 2018-02-20 15:47:43 +00:00
Stephane Nicoll 6f59dd6b17 Polish "Update documentation to reference webjars-locator-core"
Closes gh-12135
2018-02-20 16:37:34 +01:00
Nikola Kološnjaji 4da4a4d385 Update documentation to reference webjars-locator-core
See gh-12135
2018-02-20 16:33:19 +01:00
Stephane Nicoll 0f75a9a9fe Rework Hikari metrics registration
This commits move the Hikari metrics registration to a BeanPostProcessor
as the Hikari datasource cannot be modified once its configuration has
been sealed (usually happens when `getConnection` is invoked on the
pool).

Closes gh-12129
2018-02-20 16:25:51 +01:00
Stephane Nicoll 1b8f0d06a7 Test that custom `ProtocolResolver` is invoked
See gh-11659
2018-02-20 14:45:51 +01:00
Stephane Nicoll 7c365bb253 Polish 2018-02-20 13:42:28 +01:00
Andy Wilkinson 87ef9a1d97 Polish 2018-02-20 12:37:24 +00:00
Stephane Nicoll 0a795b005e Add missing documentation
See gh-12129
2018-02-20 13:29:28 +01:00
Stephane Nicoll 784372e6b3 Polish "Auto-configure metrics for Hikari"
Closes gh-12129
2018-02-20 13:24:45 +01:00
Tommy Ludwig 05e1f22824 Auto-configure metrics for Hikari
HikariCP has metrics integration with Micrometer. This configures all
`HikariDataSource` beans with the `MicrometerMetricsTrackerFactory` if a
`MeterRegistry` is available.

See gh-12129
2018-02-20 13:22:42 +01:00
Andy Wilkinson 3e4baf744e Use role-based security to show details in the health endpoint
Closes gh-11869
2018-02-20 12:12:05 +00:00
Stephane Nicoll a5960bc0c3 Polish 2018-02-20 11:47:20 +01:00
Stephane Nicoll 44b7673ee6 Polish 2018-02-20 11:04:52 +01:00
Stephane Nicoll f19b43bacc Polish "Consistent prefix for datasource pool metrics"
Closes gh-12127
2018-02-20 10:07:00 +01:00
Jon Schneider 16867f866c Consistent prefix for datasource pool metrics
See gh-12127
2018-02-20 09:35:43 +01:00
Andy Wilkinson 8ffa146660 Upgrade to Spring Security 5.0.2.RELEASE
Closes gh-11870
2018-02-20 07:34:26 +00:00
Phillip Webb 20109e27be Add ApplicationConversionService and fix binder
Create a new `ApplicationConversionService` similar in design to the
DefaultFormattingConversionService from Spring Framework. The new
conversion service provides a central place for custom conversion logic
supported by Spring Boot.

Also replace the `BindingConversionService` with an internal
`BindConverter` class that now invokes the `SimpleTypeConverter`
directly. Binding for `@ConfigurationProperties` has been updated so
that any custom property editors registered with the BeanFactory can
be used.

Fixes gh-12095
2018-02-19 20:25:47 -08:00
Phillip Webb 61f44179cb Relocate XA wrapper types
Move `XADataSourceWrapper` to `jdb` and `XAConnectionFactoryWrapper` to
`jms` so that they are packaged in a similar way to the underlying XA
types.

Fixes gh-12061
2018-02-19 20:22:03 -08:00
igor-suhorukov fe023817c7 Polish static finals
Closes gh-12083
2018-02-19 20:10:58 -08:00