Commit Graph

6901 Commits (a27176807f4b45bc768e019d9a0dab1ac8ec3dec)
 

Author SHA1 Message Date
Andy Wilkinson 03de4704af Upgrade to HikariCP 2.4.3
Closes gh-4724
9 years ago
Andy Wilkinson 47c0bf90f1 Upgrade to Hazelcast 3.5.4
Closes gh-4723
9 years ago
Andy Wilkinson 6bd0558ee2 Upgrade to Jackson 2.6.4
Closes gh-4722
9 years ago
Dave Syer e8632d9feb Null out validator in ContextRefreshedEvent
This is an optimization that recognizes the need for Hibernate
validator to cache reflection data, but also that we don't need it
after the bulk of the work has been done on context refresh.

Fixes gh-4734
9 years ago
Andy Wilkinson bdc395f16e Merge branch '1.2.x' 9 years ago
Andy Wilkinson ae6971a61a Upgrade to Tomcat 8.0.30 and continue to use absolute redirects
Tomcat 8.0.30 has changed to using relative URIs in its redirects
by default. To avoid any problems that this behaviour change may
causes we override the default and configure Tomcat to continue to
use absolute URIs.

Closes gh-4715
9 years ago
Andy Wilkinson b10b7a883d Upgrade to Spring Security 3.2.9.RELEASE
Closes gh-4721
9 years ago
Andy Wilkinson 85bb1780d8 Upgrade to Spring Web Services 2.2.3.RELEASE
Closes gh-4720
9 years ago
Andy Wilkinson bb9e1be72c Upgrade to Spring Integration 4.1.7.RELEASE
Closes gh-4719
9 years ago
Andy Wilkinson e50357d907 Upgrade to Spring Loaded 1.2.5.RELEASE
Closes gh-4718
9 years ago
Andy Wilkinson e54f9063a8 Upgrade to SLF4J 1.7.13
Closes gh-4717
9 years ago
Andy Wilkinson 70ead7113d Upgrade to Jetty 9.2.14.v20151106
Closes gh-4716
9 years ago
Stephane Nicoll cbfdfb463e Fix indent
See gh-4712
9 years ago
Andy Wilkinson 349794f9cf Upgrade to mysql-connector-java 5.1.38
Closes gh-4714
9 years ago
Andy Wilkinson 8feaf1e92c Upgrade to Undertow 1.1.9.Final
Closes gh-4713
9 years ago
Stephane Nicoll d4545b4d7f Add reference to nonheap metrics
See gh-4712
9 years ago
Dave Syer 21d6c73539 Fix checkstyle 9 years ago
Dave Syer 8b97c3b342 Add nonheap metrics to /metrics endpoint
Fixes gh-4712
9 years ago
Stephane Nicoll 2d003a698f Revert 5464c65
See gh-4709
9 years ago
Stephane Nicoll a6409edab0 Merge pull request #4709 from izeye/polish-20151209
* pr/4709:
  Polish contribution
  Polish docs
9 years ago
Stephane Nicoll 5464c65ca8 Polish contribution
Use the same value as we do.
9 years ago
Johnny Lim 12a921c200 Polish docs
Closes gh-4709
9 years ago
Stephane Nicoll 578eaa26e7 Add reference to Apache Wicket starter 9 years ago
Stephane Nicoll 3ff194866f Merge pull request #4701 from mnhock/Remove_double_instantiation
* pr/4701:
  Remove double instantiation of Manifest
9 years ago
mnhock 7348ef5ef1 Remove double instantiation of Manifest
Closes gh-4701
9 years ago
Stephane Nicoll 203ceffe94 Merge pull request #4685 from mnhock/master
* pr/4685:
  Fix possible null pointer dereference
9 years ago
mnhock 9775d40822 Fix possible null pointer dereference
Closes gh-4685
9 years ago
Stephane Nicoll 7b2afbdf13 Polish 9 years ago
Stephane Nicoll 79a97d9bba Merge pull request #4677 from izeye/polish-20151204
* pr/4677:
  Polish
9 years ago
Johnny Lim ec7fed1ecc Polish
Closes gh-4677
9 years ago
Andy Wilkinson f7d3165ebb Merge branch 'gh-4687' 9 years ago
Andy Wilkinson 2efc4b8332 Add tests to verify improved exception message formatting 9 years ago
mnhock bb35d18080 Improve exception messages to properly include specified sources
Closes gh-4687
9 years ago
Andy Wilkinson ee47ae4d20 Ensure that 5xx responses to unmapped requests produce a single metric
Previously, each 5xx response to a request that used a path variable
would result in a metric being recorded that contained the path
variable. Therefore, if a different path variable was included in each
request, a new metric would be recorded for each request. This is
problematic as it can lead to the metrics being flooded with unwanted
entries.

