Commit Graph

13636 Commits

Author SHA1 Message Date
Phillip Webb
87b2f68c0f Update deployment tests POMs
Update the `spring-boot-deployment-tests` projects to use CI friendly
Maven files.

See gh-9316
2017-10-04 16:34:41 -07:00
Phillip Webb
f261cb8f2f Add local repository support
Update the Maven build so that a local artifact repository can be
specified. This will allow the CI server to build the samples and tests
using artifacts generated from an early job.

See gh-9316
2017-10-04 16:34:40 -07:00
Phillip Webb
44d3f3b577 Delete spring-boot-full-build
Delete `spring-boot-full-build` since it wont be necessary when we no
longer release from Bamboo.

See gh-9316
2017-10-04 16:34:40 -07:00
Phillip Webb
9ff87612f9 Delete sample Gradle builds
Remove the Gradle builds that were provided with some of the sample
applications since they were never directly invoked.

See gh-9316
2017-10-04 16:34:40 -07:00
Phillip Webb
041d8b39d0 Fix Ant builds following Maven updates
Update `spring-boot-sample-ant` so that it works with the CI friendly
Maven POMs.

See gh-9316
2017-10-04 16:34:40 -07:00
Phillip Webb
2855010841 Fix sample POMs
Update sample POMs to follow CI friendly Maven conventions.

See gh-9316
2017-10-04 16:34:39 -07:00
Phillip Webb
3476f7b8a4 Add debug logging switches to Gradle launch
Update launched Gradle options to include debug logging.

See gh-9316
2017-10-04 16:34:39 -07:00
Phillip Webb
d588bf7506 Fix odd Java parsing issues
Update `LoggingMainClassTimeWarningListener` to import individual
`Layout` inner classes. This fixes an odd javac parse issue that
otherwise occurs.

See gh-9316
2017-10-04 16:34:39 -07:00
Phillip Webb
c6f930b49e Fix Gradle to use flattened POM file
Update the Gradle plugin to use version information from the
flattened POM.xml files.

See gh-9316
2017-10-04 16:34:39 -07:00
Phillip Webb
b87f9c11f1 Fix POMs for the updated build/release process
Fix POMs following project relocations and apply CI friendly Maven
conventions.

See gh-9316
2017-10-04 16:34:38 -07:00
Phillip Webb
89b0ba2c14 Relocate test projects under spring-boot-tests
Move integration and deployment tests under a single `spring-boot-tests`
module.

See gh-9316
2017-10-04 16:34:38 -07:00
Phillip Webb
0ba4830b4f Relocate projects to spring-boot-project
Move projects to better reflect the way that Spring Boot is released.

The following projects are under `spring-boot-project`:

  - `spring-boot`
  - `spring-boot-autoconfigure`
  - `spring-boot-tools`
  - `spring-boot-starters`
  - `spring-boot-actuator`
  - `spring-boot-actuator-autoconfigure`
  - `spring-boot-test`
  - `spring-boot-test-autoconfigure`
  - `spring-boot-devtools`
  - `spring-boot-cli`
  - `spring-boot-docs`

See gh-9316
2017-10-04 16:34:23 -07:00
Phillip Webb
0419d42b7c Ignore secrets.yml
Ignore `secrets.yml` so that if can be used to hold sensitive
credentials.

See gh-9316
2017-10-04 16:04:43 -07:00
Phillip Webb
258c442e9a Ignore flattened POMs
Ignore flattened POM files which will be generated once the build has
been reworked.

See gh-9316
2017-10-04 16:04:43 -07:00
Madhura Bhave
ad2f774033 Remove explicit call to afterSingletonsInstantiated
Closes gh-10286
2017-10-04 11:41:29 -07:00
Phillip Webb
d7a73e70be Support Redis without commons-pool2
Update `LettuceConnectionConfiguration` so that `commons-pool2` can
be an optional dependency.

See gh-10480
2017-10-04 11:12:00 -07:00
Stephane Nicoll
9f998d6191 Switch redis starter to use Lettuce
This commit changes the default client to Lettuce. This has the side
effect of making the `spring-boot-starter-redis-reactive` irrelevant.

Recent improvements made pooling optional so `commons-pool2` is no
longer provided by default either.

Closes gh-10480
2017-10-04 16:08:27 +02:00
Stephane Nicoll
0389fbae8b Merge pull request #10508 from shakuzen:patch-15
* pr/10508:
  Upgrade to HikariCP 2.7.2
