The JpaInvokerConfiguration (nested in RefreshAutoConfiguration can be
removed when and if the issue is resolved in Boot.
Also splits the hibernate test dependencies out into a separate module
so the main context tests run quicker.
Fixes gh-355
An actuator endpoint is designed around a single class flagged with
`@Endpoint`. Such endpoint can have some of its operations refined with
a given tech (for instance via a `EndpointWebExtension` for web specific
concerns).
This design mandates that an endpoint (and its tech specific refinements
are managed centrally to form a unified contract).
As Spring Cloud is extending the standard Spring Boot's `env` endpoint,
this commit introduces a WritableEnvironmentEndpoint with a web
extension.
Closes gh-367
Closes gh-354
The test shows that this fixes a weird initialization ordering
problem that leads otherwise to Spring thinking there is a
dependency cycle (even though there is not). This problem only
surfaces when there is a schema.sql to apply.
Fixes gh-355
* Initial refactoring effort
* Remove bean that is not needed
* Using default methods in LoadBalancedRetryFactory
* Clarifying LoadBalancedRecveryCallback implementation
* Moved retry template creation to its own method.
There could be consequences for apps that have more complex context
hierarchies, but RestartEndpoint doesn't work well at all for those
apps anyway, so we are probably safe to just make changes in the
endpoint itself.
Fixes gh-333
Allows you to apply @RefreshScope to beans that you do not
control or define. The list is configurable as
spring.cloud.refresh.refreshable and by default has only
HikariDataSource.
Fixes gh-318
* Full editing pass
I edited for consistency and voice and grammar.
* Change to match a request from Spencer Gibb
As feedback to my first commit, Spencer told me that /env needs to be /actuator/env in one spot and that the same pattern applied to a few others. I have made the change.
* Further corrections based on Ryan Baxter's input
Ryan caught some things. I fixed them. Thanks, Ryan.