Commit Graph

10832 Commits

Author SHA1 Message Date
Madhura Bhave 222a09cfd3 Make ROOT logger name case-insensitive when setting log level
Fixes gh-9693
2017-07-06 14:25:30 -07:00
Madhura Bhave 96b1a8547f Decorate KeyManager for Undertow only when an alias is configured
Fixes gh-9351
2017-07-05 18:40:09 -07:00
Madhura Bhave a064a52f0b Document health aggregation strategy and default status mappings
Closes gh-9580
2017-06-29 11:31:40 -07:00
Madhura Bhave 528e334e1c Document @EnableWebSecurity behavior when management security disabled
Closes gh-9270
2017-06-29 10:45:17 -07:00
Stephane Nicoll 7f8a8ba115 Properly handle `null` package
Closes gh-9621
2017-06-29 09:59:50 +02:00
Stephane Nicoll 41e6037173 Merge pull request #9628 from satamas:master
* pr/9628:
  Polish "Narrow the event types ConfigFileApplicationListener supports"
  Narrow the event types ConfigFileApplicationListener supports
2017-06-29 09:57:58 +02:00
Stephane Nicoll 26b27d41e7 Polish "Narrow the event types ConfigFileApplicationListener supports"
Closes gh-9628
2017-06-29 09:57:41 +02:00
satamas d26857289c Narrow the event types ConfigFileApplicationListener supports
See gh-9628
2017-06-29 09:29:44 +02:00
Stephane Nicoll c75d78a61a Merge pull request #9629 from htynkn:feature/disable-trimStackTrace
* pr/9629:
  Disable trimStackTrace in surefire plugin
2017-06-29 09:20:51 +02:00
Yunkun Huang eb299b95c2 Disable trimStackTrace in surefire plugin
Closes gh-9629
2017-06-29 09:20:07 +02:00
Stephane Nicoll 90112559bf Expand doc on `@MockBean` usage
Closes gh-9609
2017-06-27 16:59:16 +02:00
Stephane Nicoll d8d156bd1b Improve documentation on EnvironmentPostProcessor
Closes gh-9617
2017-06-27 16:49:14 +02:00
Andy Wilkinson 606bc77da0 Upgrade to Tomcat 8.5.16
Closes gh-9611
2017-06-27 11:58:59 +01:00
Stephane Nicoll f54f2bc315 Merge pull request #9585 from dsyer:feature/appengine
* pr/9585:
  Add short docs on using Google App Engine
2017-06-27 08:53:43 +02:00
Dave Syer 21f616f853 Add short docs on using Google App Engine
Now that Google actually supports arbitrary docker container
execution in app engine, we can provide some more guidance
on how to use it in the "deployment" section.

Closes gh-9585
2017-06-27 08:53:22 +02:00
Stephane Nicoll 85c7643638 Remove use of 'javax.annotation.Resource'
This commit removes the only use of the `javax.annotation.Resource`
annotation from the codebase. This ensures that injection point are
only defined with Spring's annotation model.

Closes gh-9441
2017-06-26 17:46:46 +02:00
Stephane Nicoll 58a1ed19a9 Polish 2017-06-26 13:36:57 +02:00
Stephane Nicoll 88d16ddf6b Add missing class check
Closes gh-9602
2017-06-26 13:36:34 +02:00
Stephane Nicoll e008ce2517 Merge pull request #9597 from mmoayyed:patch-1
* pr/9597:
  Add missing whitespace in log
2017-06-26 08:49:14 +02:00
Misagh Moayyed 07d09f3f18 Add missing whitespace in log
Closes gh-9597
2017-06-26 08:48:37 +02:00
Andy Wilkinson 99d53a5980 Polish 2017-06-23 16:59:24 -07:00
Andy Wilkinson 0aa0fd0670 Ensure that Jackson and GSON are auto-configured by @AutoConfigureJsonTesters
Previously, @AutoConfigureJsonTesters only imported
JsonTestersAutoConfiguration and relied on something else pulling in
the Jackson and GSON auto-configuration upon which it depends. This
worked with @JsonTest which imported those auto-configurations. It
did not work with @SpringBootTest which would use
@EnableAutoConfiguration and the ordering was then wrong and
JsonTestersAutoConfiguration would be processed before the Jackson
and GSON auto-configurations had a chance to create the beans that
JsonTestersAutoConfiguration needs.

This commit updates the spring.factories configuration for
JsonTestersAutoConfiguration so that it imports
JacksonAutoConfiguration and GsonAutoConfiguration.
Appropriate @AutoConfigureAfter has also been added to
JsonTestersAutoConfiguration to ensure that it is considered after
JacksonAutoConfiguration and GsonAutoConfiguration.

Lastly, ExampleJsonApplication and associated classes have been moved
into an app sub-package to prevent its component scanning from
pulling in JsonTestersAutoConfiguration as if it were user
configuration.

Closes gh-9515
2017-06-23 14:44:08 -07:00
Stephane Nicoll 5aa27beb54 Polish 2017-06-23 11:40:16 +02:00
Stephane Nicoll 90c4e7518b Detect Neo4j https driver url
Closes gh-9549
2017-06-23 11:39:39 +02:00
Stephane Nicoll d77056639d Add a warning about fully executable archive
Closes gh-9574
2017-06-22 10:49:01 +02:00
Stephane Nicoll b037d7a4cb Polish 2017-06-22 09:29:47 +02:00
Stephane Nicoll 0aabe38479 Merge pull request #9570 from izeye:polish-20170622
* pr/9570:
  Polish
