Commit Graph

10967 Commits (36722510c5b7d0d2bbb062db4200c5af9b9498ef)
 

Author SHA1 Message Date
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
8 years ago
Stephane Nicoll 58a1ed19a9 Polish 8 years ago
Stephane Nicoll 88d16ddf6b Add missing class check
Closes gh-9602
8 years ago
Stephane Nicoll e008ce2517 Merge pull request #9597 from mmoayyed:patch-1
* pr/9597:
  Add missing whitespace in log
8 years ago
Misagh Moayyed 07d09f3f18 Add missing whitespace in log
Closes gh-9597
8 years ago
Andy Wilkinson 99d53a5980 Polish 8 years ago
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
8 years ago
Stephane Nicoll 5aa27beb54 Polish 8 years ago
Stephane Nicoll 90c4e7518b Detect Neo4j https driver url
Closes gh-9549
8 years ago
Stephane Nicoll d77056639d Add a warning about fully executable archive
Closes gh-9574
8 years ago
Stephane Nicoll b037d7a4cb Polish 8 years ago
Stephane Nicoll 0aabe38479 Merge pull request #9570 from izeye:polish-20170622
* pr/9570:
  Polish
8 years ago
Johnny Lim 8ca70a7efd Polish
See gh-9570
8 years ago
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
8 years ago
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
8 years ago
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
8 years ago
Stephane Nicoll 3f70638f1c Polish "Use getUsableSpace() in DiskSpaceHealthIndicator"
Closes gh-9544
8 years ago
Huang YunKun 158416fdd0 Use getUsableSpace() in DiskSpaceHealthIndicator
See gh-9544
8 years ago
Stephane Nicoll 3ead213c7d Merge pull request #9539 from dsyer:1.5.x
* pr/9539:
  Upgrade to Spring Retry 1.2.1
8 years ago
Dave Syer f4a475cef8 Upgrade to Spring Retry 1.2.1
Closes gh-9539
8 years ago
Madhura Bhave e437c4cd67 OAuth2ClientIdCondition should not match if clientId absent
Fixes gh-9435
8 years ago
Andy Wilkinson 59122358d3 Clean up and format code 8 years ago
Stephane Nicoll 5d69318e2d Add reference to SpringBootApplication in EnableAutoConfiguration
Closes gh-9521
8 years ago
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
8 years ago
Stephane Nicoll 31ee45bf36 Polish 8 years ago
Stephane Nicoll c5c6a526d3 Polish "Allow abstract serializers/deserializer in @JsonComponent"
Closes gh-9443
8 years ago
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
8 years ago
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
8 years ago
Andy Wilkinson 2e2fde0dcd Stop using URLResource API that was deprecated in Undertow 1.4.16
Closes gh-9464
8 years ago
Andy Wilkinson 2d3bcae4e1 Make JarURLConnection return entry's length from getContentLengthLong()
Closes gh-9484
8 years ago
Andy Wilkinson 436eb17610 Upgrade to Jooq 3.9.3
Closes gh-9466
8 years ago
Andy Wilkinson ae0970d9fc Upgrade to Jetty 9.4.6.v20170531
Closes gh-9465
8 years ago
Andy Wilkinson c512c3ae4c Upgrade to Undertow 1.4.16.Final
Closes gh-9464
8 years ago
Andy Wilkinson beb513efbf Upgrade to Dropwizard Metrics 3.1.5
Closes gh-9463
8 years ago
Andy Wilkinson 908e805f7c Upgrade to Hikaricp Java7 2.4.12
Closes gh-9462
8 years ago
Andy Wilkinson 09a3c99017 Upgrade to Hazelcast 3.7.8
Closes gh-9461
8 years ago
Andy Wilkinson aa2cce3d02 Upgrade to H2 1.4.196
Closes gh-9460
8 years ago
Andy Wilkinson 1311edf156 Upgrade to Gson 2.8.1
Closes gh-9459
8 years ago
Andy Wilkinson 0c8756601a Upgrade to Jackson 2.8.9
Closes gh-9458
8 years ago
Stephane Nicoll bbb4cd2ad8 Merge pull request #9447 from akihyro:logback-access
* pr/9447:
  Add Logback-access starter to the community list
8 years ago
Akihiro Kondo 2649e3787e Add Logback-access starter to the community list
Closes gh-9447
8 years ago
Stephane Nicoll 09a4588d9b Merge pull request #9446 from akihyro:orika
* pr/9446:
  Add Orika starter to the community list
8 years ago
Akihiro Kondo 9711480658 Add Orika starter to the community list
Closes gh-9446
8 years ago
Stephane Nicoll 61eda3e6b0 Polish
See gh-9438
8 years ago
Stephane Nicoll aa083996f9 Fixup version numbers following release 8 years ago
Spring Buildmaster 05d4d0281c Next Development Version 8 years ago
Stephane Nicoll cb9cd2720c Merge branch '1.4.x' into 1.5.x 8 years ago
Stephane Nicoll 6b1d06cf09 Fixup version numbers following release 8 years ago
Stephane Nicoll 9193a9e3dc Upgrade to Spring Data Ingalls SR4
Closes gh-9425
8 years ago
Spring Buildmaster 88e43c8421 Next Development Version 8 years ago