Commit Graph

13184 Commits (2e19f0b3e55c6b3fe53e27ab2423dd445a19df39)
 

Author SHA1 Message Date
Andy Wilkinson abf39915e8 Polish 7 years ago
Andy Wilkinson e9aeb9ad63 Polish 7 years ago
Andy Wilkinson 6090fd3eb0 Merge branch '1.5.x' 7 years ago
Andy Wilkinson debf285772 Update the Maven Wrapper using Takari Maven Plugin 0.4.1
See gh-9928
7 years ago
Andy Wilkinson 5c06bd5ab9 Merge branch '1.5.x' 7 years ago
Andy Wilkinson 1f37da5b06 Merge pull request #9938 from Johnny Lim
* gh-9938:
  Polish
7 years ago
Johnny Lim 56f47e1a50 Polish
Closes gh-9938
7 years ago
Andy Wilkinson 09b41a33e8 Wait for process to exit when stopping DevTools integration test apps 7 years ago
Andy Wilkinson 4106615425 Merge branch '1.5.x' 7 years ago
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
7 years ago
Andy Wilkinson 4f45b2bb52 Merge branch 'endpoint-infrastructure' 7 years ago
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
7 years ago
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
7 years ago
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
7 years ago
Andy Wilkinson 7bd285dd93 Polish 7 years ago
Andy Wilkinson 53e8ade4d3 Improve diagnostics for delete failures in DevTools integration tests 7 years ago
Madhura Bhave 3d878e642a Remove unused properties from tests 7 years ago
Madhura Bhave ea087b9bac Move liquibase config properties to spring.liquibase
Closes gh-9897
7 years ago
Madhura Bhave f9e316306a Move Flyway config properties to spring.flyway
Closes gh-9896
7 years ago
Andy Wilkinson 7cc4410613 Merge branch '1.5.x' 7 years ago
Andy Wilkinson 3b0cb1c4f2 Merge pull request #9641 from Gytis Trikleris
* gh-9641:
  Delay Narayana recovery manager until it's started explicitly
7 years ago
Gytis Trikleris f43ad00129 Delay Narayana recovery manager until it's started explicitly
Closes gh-9641
7 years ago
Andy Wilkinson 5aae23d8ea Update OAuth Actuator sample tests to adapt to sensitivity removal
See gh-9924
7 years ago
Andy Wilkinson 52536dc291 Update Actuator UI sample test to adapt to sensitivity removal
See gh-9924
7 years ago
Andy Wilkinson bb55f49396 Remove concept of sensitivity from Actuator's endpoints
Closes gh-9924
7 years ago
Andy Wilkinson 847f6d1b2c Update test in Actuator sample to adapt to changes in env response
See gh-9864
7 years ago
Andy Wilkinson 8f42007aa1 Improve the structure of the response from the env endpoint
Closes gh-9864
7 years ago
Phillip Webb 28b7ec3bed Check POSIX file permissions before writing PID
Update `ApplicationPid` to check POSIX file permissions in addition to
`File.canWrite()` before PID file. This helps to provided consistent
behavior, regardless of if the application is running as root or not.

Fixes gh-9922
7 years ago
Phillip Webb fd1dfbb247 Add missing TestPropertyValues 'apply' calls
Update a few usages of `TestPropertyValues` so that `apply` is called
consistently.
7 years ago
Phillip Webb e1602fe59a Polish 7 years ago
Andy Wilkinson 37bef961ea Merge branch '1.5.x' 7 years ago
Andy Wilkinson 5a8a86375d Sanitize individual env entry that is matched exactly
Closes gh-9918
See gh-8282
7 years ago
Stephane Nicoll 0ba63424a7 Enable "-parameters" compiler flag by default with Maven
This commit upgrades to the `maven-compiler-plugin` 3.6.2 that exposes
an additional property to enable the "-parameters" flag. This flag is
enabled for our own build and any project that uses
`spring-boot-starter-parent` as parent.

Closes gh-9323
7 years ago
Andy Wilkinson 4f76a560b8 Fix the Actuator sample 7 years ago
Stephane Nicoll f7c070938f Merge pull request #9912 from eddumelendez:jackson_2.9.0
* pr/9912:
  Upgrade to Jackson 2.9.0
7 years ago
Eddú Meléndez 87ba8d2e14 Upgrade to Jackson 2.9.0
Closes gh-9912
7 years ago
Andy Wilkinson 9f75da9a8f Simplify the Actuator's hypermedia support
This commit replaces the Acuator's support for hypermedia with a
single endpoint that returns HAL-formatted links to all of the
available endpoints. This is done without requiring Spring HATEOAS
to be on the classpath in a similar manner to the existing
CloudFoundry discovery endpoint.

Closes gh-9901
7 years ago
Andy Wilkinson 4a61e45644 Require separate management port to use management context path of /
Closes gh-9898
7 years ago
Andy Wilkinson fb3d79c750 Drop support for self-hosted Actuator docs
Closes gh-9899
7 years ago
Madhura Bhave e64090838c Revert "Nested Map should not bind to null"
This reverts commit 5406567783.
7 years ago
Madhura Bhave 5406567783 Nested Map should not bind to null
Fixes gh-9801
7 years ago
Phillip Webb c81106b5e4 Increase JVM memory for Maven 7 years ago
Phillip Webb 2b846ad7b4 Fix typo in Maven plugin integration test 7 years ago
Phillip Webb 30ff329e3d Polish 7 years ago
Andy Wilkinson 71ade559d5 Merge branch '1.5.x' 7 years ago
Andy Wilkinson 362a8ea9bc Merge pull request #9893 from Rostyslav Dudka
* gh-9893:
  Polish "Make JarURLConnection return entry's last modified time"
  Make JarURLConnection return entry's last modified time
7 years ago
Andy Wilkinson b7ac5f2eb2 Polish "Make JarURLConnection return entry's last modified time"
Closes gh-9893
7 years ago
rostislav.dudka 7c7259beec Make JarURLConnection return entry's last modified time
See gh-9893
7 years ago
Andy Wilkinson fb510043a2 Look in the right place for plugin's classes during integration tests
See gh-9516
7 years ago
Andy Wilkinson 36120d729a Ignore mainClassName property when its value is null
Closes gh-9892
7 years ago