Commit Graph

14195 Commits (b9c104a22dbc4125a8be2bf43e1606427d250a15)
 

Author SHA1 Message Date
Marten Deinum ab3d65ccae Polish JobLauncherCommandLineRunner
The JobLauncherCommandLineRunner reassigned method arguments inside the
merge method. Instead of reassigning the method argument just return
the new instance directly.

Also some minor cleanup (unnesseccary null check and continue keyword).

Closes gh-10612
7 years ago
Stephane Nicoll ff3fe7a09f Merge branch '1.5.x' 7 years ago
Stephane Nicoll 51551feace Merge pull request #10774 from rweisleder:gh-8006
* pr/10774:
  Remove static Boot version from documentation
7 years ago
Roland Weisleder feb842c487 Remove static Boot version from documentation
Closes gh-10774
7 years ago
Andy Wilkinson 708f917b3a Manage the version of Kotlin's kotlin-runtime module
See gh-10511
7 years ago
Andy Wilkinson 88f869bf06 Remove misleading setters from ConfigurationPropertiesBindingPostProcessor
Previously, ConfigurationPropertiesBindingPostProcessor had a number
of setter methods that implied that its configuration was more mutable
than it actually is and would only have an effect when called early
on in the post-processor's lifecycle.

This commit clarifies how the post-processor can be configured by
removing the misleading setters.

Closes gh-10598
7 years ago
Andy Wilkinson 85b1511085 Make configuration properties binding always uses current environment
Previously, configuration properties binding would only see changes to
the environment if there was no PropertySourcesPlaceholderConfigurer
in the context. This happened because
PropertySourcesPlaceholderConfigurer wrapped the Environment in a
PropertySource, effectively hiding it from the change tracking
performed by SpringConfigurationPropertySources.

This commit updates ConfigurationPropertiesBindingPostProcessor so
that it ignores the environment property source contained by
PropertySourcesPlaceholderConfigurer and uses a composite of
the PropertySourcesPlaceholderConfigurer's other property sources and
the Environment's PropertySources instead.
7 years ago
Andy Wilkinson ca4d7f7322 Test the Gradle plugin against Gradle 4.3-rc-4
See gh-10769
7 years ago
Andy Wilkinson de47eff0a4 Upgrade to Spring Data Kay SR1
Closes gh-10759
7 years ago
Andy Wilkinson 525b0a05c0 Upgrade to Rxjava2 2.1.6
Closes gh-10796
7 years ago
Andy Wilkinson 30578fa94f Align with new name for Spring Cloud Connectors' core module
See gh-10758
7 years ago
Stephane Nicoll caf4c4c6dd Make use of Batch's new API for accessing job parameters
Closes gh-10135
7 years ago
Stephane Nicoll cd6f11ba9b Upgrade to Spring Batch 4.0.0.M5
Closes gh-10792
7 years ago
Stephane Nicoll ae74d198d9 Merge pull request #10511 from sdeleuze:kotlin-run-extension
* pr/10511:
  Polish "Add runApplication() Kotlin top level function"
  Specify kotlin-maven-plugin version for plugin management
  Add runApplication() Kotlin top level function
  Add Kotlin main artifacts to dependency management
7 years ago
Stephane Nicoll fd07bfd816 Polish "Add runApplication() Kotlin top level function"
Closes gh-10511
7 years ago
Sebastien Deleuze 605ede88f7 Specify kotlin-maven-plugin version for plugin management
See gh-9486
7 years ago
Sebastien Deleuze baffecdb14 Add runApplication() Kotlin top level function
Since Kotlin extensions do not apply to static
methods, this commit introduces a runApplication()
Kotlin top level function that acts as a Kotlin
shortcut for SpringApplication.run().

This shortcut avoids to require using non-idiomatic
code like SpringApplication.run(FooApplication::class.java)
and provides a runApplication<FooApplication>() alternative
(as well as an array of KClass based alternative when
multiple classes need to be passed as parameter).

It is possible to customize the application with the
following syntax:

runApplication<FooApplication>() {
    setEnvironment(environment)
}

See gh-10511
7 years ago
Sebastien Deleuze 65f5bfeb67 Add Kotlin main artifacts to dependency management
This commit adds Kotlin main artifacts to Spring
Boot dependency management and will be replaced by
Kotlin BOM when it will be available (see KT-18398).

