Commit Graph

1723 Commits

Author SHA1 Message Date
Phillip Webb
488b03387f Polish POM formatting 2014-04-01 02:07:36 -07:00
Phillip Webb
6f9bb233ad Revert "Next development version"
This reverts commit b67bb70ee3.
2014-04-01 00:38:48 -07:00
Spring Buildmaster
b67bb70ee3 Next development version 2014-03-31 22:38:42 -07:00
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
2014-03-31 21:57:51 -07:00
Phillip Webb
b5c6a4dd2d Indent appendix properties sample 2014-03-31 21:51:22 -07:00
Phillip Webb
def4e60fa6 Fix typo in reference docs
The `management.contextpath` property should have been
`management.context-path`.

Fixes gh-612
2014-03-31 18:14:50 -07:00
Phillip Webb
2b875a8778 Merge pull request #613 from agrueneberg/patch-1
* patch-1:
  Fix type in reference docs
2014-03-31 17:45:26 -07:00
Alexander Grüneberg
b95266a2bc Fix type in reference docs
The `spring.data.mongodb.uri` property should be
`spring.data.mongodb.url`.

Fixes gh-613
2014-03-31 17:44:25 -07:00
Dave Syer
499f54893b Add @Conditionals to switch off non-generic endpoints
Fixes gh-601
2014-03-31 17:33:39 -07:00
Dave Syer
2b185fc9c2 Add tests for groovy config in @SpringApplicationConfiguration 2014-03-31 17:32:51 -07:00
Phillip Webb
ed3fc06d81 Remove non-working cli --edit option
Fixes gh-611
2014-03-31 17:28:14 -07:00
Phillip Webb
35b1a59bbd Fix cli --watch option
Fix SpringApplicationRunner to correctly locate files to watch for
reload.

Fixes gh-610
2014-03-31 17:25:59 -07:00
Phillip Webb
ac4cdd33c3 Revert "Next development version"
This reverts commit 1d0eea12eb.
Returning to 1.0.0.BUILD-SNAPSHOT for an updated release.
2014-03-31 17:14:30 -07:00
Dave Syer
05432c27fa Clarify requirements for building from source 2014-03-31 09:25:45 +01:00
Spring Buildmaster
1d0eea12eb Next development version 2014-03-28 11:47:09 -07:00
Dave Syer
41b4041c78 Add systemProperties to run task in sample 2014-03-28 17:14:39 +00:00
Phillip Webb
1664cef469 Upgrade some third party dependencies
Upgrade Jackson and Reactor

Fixes gh-597
2014-03-27 13:16:41 -07:00
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
2014-03-27 11:22:03 -07:00
Phillip Webb
d117a6b22b Polish 2014-03-27 11:21:51 -07:00
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
2014-03-27 17:23:47 +00:00
Dave Syer
d13827c45c Switch default query to 'select 1'
Fixes gh-555
2014-03-27 17:23:37 +00:00
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
2014-03-27 16:49:37 +00:00
Dave Syer
8491f8eb07 Simplify build config for actuator sample 2014-03-27 08:59:03 +00:00
Dave Syer
8c3cb51110 Add extra test for nested list binding 2014-03-27 08:59:02 +00:00
Phillip Webb
620e98ce24 No longer @Ignore test following 4.0.3 upgrade
Full run SpringApplicationConfigurationDefaultConfigurationTests

