Commit Graph

13219 Commits (7e87cc401d4691bc46c8f1c40b9a4764986be32e)
 

Author SHA1 Message Date
Stephane Nicoll 2f51340047 Restore WebServerInitializedEvent listener registration
This commit fixes ServerPortInfoApplicationContextInitializer so that
is registers a listener against `WebServerInitializedEvent`.

A former polish to use a lambda actually introduced a regression as the
listener was registered as `ApplicationListener<?>`.

Closes gh-10047
7 years ago
Stephane Nicoll dd08c31b9a Merge pull request #9752 from vpavic:gh-8981
* pr/9752:
  Polish "Harmonize database initializers"
  Harmonize database initializers
7 years ago
Stephane Nicoll 394371eb73 Polish "Harmonize database initializers"
Closes gh-9752
7 years ago
Vedran Pavic 14b7be8325 Harmonize database initializers
This commit updates database initializers configuration to enable them
automatically only when an embedded `DataSource` is used. Related
configuration properties have been updated to use a more expressive
`DatabaseInitializerMode` enum rather than `Boolean` flag.

See gh-9752
7 years ago
Stephane Nicoll 29078c78f2 Merge branch '1.5.x' 7 years ago
Stephane Nicoll fa037610f8 Add missing class check on Neo4jDataAutoConfiguration
Neo4jDataAutoConfiguration is meant to kick in when Spring Data Neo4J is
on the classpath. Yet, we were only checking for the presence of neo4j
itself and the transaction manager provided by spring-tx.

This commit makes sure to back off if Spring Data Neo4J is not present.

Closes gh-10038
7 years ago
Stephane Nicoll 7a672afc47 Merge branch '1.5.x' 7 years ago
Stephane Nicoll 8b8322216d Revert "Upgrade to Spring Integration 4.3.12"
This reverts commit 0e64598
7 years ago
Stephane Nicoll db0758c1ba Merge branch '1.5.x' 7 years ago
Stephane Nicoll 0e6459888c Upgrade to Spring Integration 4.3.12
Closes gh-10034
7 years ago
Stephane Nicoll 60c9c2d018 Merge pull request #10032 from izeye:polish-20170818
* pr/10032:
  Polish
7 years ago
Johnny Lim a7ef258069 Polish
Closes gh-10032
7 years ago
Stephane Nicoll cc46977c76 Merge pull request #10033 from izeye:instanceof
* pr/10033:
  Remove null check before instanceof
7 years ago
Johnny Lim 9439467664 Remove null check before instanceof
Closes gh-10033
7 years ago
Stephane Nicoll 74c5e48715 Polish 7 years ago
Stephane Nicoll 8ad21b5417 Remove useless override 7 years ago
Stephane Nicoll e93f61ba70 Calling delegate on LoaderHidingResource#close()
Closes gh-10025
7 years ago
Stephane Nicoll b8a209e6d5 Upgrade to maven-enforcer-plugin 3.0.0-M1
Closes gh-10028
7 years ago
Stephane Nicoll 0f93d65fb0 Upgrade to maven-assembly-plugin 3.1.0
Closes gh-7513
7 years ago
Stephane Nicoll 30014785a4 Merge branch '1.5.x' 7 years ago
Stephane Nicoll dbaaf2a5fa Improve conditions on FreeMarkerWebConfiguration
This commit makes sure to prevent the Freemarker web auto-configuration
to kick in if `spring-webmvc` is not on the classpath.

Closes gh-10027
7 years ago
Stephane Nicoll ad3a14141f Polish endpoints metadata
This commit introduces manual metadata for the endpoints.all.* namespace
and polish the appendix following the work that happened in #9692
7 years ago
Stephane Nicoll 80793b3148 Cleanup additional meta-data
The new endpoint infrastructure does not provide a `path` property so
the manual metadata for older endpoints have been removed.
7 years ago
Stephane Nicoll 83e81e13f2 Add support of metadata generation for Endpoints
This commit improves the configuration metadata annotation processor to
explicitly handle `@Endpoint` annotated class. Adding a new endpoint on
a project potentially creates the following keys:

* `endpoints.<id>.enabled`
* `endpoints.<id>.cache.time-to-live`
* `endpoints.<id>.jmx.enabled`
* `endpoints.<id>.web.enabled`

Default values are extracted from the annotation type. If an endpoint
is restricted to a given tech, properties from unrelated techs are not
generated.

