Commit Graph

520 Commits

Author SHA1 Message Date
Spring Buildmaster 05d4d0281c Next Development Version 2017-06-08 12:47:16 +00:00
Stephane Nicoll d48c414a64 Use HikariCP is jdbc and jpa starters
This commit is a companion of what was done in #6013. As HikariCP is
now the default connection pool, the jdbc and jpa starters no longer
provide `tomcat-jdbc`, but rather `HikariCP`.

Closes gh-9392
2017-06-02 16:35:44 +02:00
Andy Wilkinson 2090bef08e Configure Glassfish sample to use parent-last class loader delegation
Glassfish bundles an old and incomplete version of Glassfish. By
default, this leads to some of Jackson's classes being loaded from
inside the war file and others being loaded from Glassfish itself.
This mixture of versions does not end well and the application fails
to deploy.

This commit adds a Glassfish-specific deployment descriptor to
invert the web app class loader's delegation model. Rather than
preferring classes available from its parent, it will now prefer
those packaged inside the war file.

Closes gh-9391
2017-06-02 13:57:52 +01:00
Stephane Nicoll a6c01d3b30 Remove `jackson-datatype-jdk8` dependency for now
This dependency breaks Glassfish integration tests and was not strictly
required by #9297.
2017-06-02 14:21:09 +02:00
Stephane Nicoll a00ad72881 Add json starter
This commit adds a new json starter that gathers the core bits to read
and write json with dedicated Java 8 extensions.

The web-related starters have been improved to use the new starter
rather than relying on `jackson-databind` directly.

Closes gh-9297
2017-06-02 11:27:18 +02:00
Stephane Nicoll a5d51bbeaf Add entry for sshd-shell-spring-boot 2017-05-31 10:37:19 +02:00
Stephane Nicoll 1403b2195e Merge branch '1.5.x' 2017-05-31 10:29:58 +02:00
Stephane Nicoll b311eeb428 Polish 2017-05-31 10:27:43 +02:00
Stephane Nicoll 5b3b8b0c40 Reference Teeid starter 2017-05-31 10:26:54 +02:00
Stephane Nicoll 31868cdb2a Order this party starters
Closes gh-9362
2017-05-31 10:26:25 +02:00
Vedran Pavic 9e23206c31 Add Quartz Scheduler support
See gh-4299
2017-05-30 18:48:12 +02:00
Stephane Nicoll 18a5e15573 Provide `thymeleaf-extras-java8time` with thymeleaf starter
Closes gh-9229
2017-05-29 17:20:34 +02:00
Stephane Nicoll e8aa3a3a8e Upgrade to Maven War Plugin 3.1.0
Closes gh-9344
2017-05-29 16:16:43 +02:00
Mark Paluch 291f44f5ab Remove spring-cql dependency from Reactive Cassandra starter
The spring-cql module has been merged into the spring-data-cassandra
module.

See gh-9291
2017-05-23 17:32:24 +01:00
Stephane Nicoll d0875e76d4 Polish "Add reference to Teiid spring boot starter"
Closes gh-9281
2017-05-23 15:19:27 +02:00
kylin eaaf1bf034 Add reference to Teiid spring boot starter
See gh-9281
2017-05-23 15:18:08 +02:00
Stephane Nicoll e9ec0584ab Merge branch '1.5.x' 2017-05-12 09:11:45 +02:00
Oliver Weiler 13f705a5e5 Update link for membrane-spring-boot-starter
The `membrane-spring-boot-starter` is now an official membrane project
thus the repository location needs to be updated.

Closes gh-9174
2017-05-12 09:11:00 +02:00
Stephane Nicoll 70a3daa266 Merge branch '1.5.x' 2017-05-09 08:35:18 +02:00
Oliver Weiler 31d4f3b638 Add Membrane Spring Boot Starter
Closes gh-9072
2017-05-09 08:34:05 +02:00
Stephane Nicoll de268d97e2 Add auto-configuration for reactive Redis
This commit provides an auto-configuration for reactive Redis and a
starter that provides Lettuce as Jedis doesn't support reactive
operations.