2017-10-04 08:19:21 +02:00
Tommy Ludwig
edc03ce1d8 Upgrade to HikariCP 2.7.2
Closes gh-10508
2017-10-04 08:18:49 +02:00
Stephane Nicoll
c2d896b72f Merge pull request #10504 from eddumelendez:junit_jupiter_5.0.1
* pr/10504:
  Upgrade to JUnit Jupiter 5.0.1
2017-10-04 08:03:49 +02:00
Eddú Meléndez
b7315411d9 Upgrade to JUnit Jupiter 5.0.1
Closes gh-10504
2017-10-04 08:01:26 +02:00
Phillip Webb
a9b642b732 Align versions used in loader integration tests
Update `spring-boot-loader` to use the same dependency versions as the
main project.
2017-10-03 18:32:16 -07:00
Phillip Webb
9192444c31 Polish 2017-10-03 18:32:16 -07:00
Madhura Bhave
99101bae5c Remove AuthenticationManagerConfigurationListener
Closes gh-10446
2017-10-03 14:34:16 -07:00
Madhura Bhave
9f1ed197d2 Update sample with placeholders for oauth client 2017-10-03 13:17:31 -07:00
Madhura Bhave
9692abba70 Use registrationId in redirectURI for default provider
Fixes gh-10505
2017-10-03 13:07:49 -07:00
Stephane Nicoll
9f4688cf7a Upgrade to Thymeleaf 3.0.8.RELEASE
Closes gh-10319
2017-10-03 16:35:14 +02:00
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
2017-10-03 16:05:02 +02:00
Stephane Nicoll
6635b6aa99 Merge branch '1.5.x' 2017-10-03 15:24:20 +02:00
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
2017-10-03 15:23:58 +02:00
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
2017-10-03 14:52:11 +02:00
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
2017-10-03 14:52:11 +02:00
Andy Wilkinson
89992ea4cc Upgrade to Spring Session Data Mongodb 2.0.0.M4
Closes gh-10501
2017-10-03 13:32:19 +01:00
Stephane Nicoll
bccf9464aa Polish 2017-10-03 13:36:36 +02:00
Stephane Nicoll
1fd184f7db Fix javadoc generation 2017-10-03 11:19:29 +02:00
Stephane Nicoll
7aa6219cd2 Merge pull request #10498 from shakuzen:patch-14
* pr/10498:
  Upgrade to Maven Compiler Plugin 3.7.0
2017-10-03 10:23:16 +02:00
Tommy Ludwig
43086c0708 Upgrade to Maven Compiler Plugin 3.7.0
Closes gh-10498
2017-10-03 10:22:54 +02:00
Stephane Nicoll
bf945cc156 Polish 2017-10-03 09:08:41 +02:00
Madhura Bhave
dbe1d9608d Add auto-config for spring-security-oauth2-client
Closes gh-10497
2017-10-02 14:36:35 -07:00
Andy Wilkinson
494b79c439 Merge pull request #10495 from Johnny Lim
* gh-10495:
  Remove BeansEndpoint.BeansEndpointResponse
2017-10-02 20:16:40 +01:00
Johnny Lim
454e8eaf71 Remove BeansEndpoint.BeansEndpointResponse
Closes gh-10495
2017-10-02 20:16:20 +01:00
Andy Wilkinson
4e87f8163e Merge branch '1.5.x' 2017-10-02 20:07:38 +01:00
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
2017-10-02 20:03:17 +01:00
Stephane Nicoll
fd478be5c3 Polish 2017-10-02 18:44:58 +02:00
Andy Wilkinson
114379e97a Merge branch '1.5.x' 2017-10-02 16:06:35 +01:00
Andy Wilkinson
205c25bf0f Polish 2017-10-02 15:56:52 +01:00
Andy Wilkinson
08f8434155 Upgrade to Spring Restdocs 1.2.2.RELEASE
Closes gh-10492
2017-10-02 15:47:04 +01:00
Andy Wilkinson
6ef3ab1805 Upgrade to Selenium 3.6.0
Closes gh-10491
2017-10-02 15:47:03 +01:00
Andy Wilkinson
f42ebdceea Upgrade to Neo4j Ogm 3.0.0
Closes gh-10490
2017-10-02 15:47:02 +01:00
Andy Wilkinson
46eb98f1dc Upgrade to Mariadb 2.1.2
Closes gh-10489
2017-10-02 15:47:01 +01:00