2017-06-22 09:29:16 +02:00
Johnny Lim 8ca70a7efd Polish
See gh-9570
2017-06-22 09:28:49 +02:00
Andy Wilkinson 7a04708c41 Make sure the HealthMvcEndpoint is thread-safe
Previously, HealthMvcEndpoint stored the cached Health and its last
access time in two separate fields. Neither field was volatile and
no synchronization was used. This meant that there were potential
visibility problems. In a possible worst case scenario one field may
see the updated access time but an old health so it would incorrectly
believe that the old health was up-to-date and return it.

This commit reworks the endpoint to store the cached health and the
time at which it was created in a single, volatile field. This ensures
that the cached health and its creation time will be visible across
threads. Note that a race between threads when the cache is stale is
still possible. This race may result in multiple calls to the
delegate but these should be harmless.

Closes gh-9454
2017-06-21 14:19:10 -07:00
Andy Wilkinson e6a3ca5da6 Address deprecation warning that's generated by Gradle 4.x
In Gradle 4.x, SourceSetOutput now has multiple classes directories
and getClassesDir() has been deprecated. This commit introduces the
use of reflection to use getClassesDirs() when it's available rather
than getClassesDir().

Closes gh-9559
2017-06-21 12:52:05 -07:00
Stephane Nicoll fc57a0eddc Merge pull request #9544 from htynkn:feature/use-getUsableSpace-in-DiskSpaceHealthIndicator
* pr/9544:
  Polish "Use getUsableSpace() in DiskSpaceHealthIndicator"
  Use getUsableSpace() in DiskSpaceHealthIndicator
2017-06-20 14:47:52 +02:00
Stephane Nicoll 3f70638f1c Polish "Use getUsableSpace() in DiskSpaceHealthIndicator"
Closes gh-9544
2017-06-20 14:44:11 +02:00
Huang YunKun 158416fdd0 Use getUsableSpace() in DiskSpaceHealthIndicator
See gh-9544
2017-06-20 14:43:38 +02:00
Stephane Nicoll 3ead213c7d Merge pull request #9539 from dsyer:1.5.x
* pr/9539:
  Upgrade to Spring Retry 1.2.1
2017-06-17 10:38:58 +02:00
Dave Syer f4a475cef8 Upgrade to Spring Retry 1.2.1
Closes gh-9539
2017-06-17 10:38:34 +02:00
Madhura Bhave e437c4cd67 OAuth2ClientIdCondition should not match if clientId absent
Fixes gh-9435
2017-06-16 10:55:49 -07:00
Andy Wilkinson 59122358d3 Clean up and format code 2017-06-16 08:58:14 +01:00
Stephane Nicoll 5d69318e2d Add reference to SpringBootApplication in EnableAutoConfiguration
Closes gh-9521
2017-06-15 13:43:13 +02:00
Stephane Nicoll 5538fbaae2 Merge pull request #9443 from tsachev:gh-9442
* pr/9443:
  Polish
  Polish "Allow abstract serializers/deserializer in @JsonComponent"
  Allow abstract serializers/deserializer in @JsonComponent
2017-06-15 13:35:56 +02:00
Stephane Nicoll 31ee45bf36 Polish 2017-06-15 13:35:33 +02:00
Stephane Nicoll c5c6a526d3 Polish "Allow abstract serializers/deserializer in @JsonComponent"
Closes gh-9443
2017-06-15 13:30:25 +02:00
Vladimir Tsanev 6ba7849094 Allow abstract serializers/deserializer in @JsonComponent
Previously JsonComponentModule tried to instantiate all
inner classes and failed with InstantiationException when
the class is abstract and extends JsonSerializer/JsonDeserializer.
With this change is now possible to have common logic inner abstract classes.

See gh-9443
2017-06-15 13:27:26 +02:00
Stephane Nicoll acda4f905f Add support for deprecation level
This commit ensures that deprecation level set in manual metadata is
properly merged in the generated one.

Closes gh-9449
2017-06-14 09:28:59 +02:00
Andy Wilkinson 2e2fde0dcd Stop using URLResource API that was deprecated in Undertow 1.4.16
Closes gh-9464
2017-06-12 14:24:43 +01:00
Andy Wilkinson 2d3bcae4e1 Make JarURLConnection return entry's length from getContentLengthLong()
Closes gh-9484
2017-06-12 13:46:59 +01:00
Andy Wilkinson 436eb17610 Upgrade to Jooq 3.9.3
Closes gh-9466
2017-06-12 11:57:58 +01:00
Andy Wilkinson ae0970d9fc Upgrade to Jetty 9.4.6.v20170531
Closes gh-9465
2017-06-12 11:57:57 +01:00
Andy Wilkinson c512c3ae4c Upgrade to Undertow 1.4.16.Final
Closes gh-9464
2017-06-12 11:57:57 +01:00
Andy Wilkinson beb513efbf Upgrade to Dropwizard Metrics 3.1.5
Closes gh-9463
2017-06-12 11:57:57 +01:00
Andy Wilkinson 908e805f7c Upgrade to Hikaricp Java7 2.4.12
Closes gh-9462
2017-06-12 11:57:56 +01:00