There are no support for reactive redis repositories at the moment so
only a `ReactiveRedisTemplate` is auto-configured if necessary.

Closes gh-8053
2017-05-04 09:25:36 +02:00
Brian Clozel 4d5dcca553 Add Thymeleaf auto-configuration for WebFlux
Thymeleaf 3.0 implements the Spring 5.0 view infrastructure for WebMVC
and the new WebFlux framework. This commit adds auto-configuration for
the WebFlux support.

In that process, the configuration property for `spring.thymeleaf` has
been changed to add `spring.thymeleaf.servlet` and
`spring.thymeleaf.reactive` for MVC/WebFlux specific properties.

Now that the `spring-boot-starter-thymeleaf` does not only support
Spring MVC, the transitive dependency on `spring-boot-starter-web` is
removed from it.

Fixes gh-8124
2017-04-28 14:11:45 +02:00
Phillip Webb 42e24136ef Drop `spring-social-web-thymeleaf3`
Drop `spring-social-web-thymeleaf3` dependency since it's been merged
into `spring-social-web` as of Spring Social 2.0.

Fixes gh-9017
2017-04-27 11:29:56 -07:00
Stephane Nicoll 47037d5227 Polish "Add reactive support for Spring Data Cassandra"
Closes gh-8568
2017-04-26 15:31:01 +02:00
Eddú Meléndez abd35f041b Add reactive support for Spring Data Cassandra
See gh-8568
2017-04-26 15:31:01 +02:00
Brian Clozel 7e77e648bf Add Mustache support for Spring WebFlux apps
This commit moves the existing Spring MVC Mustache support to its own
`servlet` package and adds a new one under `reactive` for the WebFlux
web applications.

New `MustacheView` and `MustacheViewResolver` types resolve and render
Mustache views for WebFlux applications.

Since this templating engine is now supported by two flavors of Spring
web apps, the `spring-boot-starter-mustache` does not depend anymore on
the `spring-boot-starter-web` one: it's up to the developer to add the
relevant starter `web` or `webflux` to their application.

Fixes gh-8648
2017-04-25 11:27:18 +02:00
Stephane Nicoll 1dc256eb23 Merge branch '1.5.x' 2017-04-24 10:59:30 +02:00
Craig Andrews a1452f674f Add Log4jdbc Starter reference
Clsoes gh-8758
2017-04-24 10:58:46 +02:00
Stephane Nicoll 9327b58304 Fixup version numbers following release 2017-04-21 11:26:45 +02:00
Spring Buildmaster 9768b0a8c2 Next Development Version 2017-04-21 08:32:01 +00:00
Andy Wilkinson f0c5372642 Align with Spring Framework 5's new Commons Logging adapter
Closes gh-8825
2017-04-06 13:22:53 +01:00
Andy Wilkinson 1486490957 Ensure that spring-boot-starter-test pulls in logging dependencies
Closes gh-8492
2017-03-24 21:40:43 +00:00
Stephane Nicoll 3cdc81c351 Fixup version numbers following release 2017-03-03 17:34:05 +01:00
Spring Buildmaster d23fa24340 Next Development Version 2017-03-03 16:18:26 +00:00
Vedran Pavic 1c789f1a8d Remove dependency management for `hibernate-entitymanager`
Closes gh-8433
2017-03-02 18:31:53 +01:00
Andy Wilkinson 7e6ad316aa Update exclusions to reflect change in Hibernate's JPA API dependency
See gh-8379
2017-02-22 16:33:50 +00:00
Stephane Nicoll b30d4303d5 Polish contribution
Closes gh-8230
2017-02-09 15:54:59 +01:00
Mark Paluch 48b0f1577b Provide a starter for reactive Spring Data MongoDB
Add autoconfiguration to bootstrap MongoDB Reactive Streams driver
components, reactive Spring Data MongoDB and reactive repositories. Add
bean dependency processor for flapdoodle so embedded MongoDB instances
are configured before bootstraping the reactive MongoDB client.

