Commit Graph

1936 Commits (a330cb9b8a80fb40c3fb352cd8a78d37b562ebb9)
 

Author SHA1 Message Date
Dave Syer d119336f70 Explcitly state in docs that Spring Security is required
... if you use management.security.* properties

Fixes gh-595
11 years ago
Dave Syer 5ed49462c4 Add spring.messages.cacheSeconds to global config
Fixes gh-625
11 years ago
Dave Syer 72d7c286c0 Add Spring MVC-generated path suffixes to endpoint paths
Spring Security doesn't know that Spring MVC maps /foo, /foo.json
and /foo/ all to the same handler. This change explicitly adds
suffixes to the actuator endpoint matchers so they are properly
protected.
11 years ago
Dave Syer 97adb5c1b3 Ensure ddl-auto=none for non-embedded database
A more thorough check is needed to avoid the false assumption
that the DataSource is embedded just because an embedded database
is on the classpath. You really have to try and look in the connection
metadata, so that's what we now do.

Fixes gh-621, fixes gh-373
11 years ago
Dave Syer e4c67d6dd8 Update starter-parent version properties 11 years ago
Dave Syer 2b616fb7d9 Extract logic for duplicate file removal so it can be shared
.. between Maven and Gradle plugins. Also fixed bug in recursive
scanning logic.

Really fixes gh-614
11 years ago
Dave Syer 5ded496dc3 Remove test dependencies from spring-boot-starter-parent
Fixes gh-617
11 years ago
Dave Syer ea2c491d1f Do not delete duplicate directories from main classpath
Before this change we were too aggressive in deleting duplicate resources
since directories might not have identical contents, and yet they were
being deleted anyway.

Fixes gh-614
11 years ago
Phillip Webb b7218f9812 Fixup starter parent POM 11 years ago
Spring Buildmaster 15e9dbe98b Next development version 11 years ago
Phillip Webb 26e55e5b55 Fix broken docs build 11 years ago
Phillip Webb 1e68b7e0a9 Remove superfluous <packaging> tags from POMs 11 years ago
Phillip Webb 0af7f7e347 Add missing POM info 11 years ago
Phillip Webb 488b03387f Polish POM formatting 11 years ago
Phillip Webb 6f9bb233ad Revert "Next development version"
This reverts commit b67bb70ee3.
11 years ago
Spring Buildmaster b67bb70ee3 Next development version 11 years ago
Josh Long a0b422ed4f Update Cloud Foundry instructions with go client
Update the reference documentation to use the newer 'go' based CLI
tool.

Fixes gh-615
11 years ago
Phillip Webb b5c6a4dd2d Indent appendix properties sample 11 years ago
Phillip Webb def4e60fa6 Fix typo in reference docs
The `management.contextpath` property should have been
`management.context-path`.

Fixes gh-612
11 years ago
Phillip Webb 2b875a8778 Merge pull request #613 from agrueneberg/patch-1
* patch-1:
  Fix type in reference docs
11 years ago
Alexander Grüneberg b95266a2bc Fix type in reference docs
The `spring.data.mongodb.uri` property should be
`spring.data.mongodb.url`.

Fixes gh-613
11 years ago
Dave Syer 499f54893b Add @Conditionals to switch off non-generic endpoints
Fixes gh-601
11 years ago
Dave Syer 2b185fc9c2 Add tests for groovy config in @SpringApplicationConfiguration 11 years ago
Phillip Webb ed3fc06d81 Remove non-working cli `--edit` option
Fixes gh-611
11 years ago
Phillip Webb 35b1a59bbd Fix cli `--watch` option
Fix SpringApplicationRunner to correctly locate files to watch for
reload.

