Commit Graph

11975 Commits (bfbabce16370bfe9d5786bc769c262bbdb2d82b3)
 

Author SHA1 Message Date
Phillip Webb df9d2bc9f4 Remove @ConditionalOnProperty 'relaxed' attribute
Remove the `relaxed` attribute from `@ConditionalOnProperty` and instead
rely on the direct configuration property source relaxed name support.

Closes gh-9003
8 years ago
Madhura Bhave fa45cd5772 Extended BindFailureAnalyzer for new exceptions
Extend `BindFailureAnalyzer` to support the exceptions thrown by the new
configuration properties `Binder`. Origin information is now also
reported when available.

Closes gh-8934
8 years ago
Madhura Bhave 829ab59757 Use new configuration properties in samples
Update `spring-boot-samples` to use the new configuration properties
support.

See gh-9000
8 years ago
Madhura Bhave 7efbedc0dc Use new configuration properties in devtools
Update `spring-boot-devtools` to use the new configuration properties
support.

See gh-9000
8 years ago
Madhura Bhave 866cf1dda7 Use new configuration properties in actuator
Update `spring-boot-actuator` to use the new configuration properties
support.

See gh-9000
8 years ago
Madhura Bhave 69ab2e462e Use new configuration properties in autoconfigure
Update `spring-boot-autoconfigure` to use the new configuration
properties support.

See gh-9000
8 years ago
Madhura Bhave c0d4a771c9 Use new configuration properties in spring-boot-test
Update `spring-boot-test` to use the new configuration properties
support.

See gh-9000
8 years ago
Madhura Bhave d4ef523e64 Use new configuration properties in spring-boot
Update `spring-boot` to use the new configuration properties support.

See gh-9000
8 years ago
Phillip Webb 834aa09300 Remove ConfigurationProperySource
Remove `ConfigurationProperySource` from `PropertySourcesPropertyValues`
so that the deprecated code to continues to work.

See gh-4910
8 years ago
Phillip Webb 16f9ef4f6a Attach ConfigurationPropertiesSource
Update `SpringApplication` to automatically attached the
`ConfigurationPropertiesSource` when a `SpringApplication` runs.

See gh-4910
8 years ago
Phillip Webb 813128a410 Add support for configuration properties binding
Create a new `Binder` class specifically designed to bind properties
from one or more `ConfigurationPropertySources` to an object.

The binder provides a replacement for `RelaxedBinder` and attempts to
fix the limitations of the previous solution.

Closes gh-8868
8 years ago
Phillip Webb a5651b75de Create ConfigurationPropertySource abstraction
Add a new abstraction that represents a source for configuration
properties. The new source is similar to the `Environment` abstraction
provided by Spring Framework but follows a stricter set of rules.

The `ConfigurationPropertySource` provides a uniform view onto a source
and will help to move responsibility for accessing properties in a
"relaxed" way away from the caller.

The `ConfigurationPropertyName` class enforces strict naming rules
that callers must follow when accessing properties. Configuration
names are lowercase, dot separated and may contain dashes. In
addition "indexed" name elements may be defined by using square
brackets.

Mapping is provided to existing Spring PropertySources implemented with
the relaxed rules that users are used to. For example the configuration
property `server.local-host` can still be written in a property files
as `server.localHost` or in an environment variable as SERVER_LOCALHOST.

Closes gh-4910
8 years ago
Phillip Webb dbc7e938c8 Restructor and improve Origin support
Move the `Origin` and related classes from `o.s.boot.env` to
`o.s.boot.orgin` and extend support. The concept of an origin can now
be used outside of just the Spring Environment abstraction.

Closes gh-9001
8 years ago
Phillip Webb b10e2f3a05 Deprecate relaxed property concepts
Deprecate `RelaxedDataBinder`, `RelaxedPropertyResolver` and related
classes in preparation for the updated configuration properties binder
work.

See gh-9000
8 years ago
Phillip Webb 39b33d30e1 Rework SpringApplication `sources` property
Update `SpringApplication` so that the `sources` property is
independent to the primary source provided on construction.

Prior to this commit the sources property was a little unusual in that
calling set would add to the existing collection.

Closes gh-8910
8 years ago
Phillip Webb 82b839e4fb Polish OnWebApplicationCondition message 8 years ago
Phillip Webb 102da8b3c6 Polish 8 years ago
Andy Wilkinson 91fe040586 Start building against Spring Social LinkedIn 2.0 snapshots
See gh-9019
8 years ago
Phillip Webb 45dd9f7144 Polish 8 years ago
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
8 years ago
Phillip Webb 44b4d82e4f Merge pull request #9011 from vpavic/align-session-2.0
* pr/9011:
  Remove Spring Session GemFire dependency
  Remove Spring Session Mongo support
