Commit Graph

1936 Commits (a330cb9b8a80fb40c3fb352cd8a78d37b562ebb9)
 

Author SHA1 Message Date
Dave Syer ac16aa1757 Add SpringWebsocketCompilerAutoConfiguration
Fixes gh-693
11 years ago
Dave Syer e72f8fa646 Add test for TestRestTemplate 11 years ago
Dave Syer 4ec059eaa5 Ensure authentication is added to customized request factory
Fixes gh-692
11 years ago
Dave Syer 7401f7c643 Correct impression that DataSource platform is discovered automatically
... it isn't: you have to set spring.datasource.platform
11 years ago
Dave Syer 7b07fe8ce0 Convert remaining samples to use random port
Partial fix for gh-337. See also gh-607 which complements this, but might
conflict on a merge.
11 years ago
Dave Syer f134e96053 Convert Actuator sample to dynamic ports 11 years ago
Dave Syer 559009b8cf Support for random ports in @IntegrationTest
User can now set up default properties in the Environment using
@IntegrationTest("foo:bar", "x:y") etc. Using "server.port:0" you
can get Tomcat or Jetty to spin up on a random port. We also add
a test listener that populates "local.server.port" with the actual
port the server started on so you can @Value("${local.server.port}")
inject it into the test case.

See gh-607 (this should make the extension of that PR to samples
much easier)
11 years ago
Dave Syer 2d16c59147 Clarify usage of run.arguments with Maven plugin 11 years ago
Dave Syer 0d44e6e0d2 Ensure response is committed after ErrorPageFilter
Otherwise Tomcat will go ahead and uncommit it and handle it again
in the ErrorReportValve (duh!)

Fixes gh-684
11 years ago
Dave Syer d613cc795e SpringSource->spring-projects 11 years ago
Dave Syer 29d965fdf0 Add new thymeleaf property to docs
See gh-671
11 years ago
Lukasz Kryger 9907e70609 Minor documentation fixes 11 years ago
Andy Wilkinson 283f1b169f Ensure that local file dependencies are packaged by the Gradle plugin
Prior to this commit, a dependency on a local file was not being
packaged by the Gradle plugin. This was a regression from the behaviour
in 0.5.0.M6 caused by the move to using a ResolvedConfiguration and
ResolvedArtifacts (4f677bec) to gain access to an artifact's type so
that non-jar artefacts could be filtered out. Since then, the approach
to filtering has been changed (38585bf3) and access to an artifact's
type is no longer needed.

This commit updates ProjectLibraries to restore its use of a
FileCollection rather than a ResolvedConfiguration when getting hold of
the files in a configuration. This means that the resulting jar will
now include dependencies that aren't resolved, such as those that are
provided as local files. The filtering that is applied to the files
is unaffected by this change and only files that are zip files will be
included.

Fixes #672
11 years ago
Dave Syer fb29a3c318 Expand Error Handling section in docs a bit
Fixes gh-513
11 years ago
Dave Syer 0b89402240 Add spring.thymeleaf.contentType (defaults to HTML)
User can specify the content type in external properties now, optionally
ommitting the charset (since that is duplicated). If charset is not
appended by user Spring will do it.

Fixes gh-671
11 years ago
Dave Syer 1e0c1d1564 Add support for .yaml file extensions
Apparently yaml.org prefers .yaml, but the internet seems
to be more aligned with .yml, so I guess we should support both
out of the box.

Fixes gh-675
11 years ago
Dave Syer 78f8575850 Special case for deferred start based on Handler type
Fixes gh-673
11 years ago
Jakub Kubrynski 3ebaf11550 Extended documentation for applicaiton pid monitoring 11 years ago
Dave Syer 620d8eb87e Re-order if blocks in RunMojo
Avoids loading a class if not needed, but doesn't seem to solve
any actual problems. I'll leave it in in case it helps later.

