Commit Graph

13852 Commits (2e3187d1f6a3e84908aaffc16e489c84b319ad49)
 

Author SHA1 Message Date
Madhura Bhave df30d2fc10 Expose all endpoints under /cloudfoundryapplication
Regardless of whether the web endpoints have been enabled or not,
all endpoints for which beans are created need to be exposed in a
CF environment under /cloudfoundryapplication.

Closes gh-10673
7 years ago
Stephane Nicoll c2f649df54 Add support for JPA mapping resources
Closes gh-10684
7 years ago
Stephane Nicoll c4026806a6 Polish 7 years ago
Andy Wilkinson ccca943e33 Add mainClassName to springBoot DSL in Gradle plugin
This commit introduces a new mainClassName property on the springBoot
DSL provided by the Gradle plugin. It can be used to explicitly
configure the mainClassName of the default bootRun, bootJar, and
bootWar tasks in a single place. Previously, the only mechanism
provided to do so was the mainClassName property that's only available
when the application plugin has been applied.

Closes gh-10623
7 years ago
Andy Wilkinson 5502aaafd1 Use mainClassName consistently across BootRun, BootJar, and BootWar
Previously, BootRun used the main property to configure the name of
the main class to run while BootJar and BootWar used the mainClass
property. Both were different to the application plugin which provides
a mainClassName project property.

This commit updates BootRun, BootJar, and BootWar to change the name
of the property used to configure the name of the main class to be
mainClassName. This makes the three Boot-specific tasks consistent
with each other, and also aligns them with Gradle's own application
plugin.

Closes gh-10622
7 years ago
Stephane Nicoll 671bff2d6f Polish 7 years ago
Stephane Nicoll 02be86ddca Remove unnecessary exclusion on aopalliance
Closes gh-10691
7 years ago
Stephane Nicoll b2839e2210 Merge branch '1.5.x' 7 years ago
Stephane Nicoll 53335c069c Fix typo
Closes gh-10687
7 years ago
Madhura Bhave 948a86e4eb Build PRs as part of concourse pipeline
Closes gh-10526
7 years ago
Brian Clozel 14081c8557 Update to Bismuth-BUILD-SNAPSHOT
See gh-10679
7 years ago
Andy Wilkinson a5a9fc5186 Upgrade to Snakeyaml 1.19
Closes gh-10678
7 years ago
Andy Wilkinson a1843a378f Upgrade to Jooq 3.10.1
Closes gh-10677
7 years ago
Andy Wilkinson 5e70714b30 Upgrade to Solr 6.6.2
Closes gh-10676
7 years ago
Andy Wilkinson ec2e3e53bb Upgrade to Sendgrid 4.1.1
Closes gh-10675
7 years ago
Andy Wilkinson 06939023e3 Upgrade to Jackson 2.9.2
Closes gh-10674
7 years ago
Stephane Nicoll 293f2b1eaa Merge pull request #10670 from dreis2211:polishing-http-header-interceptor
* pr/10670:
  Polish HttpHeaderInterceptor
7 years ago
dreis2211 ed213ec462 Polish HttpHeaderInterceptor
Closes gh-10670
7 years ago
Andy Wilkinson 77cbab794e Make TomcatEmbeddedWebappClassLoader parallel capable
Closes gh-10477
7 years ago
Andy Wilkinson 027c5a0e35 Remove usage of Mockito's internals
Previously, we relied on Mockito's internals to bypass any Spring AOP
proxy during verification of a spy. Thanks to a new API in Mockito,
we can replace the use of Mockito's internals with a
VerificationStartedListener. This listener changes Mockito's view of
the mock to be the ultimate target of the AOP proxy, i.e. to be the
actual Mockito-created spy, allowing Mockito's verification of the
spy to proceed successfully.

This above-described change will mean that we require a very
up-to-date version of Mockito so the tests that verify our
compatibility with 2.5 have been removed as we will no longer support
it when using @MockBean or @SpyBean.

Lastly, two tests have been updated to replace their usage of the
internal MockUtil class with the equivalent public API calls.

Closes gh-10352
7 years ago
Andy Wilkinson ec4b80443f Upgrade to Mockito 2.11.0
Closes gh-10668
7 years ago
Andy Wilkinson 688da652ac Polish 7 years ago
Andy Wilkinson 70f6c784c7 Upgrade to Spring Web Services 3.0.0.RC1
Closes gh-10666
7 years ago
Stephane Nicoll dd90f071c6 Bump ASM version to be Java 8+ compatible
Closes gh-10647
7 years ago
Stephane Nicoll 8762d952a4 Merge pull request #10657 from izeye:gh-10435-doc
* pr/10657:
  Remove "Securing the H2 console" section