See gh-9486
7 years ago
Andy Wilkinson 194e03c913 Polish mock verification and formatting
See gh-10773
7 years ago
Andy Wilkinson 37392c0ec8 Adapt to changed default login redirect URL in OAuth 2 Client support
See https://github.com/spring-projects/spring-security/issues/4687
See gh-10705
7 years ago
Andy Wilkinson ee2550ad7d Upgrade to Neo4j Ogm 3.0.1
Closes gh-10789
7 years ago
Andy Wilkinson 9f8c403d21 Upgrade to Hibernate Validator 6.0.4.Final
Closes gh-10788
7 years ago
Andy Wilkinson 20eb2f8644 Upgrade to Activemq 5.15.2
Closes gh-10787
7 years ago
Andy Wilkinson c3f68acd88 Upgrade to Byte Buddy 1.7.8
Closes gh-10786
7 years ago
Stephane Nicoll dbb1e222ab Initialize only an embedded datasource by default
This commit renames spring.datasource.initialize to
spring.datasource.initialization-mode and use the
DataSourceInitializationMode enum. By default, only an embedded
datasource is initialized.

Closes gh-10773
7 years ago
Stephane Nicoll b720c2141c Rename DatabaseInitialization to DataSourceInitialization
Closes gh-10779
7 years ago
Stephane Nicoll 555f51bfdb Fix checkstyle violation 7 years ago
Stephane Nicoll 00e0d61ee4 Use ParameterNameDiscoverer to detect operation's parameter names
Closes gh-10117
7 years ago
Stephane Nicoll 56afc25304 Allow to customize the path of a web endpoint
This commit introduces a endpoints.<id>.web.path generic property that
allows to customize the path of an endpoint. By default the path is the
same as the id of the endpoint.

Such customization does not apply for the CloudFoundry specific
endpoints.

Closes gh-10181
7 years ago
Andy Wilkinson 622e65a290 Align simple sample with configuration properties validation change
See gh-8024
7 years ago
Stephane Nicoll 852ad093b2 Add support for @SendTo with kafka listener
This commit makes sure that the `replyTemplate` is set if a
KafkaTemplate is available in the context which effectively add support
for `@SendTo`.

Closes gh-10669
7 years ago
Stephane Nicoll 3412ee62d5 Make @Validated a hard requirement for JSR-303 validation
Closes gh-8024
7 years ago
Stephane Nicoll 97c1365e24 Remove Http401AuthenticationEntryPoint
Closes gh-10715
7 years ago
Stephane Nicoll b23f68b0d5 Merge branch '1.5.x' 7 years ago
Stephane Nicoll 81e33dc801 Fix NPE in url is null and no embedded database is available
Closes gh-10626
7 years ago
Stephane Nicoll 7e438ca6c2 Merge branch '1.5.x' 7 years ago
Stephane Nicoll 33ff2407e4 Add a note about env variables and Microsoft Windows
Closes gh-10727
7 years ago
Stephane Nicoll 78229bdbc7 Add ref to Okta Spring Boot starter
See gh-10064
7 years ago
Stephane Nicoll e79db1d9f5 Upgrade to Maven wrapper 3.5.2 7 years ago
Andy Wilkinson c3f3bba090 Test the Gradle plugin against Gradle 4.3-rc-3
See gh-10769
7 years ago
Stephane Nicoll e2d8fa92b4 Upgrade to Spring Framework 5.0.1.RELEASE
Closes gh-10587
7 years ago
Stephane Nicoll d1124a955a Merge pull request #10764 from vpavic:hazelcast-3.9
* pr/10764:
  Upgrade to Hazelcast 3.9
7 years ago
Vedran Pavic ac10fa31cd Upgrade to Hazelcast 3.9
Closes gh-10764
7 years ago
Madhura Bhave 2e3187d1f6 Null values from yaml should be stored as empty string
When building a flattened map, the YamlProcessor from
Spring Framework, converts a null value to an empty string.
We want the null value to also keep track of its origin,
which is why this commit creates an `OriginTrackedValue`
for an empty string if the original value is null.

Fixes gh-10656
7 years ago
Madhura Bhave 182b6f0d29 Fix OAuth2 client tests as per upstream changes 7 years ago
Andy Wilkinson 66b55defa0 Adapt to password encoder changes in Spring Security
Closes gh-10762
7 years ago
Andy Wilkinson 35c6b83fce Merge pull request #10494 from Johnny Lim
* gh-10494:
  Polish “Remove explicit type arguments”
  Remove explicit type arguments
7 years ago
Andy Wilkinson 2b426c30a6 Polish “Remove explicit type arguments”
Closes gh-10494
7 years ago
Johnny Lim 6168fae720 Remove explicit type arguments
See gh-10494
7 years ago
Andy Wilkinson a256602c7b Polish 7 years ago