Testing gh-648
11 years ago
Andy Wilkinson 24597ae423 Rename identifier in the howto so that it's unique 11 years ago
Dave Syer 59784cc37e Add JAXB mini-example to howto
Fixes gh-646
11 years ago
Dave Syer 383fbe9e71 Remove return keyword from groovy examples in docs
Fixes gh-656
11 years ago
Dave Syer bc7c6aa40c Print MAVEN_OPTS=-noverify for copy-pasters 11 years ago
Verrol L. Adams a122f3e0f2 changed 'that can you can' to 'that you can' in Getting Started: 8. Introducing Spring Boot 11 years ago
Lukasz Kryger 0f88f7435f Minor fixes in the docs 11 years ago
Dave Syer 41cdb7b48d Add parent directory creation
Also tidied a few other things up (like not needing
SmartApplicationListener).

Fixes gh-550
11 years ago
Jakub Kubrynski f6488c7f66 Now after starting application PID file will be created
Fixes gh-550
11 years ago
Dave Syer 533e920fe5 Add enabled flag to RegistrationBean
Default to true but allow user to switch off a @Bean of type
Filter (for example) by wrapping it in a disabled registration.

Fixes gh-655
11 years ago
Lukasz Kryger 10b177fb68 Grammar etc. fixes in the docs
Fixes gh-654
11 years ago
Lukasz Kryger 812c530777 Fixed minor mistakes
* your -> you're
* ask a questions -> ask a question

Fixes gh-653
11 years ago
Dave Syer 65e34a7800 @Controller -> @RestController in README
Fixes gh-652 some more
11 years ago
Dave Syer c0cf31cfd8 /etc/bash_completion.d -> something else
I preferred /etc/bash_completion.d (since it mirrors the actual
preferred deployment of the scripts on my OS). Maybe the MacBoys
have a different point of view? Anyway the docs now point to the
actual script location.

Fixes gh-651
11 years ago
Dave Syer 966ee879b1 @Controller -> @RestController in docs
Fixes gh-652
11 years ago
Dave Syer b8b883de31 Fix springloaded co-ordinates
Apparently springloaded 1.1.5 was released to Maven Central with a
different groupId than to repo.spring.io. It would have worked in
milestones because the repository was declared.

See gh-648
11 years ago
Dave Syer a615693f39 Add test for gh-645 11 years ago
Dave Syer 708d5ade9f Fix path stripper in JolokiaEndpoint to account for management.contextPath
When the user sets management.contextPath=/admin the Jolokia
endpoint gets mapped to /admin/jolokia, but that the path stripper it uses
internally makes a false assumption about the form of the request path.
The fix is simple (just use a smarter search for the endpoint path in the
request path).

Fixes gh-642
11 years ago
Phillip Webb c67c442828 Fixup starter-parent for 1.0.2 SNAPSHOT 11 years ago
Spring Buildmaster a5864ebcd0 Next development version 11 years ago
Phillip Webb 13517598a4 Revert "Remove test dependencies from spring-boot-starter-parent"
This reverts commit 5ded496dc3.

Fixes gh-628
11 years ago
Phillip Webb 2bb0f744e0 Polish 11 years ago
Dave Syer 8295e82ea0 Extend use of reflection for port in Jetty 9
There was already a reflection hack in place for logging the local
port in Jetty 8/9. It wasn't being used for the getPort() method
for some reason, so that needed to be fixed.

Fixes gh-635
11 years ago
Dave Syer bd1691f410 Missing groovy source for test 11 years ago
Dave Syer 435729812d Add test for groovy-xml parsing 11 years ago
Abhijit Sarkar 430fb51ca4 Ensure Groovy bean builder does not enforec XML validation
Since it is not parsing XML it makes no sense to be validating
and it would cause exceptions when importing "namespace"
features. This brings the Boot usage of the bean builder inline
with that in Spring Core.

Fixes gh-630
11 years ago
Dave Syer 4366d7880e Fix docos references to @ConfigurationProperties(prefix="...")
Fixes gh-629
11 years ago
Dave Syer cc4ee653e3 Add separate section in "features" docs on Security
Lists all the basic autoconfig defaults and quick pointers on
how to change or disable.

Fixes gh-514
11 years ago
Dave Syer 1158881d00 Add activemq properties to appendix
Fixes gh-618
11 years ago
Andy Wilkinson dcdeadf3eb Upgrade to Logback 1.1.2 11 years ago
Dave Syer b10456a2f8 Refactor discussion of management.security.*
Really fixes gh-595
11 years ago
Jean Detoeuf 5077b6cc65 Added ActiveMqCredentials (optional)
Fixes gh-618
11 years ago