Commit Graph

13659 Commits (facf16ceb865757cbc1f4af76870d01a420cfadd)
 

Author SHA1 Message Date
Stephane Nicoll b322b1943b Clarify scope of DataSourceInitializedEvent
This commit clarifies that DataSourceInitializedEvent is only to be
used by the datasource initializer facility and JPA (Hibernate). The
even is renamed to DataSourceSchemaCreatedEvent to clarify what it
actually signals.

Closes gh-4292
7 years ago
Stephane Nicoll 6635b6aa99 Merge branch '1.5.x' 7 years ago
Stephane Nicoll 7e08e47b75 Clarify datasource initializer scope
This commit clarifies the scope of the datasource initializr. In
particular, it is not possible to create the schema with that facility
and let Hibernate creates additional tables.

Closes gh-9048
7 years ago
Stephane Nicoll bd02edf2ce Configure JPA only if a single datasource is available
This commit changes HibernateJpaAutoConfiguration to back off if no
single datasource candidate is available in the context.

Closes gh-5541
7 years ago
Stephane Nicoll 8656512bbe Move DataSourceInitializer lifecycle
This commit separates the lifecycle of the datasource initialization
from DataSourceInitializer itself. It also makes sure that a @Primary
data source is no longer required.

Closes gh-10502
7 years ago
Andy Wilkinson 89992ea4cc Upgrade to Spring Session Data Mongodb 2.0.0.M4
Closes gh-10501
7 years ago
Stephane Nicoll bccf9464aa Polish 7 years ago
Stephane Nicoll 1fd184f7db Fix javadoc generation 7 years ago
Stephane Nicoll 7aa6219cd2 Merge pull request #10498 from shakuzen:patch-14
* pr/10498:
  Upgrade to Maven Compiler Plugin 3.7.0
7 years ago
Tommy Ludwig 43086c0708 Upgrade to Maven Compiler Plugin 3.7.0
Closes gh-10498
7 years ago
Stephane Nicoll bf945cc156 Polish 7 years ago
Madhura Bhave dbe1d9608d Add auto-config for spring-security-oauth2-client
Closes gh-10497
7 years ago
Andy Wilkinson 494b79c439 Merge pull request #10495 from Johnny Lim
* gh-10495:
  Remove BeansEndpoint.BeansEndpointResponse
7 years ago
Johnny Lim 454e8eaf71 Remove BeansEndpoint.BeansEndpointResponse
Closes gh-10495
7 years ago
Andy Wilkinson 4e87f8163e Merge branch '1.5.x' 7 years ago
Andy Wilkinson 71c15cb65e Avoid possible livelock when stopping FileSystemWatcher in parallel
Previously, if the file watcher thread tried to stop the
FileSystemWatcher when another thread was already stopping it a
livelock could occur. The livelock occurred because the file watcher
thread would attempt to lock a monitor that was being held by a thread
that had joined the file watcher thread and was waiting for it to die.

This commit avoid the livelock by narrowing the synchronization that's
used when stopping the FileSystemWatcher. The monitor is used to
obtain a reference to the file watcher thread in a thread-safe manner,
but it is released prior to joining the file watcher thread and
waiting for it to die. This will allow a parallel attempt by the
file watcher thread to stop itself to succeed.

Closes gh-10496
7 years ago
Stephane Nicoll fd478be5c3 Polish 7 years ago
Andy Wilkinson 114379e97a Merge branch '1.5.x' 7 years ago
Andy Wilkinson 205c25bf0f Polish 7 years ago
Andy Wilkinson 08f8434155 Upgrade to Spring Restdocs 1.2.2.RELEASE
Closes gh-10492
7 years ago
Andy Wilkinson 6ef3ab1805 Upgrade to Selenium 3.6.0
Closes gh-10491
7 years ago
Andy Wilkinson f42ebdceea Upgrade to Neo4j Ogm 3.0.0
Closes gh-10490
7 years ago
Andy Wilkinson 46eb98f1dc Upgrade to Mariadb 2.1.2
Closes gh-10489
7 years ago
Andy Wilkinson edcf753983 Upgrade to Jooq 3.10.0
Closes gh-10488
7 years ago
Andy Wilkinson 46aa3acc0b Upgrade to Narayana 5.7.0.Final
Closes gh-10487
7 years ago
Andy Wilkinson 7f013a9241 Upgrade to Rest Assured 3.0.3
Closes gh-10486
7 years ago
Andy Wilkinson fd2945f2c1 Upgrade to Netty 4.1.16.Final
Closes gh-10485
7 years ago
Andy Wilkinson f763533805 Merge branch '1.5.x' 7 years ago
Stephane Nicoll b37d3e1153 Merge pull request #10380 from eddumelendez:gh-10376
* pr/10380:
  Polish "Auto-configure Kafka MessageConverter"
  Auto-configure Kafka MessageConverter