7 years ago
Johnny Lim caa6e18be1 Remove "Securing the H2 console" section
Closes gh-10657
7 years ago
Stephane Nicoll 377e4f3156 Merge pull request #10658 from dreis2211:assert-state-supplier
* pr/10658:
  Polish "Use Assert.state() with Supplier where possible"
  Use Assert.state() with Supplier where possible
7 years ago
Stephane Nicoll 2eba1c5f62 Polish "Use Assert.state() with Supplier where possible"
Closes gh-10658
7 years ago
dreis2211 3b71393e0a Use Assert.state() with Supplier where possible
See gh-10658
7 years ago
Stephane Nicoll 3e18213362 Merge pull request #10636 from izeye:polish-20171014
* pr/10636:
  Polish
7 years ago
Johnny Lim 5aa32b3d0f Polish
Closes gh-10636
7 years ago
Andy Wilkinson 0af4536316 Ensure media types are used consistently across endpoint mappings
Previously, the media types that are consumed and produced by
endpoints were configured in the web stack-specific configuration.
Furthermore, these configured media types were not used for the
discovery "endpoint" that links to all the available endpoints.

This commit introduces EndpointMediaTypes that is configred in a
single, central location and then used to configure the consumed and
produced media types for endpoints exposed via WebFlux, Web MVC, and
Jersey as well as the discovery "endpoint" provided by each.

Closes gh-10659
7 years ago
Stephane Nicoll 4c5c5105b3 Merge pull request #9737 from candrews:autocommit
* pr/9737:
  Polish "When pool autocommit is disabled, inform Hibernate"
  When pool autocommit is disabled, inform Hibernate
7 years ago
Stephane Nicoll 22de4303c5 Polish "When pool autocommit is disabled, inform Hibernate"
Closes gh-9737
7 years ago
Craig Andrews d0e70e90de When pool autocommit is disabled, inform Hibernate
Starting with Hibernate 5.2.10, the JPA property
`hibernate.connection.provider_disables_autocommit` should be set to true
when the datasource has autocommit disabled in order to improve
performance.

See gh-9737
7 years ago
Stephane Nicoll 70ead0135b Merge pull request #10609 from jmcshane:openshift-docs
* pr/10609:
  Update docs for OpenShift
7 years ago
James McShane 3237b05785 Update docs for OpenShift
The current documentation references mechanisms for OpenShift 2, which
has been changed significantly with the latest releases, specifically the
OpenShift 3 release.

Closes gh-10609
7 years ago
Stephane Nicoll 52b484ff4e Merge pull request #10616 from izeye:fix-broken-links-20171012-2nd
* pr/10616:
  Fix broken links
7 years ago
Johnny Lim e234fb5d19 Fix broken links
Closes gh-10616
7 years ago
Stephane Nicoll d974a74586 Merge pull request #10615 from vpavic:improve-oauth-docs
* pr/10615:
  Use properties in Security OAuth2 Client doc config example
  Fix Security OAuth2 Client documentation
7 years ago
Vedran Pavic 12233672db Use properties in Security OAuth2 Client doc config example
Closes gh-10615
7 years ago
Vedran Pavic d705696bdd Fix Security OAuth2 Client documentation
This commit fixes incorrect section level and sample configuration properties.

See gh-10615
7 years ago
Madhura Bhave d307eba0a3 Add property to configure base-path for web endpoints.
Also, move properties corresponding to management server under
`management.server.*`.

Closes gh-10230
7 years ago
Brian Clozel 68db43cf44 Support error conventions in Spring WebFlux
This commit adds support for Spring Boot error conventions with WebFlux.
The Spring MVC support for that is based on an `Controller` that's
mapped on a specific `"/error"` path and configured as an error page in
the Servlet container. With WebFlux, this support leverages a
`WebExceptionHandler`, which catches exceptions flowing through the
reactive pipeline and handles them.

The `DefaultErrorWebExceptionHandler` supports the following:
* return a JSON error response to machine clients
* return error HTML views (templates, static or default HTML view)

One can customize the error information by contributing an
`ErrorAttributes` bean to the application context.

Spring Boot provides an `ErrorWebExceptionHandler` marker interface and a
base implementation that provides high level constructs to handle
errors, based on the Spring WebFlux functional flavor.
The error handling logic can be completely changed by providing a custom
`RouterFunction` there.

Fixes gh-8625
7 years ago
Stephane Nicoll c4adb76df2 Merge branch '1.5.x' 7 years ago
Stephane Nicoll 00142dc70f Fixup version numbers following release 7 years ago
Spring Buildmaster c0f9f64776 Next Development Version 7 years ago
Andy Wilkinson fc68af33c4 Correct typos (sonattype -> sonatype) in pipeline.yml 7 years ago
Andy Wilkinson 74d7a53119 Trigger JDK 9 build when Git repo changes
Closes gh-10515
7 years ago
Andy Wilkinson 8d55b5afae Merge branch '1.5.x' 7 years ago