Commit Graph

12964 Commits

Author SHA1 Message Date
Andy Wilkinson
a3f5aaafef Update the documentation following changes to Jolokia's auto-config
See gh-9843
2017-08-11 13:12:31 +01:00
Stephane Nicoll
7e97495cdf Expose Jolokia directly rather than via an endpoint
Jolokia is a 100% web concern and does not fit in the Endpoint
infrastructure. This commit removes `JolokiaMvcEndpoint` and exposes
the servlet directly instead while still being part of the
management context. As such, the Jolokia servlet is exposed beneath
the management context path and will move to a separate port when
the management port is not the same as the main server port.

Closes gh-9843
2017-08-11 13:12:30 +01:00
Stephane Nicoll
2eb3da5b4d Merge branch '1.5.x' 2017-08-11 12:27:07 +02:00
Stephane Nicoll
c73fde31ec Merge pull request #9989 from blasd:1.5.x
* pr/9989:
  Polish "Add missing dependency management for Jetty"
  Add missing dependency management for Jetty
2017-08-11 12:26:48 +02:00
Stephane Nicoll
4956829ba9 Polish "Add missing dependency management for Jetty"
Closes gh-9989
2017-08-11 12:26:16 +02:00
Benoit Lacelle
8f943c5a20 Add missing dependency management for Jetty
See gh-9989
2017-08-11 12:24:45 +02:00
Andy Wilkinson
5351ceb673 Correct name of ManagementContextConfiguration in spring.factories
Closes gh-7545
2017-08-10 12:50:35 +01:00
Andy Wilkinson
0aa39d0279 Improve the package structure of spring-boot-actuator module
Closes gh-7545
2017-08-10 12:08:01 +01:00
Andy Wilkinson
0fd64db871 Merge branch '1.5.x' 2017-08-09 12:08:22 +01:00
Andy Wilkinson
9750d2e59d Fix OAuth2 sample integration test to expect corrected property names
See gh-9944
2017-08-09 12:07:57 +01:00
Andy Wilkinson
b817dc1e04 Merge branch '1.5.x' 2017-08-09 12:02:16 +01:00
Andy Wilkinson
5c8fc72b41 Merge pull request #9965 from Philippe Sam-Long
* gh-9965:
  Clarify docs on effect RANDOM_PORT or DEFINED_PORT has on transactions
2017-08-09 12:02:08 +01:00
pulsation
c9faefc562 Clarify docs on effect RANDOM_PORT or DEFINED_PORT has on transactions
Previously, when read too quickly, the current note may lead a user to
think that RANDOM_PORT or DEFINED_PORT directly affect transaction
management. This is not the case.

This commit attempts to clarify that the difference in transaction
behaviour is due to transactions being bound to a particular thread
and separate threads being used for the client and server when
tests are making HTTP requests.

Closes gh-9965
2017-08-09 11:57:34 +01:00
Andy Wilkinson
63cd0afadb Merge branch '1.5.x' 2017-08-09 11:53:47 +01:00
Andy Wilkinson
9f9cef1e6b Merge pull request #9940 from Johnny Lim
* gh-9940:
  Add more ConditionalOnClass checks in HealthIndicatorAutoConfiguration
2017-08-09 11:53:03 +01:00
Johnny Lim
ee3de15e37 Add more ConditionalOnClass checks in HealthIndicatorAutoConfiguration
Closes gh-9940
2017-08-09 11:52:18 +01:00
Andy Wilkinson
66f9696a44 Merge branch '1.5.x' 2017-08-09 11:46:53 +01:00
Andy Wilkinson
dc33ec1ad9 Merge pull request #9914 from Dennis Kieselhorst
* gh-9914:
  Avoid NPE in AnnotationsPropertySource if getAnnotations returns null
  Polish "Avoid NPE in PropertyMappingContextCustomizer"
  Avoid NPE in PropertyMappingContextCustomizer
2017-08-09 11:44:19 +01:00
Andy Wilkinson
7967c64d65 Avoid NPE in AnnotationsPropertySource if getAnnotations returns null
Closes gh-9914
2017-08-09 11:42:38 +01:00
Andy Wilkinson
25d0cc167e Polish "Avoid NPE in PropertyMappingContextCustomizer"
See gh-9914
2017-08-09 11:41:39 +01:00
Dennis Kieselhorst
e7a6b8c260 Avoid NPE in PropertyMappingContextCustomizer
See gh-9914
2017-08-09 11:40:41 +01:00
Andy Wilkinson
fcec8a9b0b Merge branch '1.5.x' 2017-08-09 11:28:35 +01:00
Andy Wilkinson
3cc22ecffb Merge pull request #9944 from Christian Bühler
* gh-9944:
  Polish "Fix logged property names when initializing OAuth2 client"
  Fix logged property names when initializing OAuth2 client
