Commit Graph

15214 Commits (9d6cc3be46ede8afee439cfab7dbfe8789b550b1)
 

Author SHA1 Message Date
Stephane Nicoll 9d6cc3be46 Polish 7 years ago
Andy Wilkinson 8f116f7e6f Align ordering of BootJar and BootWar archive entries
Previously, the ordering of the entries in an archive produced by
BootJar was different to the ordering of the entries in an archive
produced by BootWar. The latter placed application classes before
any nested jars, whereas the former was the other way around.

This commit updates BootJar to use the same ordering as BootWar and
adds tests to verify that the ordering is the following:

1. Loader classes
2. Application classes (BOOT-INF/classes or WEB-INF/classes)
3. Nested jars (BOOT-INF/lib or WEB-INF/lib)
4. Provided nested jars in a war (WEB-INF/lib-provided)

The tests also verify that the position of a library is not affected
by it requiring unpacking.

See gh-11695
See gh-11696
7 years ago
Phillip Webb 6328de9e20 Add Madhura as a document author 7 years ago
Phillip Webb 7c5042d079 Don't run `apply-plugin` tests
Stop running apply-plugin tests as part of the build since during a
release the version number will change and the jar will not be
available.

Fixes gh-11857
7 years ago
Jon Schneider 09181d6b16 Fix CompositeMeterRegistryPostProcessor autowire
Update `CompositeMeterRegistryPostProcessor` to use constructor
autowiring for `Clock` detection.

Fixes gh-11856
7 years ago
Phillip Webb 6dddceacad Always include plugin classpath in sample gradle
Update a couple of the `spring-boot-gradle-plugin` sample gradle flies
so that they include the running classpath. The additional lines are
contained within a tag which is ultimately filtered from the final
documentation.

Fixes gh-11857
7 years ago
Phillip Webb d478e9bf57 Merge branch '1.5.x' 7 years ago
Phillip Webb 09a64bc841 Fixup version numbers following release 7 years ago
Spring Buildmaster 6414b42335 Next Development Version 7 years ago
Madhura Bhave 013310738f Get CI image in RC and release jobs 7 years ago
Phillip Webb 2f834b377c Fix variable names used in concourse stage script 7 years ago
Phillip Webb faffea5dff Revert "Use Spring Session BOM in dependency management"
This reverts commit e5fb9c565c.
7 years ago
Phillip Webb 886b39293c Merge branch '1.5.x' 7 years ago
Phillip Webb 187c4d728c Merge branch '1.5.x' 7 years ago
Phillip Webb 9b8cb9a463 Protect against symlink attacks
Update embedded launch script to no longer change ownership of files
or folders that already exist.

Fixes gh-11397
7 years ago
Phillip Webb 604ec075eb Merge pull request #11848 from stadler
* pr/11848:
  All CLI support for Windows MINGW environments
7 years ago
Jacques Stadler 38a5466a19 All CLI support for Windows MINGW environments
Closes gh-11848
7 years ago
Andy Wilkinson ef49c029a1 Merge pull request #11852 from Jon Schneider
* gh-11852:
  Polish "Aggregate max statistics in metrics endpoint with Double#max"
  Aggregate max statistics in metrics endpoint with Double#max
7 years ago
Andy Wilkinson 42135cd5fc Polish "Aggregate max statistics in metrics endpoint with Double#max"
Closes gh-11852
7 years ago
Jon Schneider 92287f75f7 Aggregate max statistics in metrics endpoint with Double#max
See gh-11852
7 years ago
Phillip Webb 61f7bd8576 Polish 7 years ago
Andy Wilkinson ba54cbddf6 Merge pull request #11815 from Vedran Pavić
* gh-11815:
  Use Spring Session BOM in dependency management
7 years ago
Vedran Pavic e5fb9c565c Use Spring Session BOM in dependency management
Closes gh-11815
7 years ago
Andy Wilkinson 6c10ca02b8 Revert "Upgrade to Jackson 2.9.4"
This reverts commit d908d0e876.