Closes gh-9692
7 years ago
Stephane Nicoll 25d2d55383 Merge branch '1.5.x' 7 years ago
Stephane Nicoll cbc3c8f496 Update license to Github standard template
Closes gh-10026
7 years ago
Stephane Nicoll 758370a70f Merge branch '1.5.x' 7 years ago
Stephane Nicoll fc52f6b859 Merge pull request #10012 from tabish121:amqphub-thrid-party
* pr/10012:
  Polish "Add link to AMQP 1.0 JMS Binding Spring Boot starter"
  Add link to AMQP 1.0 JMS Binding Spring Boot starter
7 years ago
Stephane Nicoll d6f99de6c0 Polish "Add link to AMQP 1.0 JMS Binding Spring Boot starter"
Closes gh-10012
7 years ago
Timothy Bish f4bd36b96c Add link to AMQP 1.0 JMS Binding Spring Boot starter
See gh-10012
7 years ago
Stephane Nicoll d5ba8f671a Make Spring Boot Antlib's integration tests compatible with JDK 9
Closes gh-10021
7 years ago
Andy Wilkinson 7a82660bb1 Make ModifiedClassPathRunner compatible with JDK 9
Closes gh-10020
7 years ago
Andy Wilkinson a07833fb51 Make BootRunIntegrationTests compatible with Java 9
Closes gh-10019
7 years ago
Stephane Nicoll 3cf0f65179 Remove regression tests for older Mockito versions
Closes gh-9904
7 years ago
Stephane Nicoll 19e211a1c2 Add Status endpoint
This commit adds a new `/application/status` endpoint that provides only
the Health's status of an application.

Previously, `/application/health` was returning full health details or
only the status depending on configuration. Those two use cases are now
separate in two endpoints that can be configured, secured and enabled
separately.

Closes gh-9721
7 years ago
Stephane Nicoll b9bbe9ee01 Polish 7 years ago
Stephane Nicoll 74b552826b Remove EndpointProperties
`EndpointProperties` is a left over of the infrastructure in 1.x and is
no longer used. Besides the `endpoints.enabled` property is now
`endpoints.all.enabled`.

Closes gh-10016
7 years ago
Stephane Nicoll 151f7ef325 Reinstate JMX customizations of Endpoints ObjectName
This commit restores the configuration properties used to configure how
the ObjectName of an endpoint is generated. For consistency, those
properties have been renamed to `management.jmx`

Closes gh-10005
7 years ago
Stephane Nicoll 35cf0c56a8 Merge branch '1.5.x' 7 years ago
Stephane Nicoll cabd798353 Polish NestedConfigurationProperty documentation
Closes gh-9895
7 years ago
Stephane Nicoll 33d6991d90 Merge pull request #10003 from gytis:master
* pr/10003:
  Upgrade to Narayana 5.6.4.Final
7 years ago
Gytis Trikleris fa7a216052 Upgrade to Narayana 5.6.4.Final
Closes gh-10003
7 years ago
Stephane Nicoll d0e0fdec1d Merge branch '1.5.x' 7 years ago
Stephane Nicoll 7db7ccf9fe Merge pull request #10004 from gytis:1.5.x
* pr/10004:
  Upgrade to Narayana 5.5.30.Final
7 years ago
Gytis Trikleris 4d42d89d71 Upgrade to Narayana 5.5.30.Final
Closes gh-10004
7 years ago
Stephane Nicoll bcf6b12dce Merge pull request #10000 from olegz:GH-9999
* pr/10000:
  Polish "Expose SpringBootCondition's logger"
  Expose SpringBootCondition's logger
7 years ago
Stephane Nicoll fa85308ab9 Polish "Expose SpringBootCondition's logger"
Closes gh-10000
7 years ago
Oleg Zhurakousky 58826644d1 Expose SpringBootCondition's logger
See gh-10000
7 years ago
Andy Wilkinson 914b3588b0 Update test as response may be received before server has deleted file
Previously, the heap dump endpoint test asserted that the temporary
heap dump file had been deleted as soon as the client received a
response. This led to intermittent test failures as the input
stream is closed after its contents have been sent to the client,
creating a race condition between the client receiving the response
and then asserting that the file had been deleted and the server
close the input stream and deleting the temporary file.

This commit updates the test so that, after receiving the response, it
will wait for up to 5 seconds for the server to have deleted the
temporary heap dump file.
7 years ago
Andy Wilkinson 41e6b2adbe Improve diagnostics when temporary heap dump file can't be deleted 7 years ago