8 years ago
Vedran Pavic 0a64b96b83 Remove Spring Session GemFire dependency
Remove Spring Session GemFire dependency since it is
no longer supported in Spring Session 2.0.

Closes gh-9011
8 years ago
Vedran Pavic 33dd9d6d84 Remove Spring Session Mongo support
Remove auto-configuration support for Spring Session Mongo since it is
no longer supported in Spring Session 2.0.

See gh-9011
8 years ago
Phillip Webb 30eba451d9 Merge branch '1.5.x' 8 years ago
Phillip Webb 4d8584eba8 Merge branch '1.4.x' into 1.5.x 8 years ago
Phillip Webb df82060cad Formatting 8 years ago
Stephane Nicoll 800eb010b1 Change the default JDBC connection pool to Hikari
Closes gh-6013
8 years ago
Stephane Nicoll 2e491dfa9c Merge branch '1.5.x' 8 years ago
Stephane Nicoll 3dc9b125d7 Merge branch '1.4.x' into 1.5.x 8 years ago
Stephane Nicoll 703a6dc056 Prevents BasicErrorControllerIntegrationTest to start another server
`BasicErrorControllerIntegrationTest` is handling the context in each test
and yet it starts a useless test via `@SpringBootTest`. This commit
removes the useless runner and associated annotations.
8 years ago
Stephane Nicoll df388aaaf9 Polish doc 8 years ago
Stephane Nicoll 227bcf44da Create jetty access log file in the temp directory 8 years ago
Stephane Nicoll 66298d85c4 Fix build 8 years ago
Stephane Nicoll 7b0645ff22 Merge pull request #8971 from vpavic:gh-7872
* pr/8971:
  Polish "Do not expose `exception` error attribute by default"
  Do not expose `exception` error attribute by default
8 years ago
Stephane Nicoll e9abe3fcca Polish "Do not expose `exception` error attribute by default"
Closes gh-8971
8 years ago
Vedran Pavic afe0c6f432 Do not expose `exception` error attribute by default
See gh-8971
8 years ago
Stephane Nicoll 605ea487c0 Merge pull request #9002 from vpavic:gh-8560
* pr/9002:
  Make Audit events MVC endpoint `after` parameter required
8 years ago
Vedran Pavic 720e801a76 Make Audit events MVC endpoint `after` parameter required
Closes gh-9002
8 years ago
Stephane Nicoll b426bba169 Merge pull request #8819 from olamy:feature/jetty_accesslog
* pr/8819:
  Add support for configuring Jetty's request log via the environment
  Add support for configuring Jetty's request log via the environment
8 years ago
Stephane Nicoll f5db75792e Add support for configuring Jetty's request log via the environment
Closes gh-8819
8 years ago
olivier lamy ce892a06e4 Add support for configuring Jetty's request log via the environment
See gh-8819
8 years ago
Stephane Nicoll 45f76965f6 Rename cassandra bean names
Closes gh-8982
8 years ago
Stephane Nicoll 3477b02cb4 Merge pull request #8568 from eddumelendez:gh-8052
* pr/8568:
  Polish "Add reactive support for Spring Data Cassandra"
  Add reactive support for Spring Data Cassandra
8 years ago
Stephane Nicoll 47037d5227 Polish "Add reactive support for Spring Data Cassandra"
Closes gh-8568
8 years ago
Eddú Meléndez abd35f041b Add reactive support for Spring Data Cassandra
See gh-8568
8 years ago
Andy Wilkinson 9c65888a54 Upgrade to Jackson 2.9.0.pr3
Closes gh-8990
8 years ago
Brian Clozel 117310924e Reduce number of managed Netty dependencies
Now that reactor-netty has a strict set of transitive dependencies, this
commit refactors the managed dependencies to only list the required
ones. `netty-all` is still managed to avoid conflicts when pulled by
other libraries.

Fixes gh-8553
8 years ago
Madhura Bhave bc1ee76b55 Change default for new_generator_mappings to true
Closes gh-7612
8 years ago
Phillip Webb 1ad318d8a6 Refine Mustache support
Refine Mustache support to provide a cleaner separation between the
reactive and servlet implementations. The views have now moved to the
`spring-boot` project and the auto-configuration has been split into
two distinct `@Imports` to save needing full package declarations.

See gh-8941
8 years ago
Phillip Webb 06558675bb Polish 8 years ago