Commit Graph

13658 Commits

Author SHA1 Message Date
Phillip Webb
3c97401a86 Polish 2017-10-05 17:58:18 -07:00
Phillip Webb
526fc1f351 Fix imports following upstream change 2017-10-05 17:57:31 -07:00
Andy Wilkinson
7d5f3a341f Merge pull request #10519 from Jon Schneider
* gh-10519:
  Improve new metrics endpoint
  Add auto-configuration for exporting metrics to StatsD
  Make the Graphite export protocol configurable
  Start building against Micrometer snapshots for 1.0.0-rc.2

Closes gh-10519
2017-10-05 16:51:00 +01:00
Jon Schneider
bc05352290 Improve new metrics endpoint
- New repeatable tag query parameter to refine a query by one or more
  tag key/value pairs.
- Selecting a metric by name (and optionally a set of tags) reports
  statistics that are the sum of the statistics on all time series
  containing the name (and tags).

Closes gh-10524
2017-10-05 16:49:30 +01:00
Jon Schneider
e2453a17c7 Add auto-configuration for exporting metrics to StatsD
Closes gh-10522
2017-10-05 16:49:19 +01:00
Jon Schneider
ff636b58e1 Make the Graphite export protocol configurable
Closes gh-10523
2017-10-05 16:48:54 +01:00
Andy Wilkinson
7fc272df6e Start building against Micrometer snapshots for 1.0.0-rc.2 2017-10-05 16:48:31 +01:00
Andy Wilkinson
6323dc4e21 Reduce logging that is produced when building Gradle plugin
Travis is terminating builds as they are producing too much logging.
A major contributor to the volume of logging is the Gradle plugin's
build. This commit switches off debug logging for the build and
enables test event logging. This considerably reduces the volume of
logging that is produced while still providing some insight into the
build's tests.
2017-10-05 13:39:49 +01:00
Andy Wilkinson
508aac084e Rename all Micrometer Clock beans: clock -> micrometerClock
Closes gh-10436
2017-10-05 11:01:20 +01:00
Andy Wilkinson
2bb54f16fb Polish 2017-10-05 10:54:26 +01:00
Andy Wilkinson
41fc023a67 Remove unnecessary override of helper plugin's version 2017-10-05 10:52:52 +01:00
Andy Wilkinson
503520bdc9 Correct the Java version for spring-boot-deployment-tests 2017-10-05 10:48:31 +01:00
Stephane Nicoll
ba52ebf155 Upgrade to Spring AMQP 2.0.0.RELEASE
Closes gh-7053
2017-10-05 10:43:21 +02:00
Phillip Webb
33edfdab46 Merge branch 'gh-9316' 2017-10-04 20:18:56 -07:00
Phillip Webb
e9f9462917 Add Concourse CI pipeline
Add CI pipeline for builds and releases.

Fixes gh-9316
2017-10-04 20:18:53 -07:00
Phillip Webb
da0c4f5520 Increase endpoint integration test timeouts
Allow longer for test responses to be returned.

See gh-9316
2017-10-04 20:18:53 -07:00
Phillip Webb
4df84c53bc Upgrade Maven plugins
Upgrade the Maven plugins used in the builds.

See gh-9316
2017-10-04 16:34:43 -07:00
Phillip Webb
455505a108 Rename embedded servlet tests
Rename `spring-boot-integration-tests-embedded-servlet-container` to
`spring-boot-server-tests`.

See gh-9316
2017-10-04 16:34:42 -07:00
Phillip Webb
b6a83eb8f5 Allow integration tests to use custom repos
Update integration tests so that they can use a custom local Maven
repository.

See gh-9316
2017-10-04 16:34:42 -07:00
Phillip Webb
4ff65d58a4 Fix integration test POMs
Update integration test POMs to use CI friendly version numbers.

See gh-9316
2017-10-04 16:34:42 -07:00
Phillip Webb
8670151045 Fix the way integration tests find version numbers
Update the integration tests so that the version number is found using
the main POM.xml files. Without this change `${revision}` would be
used.

See gh-9316
2017-10-04 16:34:41 -07:00
Phillip Webb
80562247fe Increase deployment test timeouts
Update deployment tests to allow more time for servers to start.

See gh-9316
2017-10-04 16:34:41 -07:00
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