Add Spring Data MongoDB Reactive starter with blocking and non-blocking
dependencies. MongoDB requires a separate driver that is used in the
`ReactiveMongoTemplate` while `MappingMongoConverter` (shared amongst
blocking/reactive Template API) requires the blocking driver to resolve
DBRefs.

See gh-8230
2017-02-09 15:54:59 +01:00
Stephane Nicoll ef24f797b1 Merge branch '1.5.x' 2017-02-09 10:53:08 +01:00
Davin Kevin ff40854653 Allow property expansion for *.yaml
Closes gh-8215
2017-02-09 10:51:01 +01:00
Brian Clozel 0aaea05a4b Add Reactor Netty and WebFlux Starters
These starters bring the Spring WebFlux experience to Boot.
By default, the Reactor Netty web server is chosen.
2017-02-06 14:43:15 +01:00
Madhura Bhave 5dafa3ae9c Fixup version numbers following release 2017-01-30 15:27:42 -08:00
Spring Buildmaster 5c12500366 Next Development Version 2017-01-30 20:10:13 +00:00
Andy Wilkinson c00638fee3 Remove Thymeleaf's layout dialect from its starter and update samples
Closes gh-7557
2017-01-30 14:20:50 +00:00
Andy Wilkinson a9656145de Fix up version numbers following release 2017-01-30 12:27:04 +00:00
Spring Buildmaster a2696bf873 Next Development Version 2017-01-30 11:40:24 +00:00
Andy Wilkinson 9bba73a1a9 Upgrade to Thymeleaf 3 and drop support for Thymleaf 2
This commit raises the minimum supported version of Thymeleaf to
3.0.x. It also upgrades Spring Social to a version that is compatible
with Thymeleaf 3.

Closes gh-7450
Closes gh-6258
See gh-7885
2017-01-25 13:59:09 +00:00
Andy Wilkinson 386857fd91 Set java.version to 1.8 in spring-boot-starter-parent
Closes gh-8091
2017-01-24 20:25:20 +00:00
Stephane Nicoll 58740d7f30 Merge branch '1.5.x' 2017-01-18 16:36:57 +01:00
Stephane Nicoll 158ce3c376 Merge branch '1.4.x' into 1.5.x 2017-01-18 16:36:23 +01:00
Stephane Nicoll b242543545 Backport missing 3rd party starter reference 2017-01-18 16:34:11 +01:00
Stephane Nicoll b3c610c13e Merge branch '1.5.x' 2017-01-18 16:26:43 +01:00
Stephane Nicoll 3cf4d75aaa Merge branch '1.4.x' into 1.5.x 2017-01-18 16:25:46 +01:00
Lars Grefer f5d1b7807c Add OkHttp starter reference
Closes gh-8014
2017-01-18 16:24:23 +01:00
Stephane Nicoll 85c66aedb7 Merge branch '1.5.x' 2017-01-16 10:46:36 +01:00
Stephane Nicoll db99ed843e Remove LDAP 3rd party starter reference
Spring Boot provides now a LDAP starter based on this work so this
reference is no longer needed.
2017-01-16 10:46:19 +01:00
Stephane Nicoll c72e61cbcd Merge branch '1.4.x' into 1.5.x 2017-01-16 10:44:32 +01:00
Sebastian Laskawiec 16de86f917 Add Infinispan starter reference
Closes gh-7997
2017-01-16 10:43:44 +01:00
Andy Wilkinson 1d589fc55a Merge branch '1.5.x' 2017-01-13 18:58:46 -05:00
Andy Wilkinson 7423ce5e5c Merge branch '1.4.x' into 1.5.x 2017-01-13 18:58:40 -05:00
Andy Wilkinson f92719c4be Remove unwanted override of git-commit-id-plugin's version 2017-01-13 18:58:19 -05:00
Phillip Webb c35454e5f4 Merge branch '1.5.x' 2017-01-05 23:40:58 -08:00
Phillip Webb 10de30ff11 Polish LDAP contribution
See gh-7733
2017-01-05 23:35:43 -08:00
Eddú Meléndez 6a84c369fd Add LDAP auto-configuration support
Add auto-configuration support for spring-ldap and spring-data-ldap.