7 years ago
Stephane Nicoll 2537a0a753 Polish "Auto-configure Kafka MessageConverter"
Closes gh-10380
7 years ago
Eddú Meléndez d7bc93f278 Auto-configure Kafka MessageConverter
See gh-10380
7 years ago
Andy Wilkinson c1092f77f5 Upgrade to Jooq 3.9.6
Closes gh-10484
7 years ago
Andy Wilkinson e9749765ab Upgrade to Aspectj 1.8.11
Closes gh-10483
7 years ago
Andy Wilkinson a0fa782237 Upgrade to Tomcat 8.5.23
Closes gh-10482
7 years ago
Andy Wilkinson f32531b4e4 Upgrade to Appengine Sdk 1.9.57
Closes gh-10481
7 years ago
Andy Wilkinson 5c0ce4e514 Remove dependency management for non-existent dependencies
See gh-10475
See gh-10473
7 years ago
Andy Wilkinson 41424e4529 Merge branch '1.5.x'
Closes gh-10457
7 years ago
Andy Wilkinson d94f545b4d Merge pull request #10457 from Johnny Lim
* gh-10457:
  Polish
7 years ago
Johnny Lim bfa291f671 Polish 7 years ago
Stephane Nicoll ec6659db2e Merge pull request #10466 from kedar-joshi:master
* pr/10466:
  Polish
  Polish "Adds support for useCodeAsDefaultMessage"
  Adds support for useCodeAsDefaultMessage
7 years ago
Stephane Nicoll d778173089 Polish 7 years ago
Stephane Nicoll 6c826ef0b6 Polish "Adds support for useCodeAsDefaultMessage"
Closes gh-10466
7 years ago
Kedar Joshi a68ec76bb6 Adds support for useCodeAsDefaultMessage
See gh-10466
7 years ago
Andy Wilkinson 9102eb32d1 Polish 7 years ago
Andy Wilkinson 9ba20cc380 Merge branch '1.5.x' 7 years ago
Andy Wilkinson bcbf7b5511 Update ChangeableUrlsTests to cope with URL-like Windows file paths
Closes gh-10268
7 years ago
Andy Wilkinson 30727ab145 Merge branch '1.5.x' 7 years ago
Andy Wilkinson 858b092a87 Make servlet context property source available before refresh
Previously, when deploying a Spring Boot application to a container,
the servlet context property source was not fully initialised until
the context was refreshed. This led to a problem where a value from a
property source with lower precedence would be seen during the early
stages of the application starting. Once the servlet context property
source had been initialized, its value for the property would then
become visible effectively making it appear as if the property's
value had changed during startup. This led to a specific problem
with determining active profiles.

If spring.profiles.active was set both in JNDI and via the servlet
context both profiles would end up being active, rather than the
more intuitive behaviour of the profiles made active via the servlet
context overriding those made active via JNDI.

This commit updates SpringBootServletInitializer so that it explicitly
creates the StandardServletEnvironment and initializes its property
sources using the servlet context. This is done before the application
is created and run, thereby ensuring that the servlet context
property source is available throughout the application's startup.

Closes gh-9972
7 years ago
Andy Wilkinson a7ce9546a2 Upgrade to Spring Data Kay-RELEASE
Closes gh-10329
7 years ago
Andy Wilkinson 1b40e90411 Merge branch '1.5.x' 7 years ago