2017-08-09 11:27:44 +01:00
Andy Wilkinson
e08d09f5a3 Polish "Fix logged property names when initializing OAuth2 client"
See gh-9944
2017-08-09 11:26:56 +01:00
Christian Bühler
6babd41f19 Fix logged property names when initializing OAuth2 client
Closes gh-9944
2017-08-09 11:23:51 +01:00
Andy Wilkinson
7c52bb3a37 Improve the structure of the Liquibase endpoint's response
Closes gh-9974
2017-08-08 15:35:13 +01:00
Andy Wilkinson
f38cb7b5d8 Improve structure of Flyway endpoint response, add missing properties
Closes gh-9973
2017-08-08 10:35:26 +01:00
Andy Wilkinson
83c8c0b848 Fix layout of endpoint tables
See gh-9924
2017-08-04 13:15:18 +01:00
Andy Wilkinson
befe6e6d0b Merge branch '1.5.x' 2017-08-04 12:57:29 +01:00
Andy Wilkinson
b90803249e Start building against Spring Framework 4.3.11 snapshots
See gh-9956
2017-08-04 12:47:54 +01:00
Andy Wilkinson
abf39915e8 Polish 2017-08-04 11:12:33 +01:00
Andy Wilkinson
e9aeb9ad63 Polish 2017-08-04 11:00:36 +01:00
Andy Wilkinson
6090fd3eb0 Merge branch '1.5.x' 2017-08-03 21:38:10 +01:00
Andy Wilkinson
debf285772 Update the Maven Wrapper using Takari Maven Plugin 0.4.1
See gh-9928
2017-08-03 21:37:05 +01:00
Andy Wilkinson
5c06bd5ab9 Merge branch '1.5.x' 2017-08-03 21:23:28 +01:00
Andy Wilkinson
1f37da5b06 Merge pull request #9938 from Johnny Lim
* gh-9938:
  Polish
2017-08-03 21:17:42 +01:00
Johnny Lim
56f47e1a50 Polish
Closes gh-9938
2017-08-03 21:17:10 +01:00
Andy Wilkinson
09b41a33e8 Wait for process to exit when stopping DevTools integration test apps 2017-08-03 21:00:22 +01:00
Andy Wilkinson
4106615425 Merge branch '1.5.x' 2017-08-03 19:52:27 +01:00
Andy Wilkinson
7a87c69dd0 Normalize spec when creating jar URL by removing /../ and /./
Previously when Handler was creating a URL from a context URL and a
spec, any occurrances of /../ or /./ in the spec would be left as-is.
This differed from the JDK's Handler implementation which normalizes
the URL by modifying the path to remove any occurrences of /../ or
/./

This commit updates our Handler implementation to align it with the
JDK's. Tests have been added to assert that, given the same inputs,
the two Handler classes produce the same output.

Closes gh-9917
2017-08-03 19:48:58 +01:00
Andy Wilkinson
4f45b2bb52 Merge branch 'endpoint-infrastructure' 2017-08-03 18:44:19 +01:00
Andy Wilkinson
9687a5041e Add support for making endpoints accessible via HTTP
This commit adds support for exposing endpoint operations over HTTP.
Jersey, Spring MVC, and WebFlux are all supported but the programming
model remains web framework agnostic. When using WebFlux, blocking
operations are automatically performed on a separate thread using
Reactor's scheduler support. Support for web-specific extensions is
provided via a new `@WebEndpointExtension` annotation.

Closes gh-7970
Closes gh-9946
Closes gh-9947
2017-08-03 18:44:11 +01:00
Stephane Nicoll
4592e071db Add support for making endpoints accessible via JMX
This commit adds support to the new endpoint infrastructure for
exposing endpoint operations via JMX. It also introduces support for
JMX-specific extensions to a general-purpose endpoint. Such an
extension is identified by the `@JmxEndpointExtension` annotation.

See gh-9946
2017-08-03 18:33:59 +01:00
Andy Wilkinson
4f2e4ada45 Introduce the foundations of the new endpoint infrastructure
This commit introduces a new annotation-based programming model for
implementing endpoints. An endpoint is identified by a type-level
`@Endpoint` annotation. Method-level `@ReadOperation` and
`@WriteOperation` are used to identify methods on an endpoint class
that implement an operation and should be exposed (via JMX for
exmaple) to remote clients.

See gh-9946
2017-08-03 18:31:51 +01:00
Andy Wilkinson
7bd285dd93 Polish 2017-08-03 14:39:46 +01:00
Andy Wilkinson
53e8ade4d3 Improve diagnostics for delete failures in DevTools integration tests 2017-08-03 12:07:22 +01:00
Madhura Bhave
3d878e642a Remove unused properties from tests 2017-08-01 10:24:47 -07:00
Madhura Bhave
ea087b9bac Move liquibase config properties to spring.liquibase
Closes gh-9897
2017-08-01 10:24:47 -07:00
Madhura Bhave
f9e316306a Move Flyway config properties to spring.flyway
Closes gh-9896
2017-08-01 10:24:47 -07:00
Andy Wilkinson
7cc4410613 Merge branch '1.5.x' 2017-08-01 15:47:23 +01:00