See gh-11830
7 years ago
Stephane Nicoll f7bf79c9b3 Polish deprecated metadata 7 years ago
Stephane Nicoll 51c307f643 Merge branch '1.5.x' 7 years ago
Stephane Nicoll f86b44f2ec Reduce StringBuilder creation in TypeExtractor.visitDeclared()
Closes gh-11845
7 years ago
Stephane Nicoll 86c1fe529d Polish 7 years ago
Stephane Nicoll 1106c582a7 Remove error-level metadata for Spring Mobile
While Spring Mobile support has been removed from Spring Boot, the
auto-configuration has been relocated to a separate module that uses
the same keys.

Flagging those keys as deprecated means that the IDE will be confused
when the extra jar is present on the classpath as it advertizes, as
it should, support fo them.

Closes gh-11844
7 years ago
Stephane Nicoll 8b3c2b01e3 Fix broken replacement ids 7 years ago
Stephane Nicoll 2d814e5102 Restore "Reason: " prefix 7 years ago
Stephane Nicoll 3291a7a76d Polish 7 years ago
Stephane Nicoll 726a1d075e Polish metadata for spring.flyway.sql-migration-suffix 7 years ago
Andy Wilkinson 356efaa7c8 Rename trace to httptrace
Closes gh-11806
7 years ago
Stephane Nicoll 87c82310cf Merge branch '1.5.x' 7 years ago
Stephane Nicoll 11f700aa9d Fix handling of redis password containing a colon
Closes gh-11371
7 years ago
Stephane Nicoll 1bf5768b28 Revert "Use Spring Session BOM in dependency management"
This commit reverts df28ee7
7 years ago
Jon Schneider 2612b43179 Restrict maximum URI tags to prevent memory issues
Add MeterFilter to restrict the maximum number of web client URI tags
created. Prior to this commit, if a user was manually building URIs for
use with a RestTemplate (rather than using uriVariables) the JVM could
run out of memory.

Fixes gh-11338

Co-authored-by: Phillip Webb <pwebb@pivotal.io>
7 years ago
Phillip Webb 8f23ee4e58 Apply micrometer MeterFilter beans automatically
Update `MeterRegistryPostProcessor` and `MetricsAutoConfiguration` so
that micrometer `MeterFilter` beans are automatically applied.

Fixes gh-11843
7 years ago
Phillip Webb 3f5adfbccc Upgrade to micrometer 1.0.0-rc.8
Closes gh-11575
7 years ago
Phillip Webb 1a2186e6ef Attempt to fix lambda error detection on JDK 9
Update `LambdaSafe` to also detect `ClassCastException` messages that
start with "module/name".

See gh-11584
7 years ago
Phillip Webb c90a5a9e9e Polish 7 years ago
Phillip Webb 5632d043ff Fix enums following upstream micrometer change
See gh-11575
7 years ago
Madhura Bhave 134628a62d Add PathRequest to reactive security for parity 7 years ago
Madhura Bhave e80c22cbf8 Add RequestMatcher for H2 console
Fixes gh-11704
7 years ago
Phillip Webb db2580f8f8 Merge pull request #11839 from dreis2211
* pr/11839:
  Use interfaces for collection declarations
7 years ago
dreis2211 e7248ff273 Use interfaces for collection declarations
Closes gh-11839
7 years ago
Phillip Webb 9a8c182d19 Only use micrometer composites when necessary
Update micrometer auto-configuration so that a `CompositeMeterRegistry`
is only created when more than one `MeterRegistry` bean is declared.
When a composite is crated, it is marked as `@Primary` so that it
can be directly injected. Meter registries can now be defined directly
as beans, and auto-configuration can back off in the usual way.

The `MeterRegistryConfigurer` is now called `MeterRegistryCustomizer`
and is generically types so it's easy to apply customizations to a
particular `MeterRegistry` implementation.

Fixes gh-11799

Co-authored-by: Jon Schneider <jschneider@pivotal.io>
7 years ago
Phillip Webb 798882bd3f Merge branch 'gh-11584' 7 years ago
Phillip Webb 3a12f98bab Migrate callbacks to LambdaSafe util
Migrate existing code to the new `LambaSafe` callback handler.

Closes gh-11584
7 years ago