Fixes gh-562
2014-03-26 22:55:59 -07:00
Phillip Webb
3b592fc25c Upgrade to Spring 4.0.3
Fixes gh-564
2014-03-26 22:53:16 -07:00
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
2014-03-26 21:33:52 -07:00
Phillip Webb
e7153dd604 Tweak build status location 2014-03-26 13:38:44 -07:00
Phillip Webb
9815b776d6 Use Bamboo build status image
Replace travis build status image with Bamboo since it seems to
fail less.
2014-03-26 13:29:33 -07:00
Phillip Webb
beaddb2362 Polish 2014-03-26 13:29:26 -07:00
Phillip Webb
aa3f0556dc Fixup asciidoc formatting and links 2014-03-26 13:25:02 -07:00
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
2014-03-26 16:24:23 +00:00
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.
2014-03-26 11:28:18 +00:00
Dave Syer
006d7b6931 Move MongoTemplateAutoConfiguration to mongo package 2014-03-26 09:00:12 +00:00
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
2014-03-26 08:45:32 +00:00
Phillip Webb
142a3107f4 Upgrade to Spring 4.0.3.BUILD-SNAPSHOT
Upgrade to the snapshot version of spring for sanity testing.
2014-03-25 22:20:46 -07:00
Phillip Webb
54a5718b98 Minor polish 2014-03-25 22:20:43 -07:00
Phillip Webb
f70d6fb411 Declare all repositories in build samples
Update Gradle and Ant samples to consistently declare all repositories
(local, central, release, snapshot, milestone).

Fixes gh-426
2014-03-25 16:00:55 -07:00
Phillip Webb
39f10fdfb5 Note different document formats in reference guide
Fixes gh-570
2014-03-25 15:41:31 -07:00
Phillip Webb
52dc7b8727 Upgrade to Spring Security 3.2.3
Fixed gh-567
2014-03-25 15:24:45 -07:00
Phillip Webb
0960ac760e Check that cli jar command only writes .jars
Update `JarCommand` to check that the file extension of the output is
`.jar`.

Fixes gh-581
2014-03-25 14:58:35 -07:00
Phillip Webb
1dcd4ddf9e Restore Spring Framework version
Remove accidentally committed SNAPSHOT dependency.
2014-03-25 14:38:43 -07:00
Phillip Webb
44d708ef7a Polish 2014-03-25 14:33:27 -07:00
Phillip Webb
c11d94105a Log AutoConfigurationPackages warnings just once
Update AutoConfigurationPackages to log warnings on the first access,
rather than during setup. This works around the fact that the CLI
currently add multiple @EnableAutoConfiguration annotations.

Fixes gh-579
2014-03-25 14:33:27 -07:00
Andy Wilkinson
b8858bdb8f Enable support for use of encryption in Maven's settings.xml
This commit updates the CLI so that it will decrypt any encrypted
passwords in a user's Maven settings.xml file.

The code that performs the decrytion has a transitive dependency on
three types in Plexus' logging API. There are tens of different
artifacts containing this API available in Maven Central. Rather than
bloating the API with a dependency on a complete Plexus container,
which could perhaps be considered the primary source, a dependency on
a considerably smaller artifact has been introduced.

Closes #574
2014-03-25 19:23:58 +00:00
Dave Syer
c5820d872a Ensure new VCAP_SERVICES format works 2014-03-25 17:13:55 +00:00
Tomas Lin
dae38224b7 Bad Tomcat 8 section reference to websockets pom
Removed this link "The websocket sample shows you how to do that in Maven." since the example no longer has properties that show how this is done. Dave Syer edited the section in a previous issue by adding the example to the POM ( https://github.com/spring-projects/spring-boot/issues/430 ) but it appears that the bad link was not removed.
2014-03-25 17:06:55 +00:00
Dave Syer
e059d0cd5f Re-order security auto configuration so the fallback can be applied
The management security autoconfiguration wanted to come last in the chain
but that won't suit the fallback that was already in place for gh-568. This
change re-orders the autoconfig so that @EnableWebSecurity is still added
if the user sets security.basic.enabled=false and includes the actuator
endpoints.

Fixes gh-568
2014-03-25 17:03:10 +00:00
Sebastien Deleuze
60ad7cd787 Fix quotes in a Gradle example 2014-03-25 16:36:46 +00:00
Dave Syer
59124d07c4 Switch on @EnableTransactionManagement by default
Fixes gh-576
2014-03-25 16:32:06 +00:00