See gh-2645
See gh-7733
2017-01-05 23:34:50 -08:00
Phillip Webb 8b69856fc9 Polish 2016-12-28 15:23:26 -08:00
Phillip Webb c3edf9e341 Fixup version numbers following release 2016-12-22 19:03:09 -08:00
Spring Buildmaster 9057f9ae1f Next development version 2016-12-23 00:15:23 +00:00
Phillip Webb 6e02fe59f7 Merge branch '1.5.x' 2016-12-21 22:32:43 -08:00
Artem Bilan d69e43b433 Refactor Spring Integration metrics support
Update Spring Integration metrics support since Spring Integration
`4.3.6`+ no longer needs `spring-integration-jmx` enable
`MessageChannel`, `MessageHandler` and `MessageSource` metrics.

- Add `IntegrationManagementConfiguration` conditional auto-configuration
  to provide `@EnableIntegrationManagement` when JMX is `enabled` or there
  is no `IntegrationManagementConfigurer.MANAGEMENT_CONFIGURER_NAME` bean.
  By default this bean doesn't exist and you explicitly should declare it
  (e.g. via `@EnableIntegrationManagement`) if you would like to collect
  metrics. At the same time Spring Integration enables it when JMX
  management is present (that is a purpose of that new
  `IntegrationManagementConfiguration`)

- Change `SpringIntegrationMetricReader` to read metrics from the
  `IntegrationManagementConfigurer`, not `IntegrationMBeanExporter`

- Change `PublicMetricsAutoConfiguration` to register
  `IntegrationManagementConfigurer.MANAGEMENT_CONFIGURER_NAME` bean if
  not present. Since we are here in `actuator`, therefore we are
  interested in the metrics for SI as well.

- Since we don't need JMX for the metrics any more, remove SI-JMX
  dependency from the `spring-boot-starter-integration`.

- Remove `IntegrationManagementConfiguration` modification from the
  `integrationMbeanExporter()`, since that looks like mutation of an
  external object, when end-user would prefer their own options.
  Therefore we don't need `ObjectProvider<IntegrationManagementConfigurer>`, too

- Add missed `MessageSourceMetrics` gathering for the
  `SpringIntegrationMetricReader`

Closes gh-7722
2016-12-21 20:18:06 -08:00
Andy Wilkinson 8a95d5d798 Remove Spring Data GemFire Starter and Sample
Closes gh-7465
2016-11-30 10:49:07 +00:00
Stephane Nicoll 72e696bcbd Fixup version numbers following release 2016-11-08 18:24:42 +01:00
Spring Buildmaster e712a9ba8c Next Development Version 2016-11-08 16:55:37 +00:00
Andy Wilkinson 4486d2d209 Upgrade to Reactor 3.0 and start building against SI 5.0 snapshots
Closes gh-7301
See gh-7029
2016-11-03 20:49:02 +00:00
Phillip Webb d818a09ed8 Polish 2016-10-11 23:38:14 -07:00
Stephane Nicoll c5cc626d48 Remove remote shell support
See gh-7044
2016-10-11 17:59:25 +02:00
Stephane Nicoll 66a3df454f Merge branch '1.5.x' 2016-10-11 17:42:53 +02:00
Stephane Nicoll cfee9bab81 Deprecate remote shell support
Closes gh-7044
2016-10-11 17:39:28 +02:00
Stephane Nicoll 7474b53020 Add reference to RestFB Messenger 2016-10-06 15:15:40 +02:00
Andy Wilkinson f82dc8e043 Upgrade to JMS API 2.0
Closes gh-7049
2016-09-29 20:33:21 +01:00
Andy Wilkinson 241ab10160 Merge branch '1.5.x' 2016-09-29 15:49:04 +01:00
Andy Wilkinson 2a035d0748 Remove support for Velocity following its deprecation in 1.4
Closes gh-6971
2016-09-29 15:44:36 +01:00
Andy Wilkinson 464915d2cc Remove support for HornetQ following its deprecation in 1.4
See gh-6971
2016-09-29 15:44:36 +01:00
Stephane Nicoll 9bc77254a7 Start building against Spring Framework 5 snapshot
This commit enables compatibility build against Spring Framework 5.