Fixes gh-610
11 years ago
Phillip Webb ac4cdd33c3 Revert "Next development version"
This reverts commit 1d0eea12eb.
Returning to 1.0.0.BUILD-SNAPSHOT for an updated release.
11 years ago
Dave Syer 05432c27fa Clarify requirements for building from source 11 years ago
Spring Buildmaster 1d0eea12eb Next development version 11 years ago
Dave Syer 41b4041c78 Add systemProperties to run task in sample 11 years ago
Phillip Webb 1664cef469 Upgrade some third party dependencies
Upgrade Jackson and Reactor

Fixes gh-597
11 years ago
Phillip Webb aca67066bf Rename RestTemplates to TestRestTemplate
Rename the RestTemplates to TestRestTemplate to help indicate that it's
primarily intended for testing. Also now extend RestTemplate to allow
direct use, rather than via factory methods.

Fixes gh-599
11 years ago
Phillip Webb d117a6b22b Polish 11 years ago
Dave Syer 71c2c69c92 Return actual status code not 200 to machine client
Machine clients are much more fussy than browsers and we
should take care to preserve the HTTP status for them.

Fixes gh-596
11 years ago
Dave Syer d13827c45c Switch default query to 'select 1'
Fixes gh-555
11 years ago
Andy Wilkinson 46fc5c05e3 Work around Groovy compiler bug that can name classes incorrectly
If a source URL is added to a CompilationUnit and that source URL does
not contain any slashes, the resulting ClassNode in the AST will be
incorrectly named. For example, a URL of 'file:foo.groovy' will produce
a ClassNode named 'file:foo'. The expected name is 'foo'.

This commit works around this problem by adding any URL sources with a
file protocol to the compilation unit as File instances. Any URL sources
that do not have a file protocol continue to be added as URL instances.
Such URLs are still prone to this bug should we be dealing with one
that contains no slashes. A fix for the underlying Groovy bug will
address this possibility.

Fixes #594
11 years ago
Dave Syer 8491f8eb07 Simplify build config for actuator sample 11 years ago
Dave Syer 8c3cb51110 Add extra test for nested list binding 11 years ago
Phillip Webb 620e98ce24 No longer @Ignore test following 4.0.3 upgrade
Full run SpringApplicationConfigurationDefaultConfigurationTests

Fixes gh-562
11 years ago
Phillip Webb 3b592fc25c Upgrade to Spring 4.0.3
Fixes gh-564
11 years ago
Phillip Webb b75894aec2 Change logging level on PropertySourcesLoader
Reduce logging level to trace to remove the ugly output that appears
above the banner.

Fixes gh-591
11 years ago
Phillip Webb e7153dd604 Tweak build status location 11 years ago
Phillip Webb 9815b776d6 Use Bamboo build status image
Replace travis build status image with Bamboo since it seems to
fail less.
11 years ago
Phillip Webb beaddb2362 Polish 11 years ago
Phillip Webb aa3f0556dc Fixup asciidoc formatting and links 11 years ago
Dave Syer bae26e2c07 Make sure logback console output happens early in lifecycle
The problem was that the basic-logback.xml was valid configuration
but not in a <configuration> tag, so it wasn't valid on its own.
This change fixes that.

Fixes gh-585
11 years ago
Dave Syer d7948112b4 Extract sub-properties methods to PropertySourceUtils
The static convenience methods in RelaxedPropertyResolver were not
really relaxed, so since they are public (and useful) it makes
more sense to extract them to a utility class.
11 years ago
Dave Syer 006d7b6931 Move MongoTemplateAutoConfiguration to mongo package 11 years ago
Dave Syer 01775ba53d Clarify role of MVC autoconfiguration
Users only have to add a normal `WebMvcConfigurer` to configure
their own features. Sometimes that's not clear enough (and it's
good to stress that `@EnableWebMvc` is the thing that switches
off the Boot configurtation.

Fixes gh-583
11 years ago
Phillip Webb 142a3107f4 Upgrade to Spring 4.0.3.BUILD-SNAPSHOT
Upgrade to the snapshot version of spring for sanity testing.
11 years ago
Phillip Webb 54a5718b98 Minor polish 11 years ago