This commit updates MetricsFilter to treat 5xx responses sent before
mapping has occurred in the same way as 4xx and redirect responses.
A single metric, counter.status.500.unmapped, is now used.

Closes gh-4377
9 years ago
Andy Wilkinson dc9405676a Reword the description of how to trigger a restart
See gh-4679
9 years ago
Andy Wilkinson df9308c645 HttpTunnelServer should only check for disconnect after first connection
Previously, ServerThread would check for a disconnect as soon as it
had been started. This raced with it handling its first connection. If
the check for disconnect won the race it would incorrectly determine
that the disconnect timeout had been reached and wouldn’t respond to
the connection.

This commit updates ServerThread so that it only checks the disconnect
timeout once it’s handled at least one connection.

Closes gh-4668
9 years ago
Andy Wilkinson 91674b2c94 Don’t use Java 7 API in EmbeddedMongoAutoConfiguration
Closes gh-4630
9 years ago
Andy Wilkinson c58ebae419 Bind embedded Mongo to configured host or loopback address
Previously, the auto-configuration for embedded Mongo did not specify
a bind IP so Mongo was started without one. This would lead to Mongo
binding to all available network interfaces. This caused some friction
with the Windows firewall as it would ask for permission every time
embedded Mongo was launched.

This commit updates the auto-configuration to use
spring.data.mongodb.host to configure the bind IP for embedded Mongo.
If spring.data.mongodb.host is null, the auto-configuration will use
the loopback address instead.

Closes gh-4630
9 years ago
Vedran Pavic d9f15636d0 Fix use of == in EndpointWebMvcHypermediaManagementContextConfiguration
Closes gh-4502
Closes gh-4536
9 years ago
Andy Wilkinson 46edee2e45 Only make bootRun depend on findMainClass and not all java exec tasks
Closes gh-4639
9 years ago
Andy Wilkinson 7d2ea8fb75 Document project names that are excluded from triggering a restart
Closes gh-4673
9 years ago
Andy Wilkinson 4581853bcc Clarify documentation on how to trigger a restart with Dev Tools
Closes gh-4679
9 years ago
Andy Wilkinson 007ec9e46b Make SecurityFilterAutoConfig work when SecurityAutoConfig is disabled
Previously, disabling SecurityAutoConfiguration could cause
SecurityFilterAutoConfiguration to fail if Spring Security’s filter
chain bean existing in the context. SecurityFilterAutoConfiguration
relies on SecurityProperties which is created by
SecurityAutoConfiguration. When SecurityAutoConfiguration is disabled,
there’s no SecurityProperties bean so SecurityFilterAutoConfiguration
would fail due to the missing dependency.

This commit updates SecurityFilterAutoConfiguration to create a
SecurityProperties bean if one does not already exist.

Closes gh-4525
9 years ago
Huang YunKun 75f55ea004 Update Travis configuration to use Maven wrapper
Closes gh-4327
9 years ago
Andy Wilkinson e4342075ab Fix class loading problem with DevTools and Spring Session with Redis
Previously, when a session attribute that had been stored in Redis was
being deserialized, the app class loader would be used. This would
result in a ClassCastException if the attribute was an instance of a
class visible to the restart class loader.

This commit auto-configures Spring Session’s RedisTemplate to use a
custom deserializer that uses the restart class loader when
deserializing session attributes.

Closes gh-3805
9 years ago
Andy Wilkinson 17c4fa9d81 Upgrade to Gradle Dependency Management Plugin 0.5.4.RELEASE
Closes gh-4538
9 years ago
Andy Wilkinson e9aa7ca9a2 Merge branch '1.2.x' 9 years ago
Andy Wilkinson 00b668b2c5 Only clean up logging system when root application context is closed
Previously, LoggingApplicationListener would clean up the logging
system in response to any application context with which it was
registered being closed. This caused problems when a child context was
closed. Specifically, closing the child context would cause any
SLF4J-based logging systems to unregister the JUL bridge handler
preventing an JUL logging being bridged into Logback or Log4J2.

This commit updates LoggingApplicationListener so that the logging
system is only cleaned up when a root application context is
closed.

Closes gh-4651
9 years ago
Andy Wilkinson 03d29fd68d Update test to cope with asynchronous writing of the access log
Previously, the test that verified that Undertow's access log could be
enabled and was written to the correct file expected the log to be
available as soon as the request to the server had completed. Undertow
writes the access log asynchronously so the test failed intermittently
due to a race between the access log being written and the test
asserting that it exists.

This commit updates the test to wait for up to 10 seconds for the
access log to be available.

See gh-4670
9 years ago
Andy Wilkinson 74ea3b9c9c Merge branch 'gh-4670' 9 years ago