The Velocity and Guava support that are deprecated in the 1.x line have
been removed and few other classes contain minor change to comply to non
backward compatible changes in Spring Framework 5.

This commit also switches the required java version to 8.

Closes gh-6977
2016-09-21 17:37:02 +02:00
Stephane Nicoll 6643ec3713 Next development version 2016-09-21 17:05:50 +02:00
Stephane Nicoll 046475a69e Remove deprecated spring-boot-starter-redis 2016-09-21 15:00:24 +02:00
Stephane Nicoll fc00e4cbe0 Remove deprecated spring-boot-starter-ws 2016-09-21 14:59:52 +02:00
Stephane Nicoll 6bd670edbc Initiate 1.4.x branch 2016-09-21 11:11:24 +02:00
Stephane Nicoll 97083300d7 Fixup version numbers following release 2016-09-21 10:35:52 +02:00
Spring Buildmaster 7e9ed5e1a7 Next Development Version 2016-09-21 07:58:07 +00:00
Phillip Webb ede1657d79 Include Jetty EL dependency in starter
Update spring-boot-starter-jetty to include an EL dependency.

Fixes gh-6692
2016-09-08 16:52:53 -07:00
Johnny Lim 4b9f6869f0 Polish
Closes gh-6817
2016-09-05 09:08:08 +02:00
Stephane Nicoll 7e9aa92f5c Add reference to LDAP starter
See gh-2645
2016-09-04 22:56:36 +02:00
Phillip Webb 2a22a7af12 Remove ApplicationInfo
Rework commit 4a69755b to remove the need for the ApplicationInfo class.
The updated code now uses the auto-configuration class to compute a
default persistence unit root location

Closes gh-6635
2016-08-31 14:49:15 +02:00
Stephane Nicoll b9104c9337 Restore support for empty persistence unit with fat jars
Due to the layout format change in 1.4, Spring Framework is no longer
able to compute a default persistence unit root URL. If a Spring Boot 1.4
application has JPA but does not have any entity, the application started
from a fat jar now fails with a quite cryptic exception.

This commit introduces `ApplicationInfo` as a general replacement for
the `ApplicationArguments` and `Banner` singleton beans that
`SpringApplication` registers on startup. `ApplicationInfo` also defines
the detected "main" `Class` that can be used to compute a last resort
URL that makes sense.

If such bean is available, `EntityManagerFactoryBuilder` now sets the
default persistence unit root location, preventing Spring Framework to
attempt to resolve an unknown location. Note that in our case the
persistence unit root location is actually useless: given the way the
persistence unit is created, nothing actually uses it but Hibernate, as a
compliant JPA provider, has to make sure this setting is set to a valid
URL nevertheless.

Closes gh-6635
2016-08-26 13:38:17 +02:00
Andy Wilkinson 5ad09333f3 Update Shade Plugin’s spring-boot-maven-plugin dependency version 2016-08-15 12:23:01 +01:00
Stephane Nicoll b4186e0c9d Polish contribution
Closes gh-6580
2016-08-08 09:50:08 +02:00
Vedran Pavic 98b4d00828 Add reference to Apache CXF integration
See gh-6580
2016-08-08 09:49:19 +02:00
Spring Buildmaster 334baaeffd Next development version 2016-07-28 19:54:01 +00:00
Oliver Trosien fe80aa6ec5 Add WireMock Spring Boot starter reference
Closes gh-6486
2016-07-27 15:52:41 +02:00
Johnny Lim 9627d0ed66 Polish
Closes gh-6487
2016-07-27 12:29:33 +01:00