Commit Graph

1868 Commits

Author SHA1 Message Date
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
2014-04-11 16:48:00 +01:00
Andy Wilkinson 24597ae423 Rename identifier in the howto so that it's unique 2014-04-11 10:13:56 +01:00
Dave Syer 59784cc37e Add JAXB mini-example to howto
Fixes gh-646
2014-04-11 07:07:34 +01:00
Dave Syer 383fbe9e71 Remove return keyword from groovy examples in docs
Fixes gh-656
2014-04-11 06:53:08 +01:00
Dave Syer bc7c6aa40c Print MAVEN_OPTS=-noverify for copy-pasters 2014-04-11 06:53:04 +01:00
Verrol L. Adams a122f3e0f2 changed 'that can you can' to 'that you can' in Getting Started: 8. Introducing Spring Boot 2014-04-11 06:35:46 +01:00
Lukasz Kryger 0f88f7435f Minor fixes in the docs 2014-04-11 06:34:07 +01:00
Dave Syer 41cdb7b48d Add parent directory creation
Also tidied a few other things up (like not needing
SmartApplicationListener).

Fixes gh-550
2014-04-11 06:33:03 +01:00
Jakub Kubrynski f6488c7f66 Now after starting application PID file will be created
Fixes gh-550
2014-04-10 16:30:36 +01:00
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
2014-04-10 10:31:15 +01:00
Lukasz Kryger 10b177fb68 Grammar etc. fixes in the docs
Fixes gh-654
2014-04-10 10:08:45 +01:00
Lukasz Kryger 812c530777 Fixed minor mistakes
* your -> you're
* ask a questions -> ask a question

Fixes gh-653
2014-04-10 10:07:22 +01:00
Dave Syer 65e34a7800 @Controller -> @RestController in README
Fixes gh-652 some more
2014-04-10 10:05:59 +01:00
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
2014-04-09 22:02:53 +01:00
Dave Syer 966ee879b1 @Controller -> @RestController in docs
Fixes gh-652
2014-04-09 21:59:29 +01:00
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
2014-04-09 11:50:00 +01:00
Dave Syer a615693f39 Add test for gh-645 2014-04-09 06:59:05 +01:00
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
2014-04-08 09:58:17 +01:00
Phillip Webb c67c442828 Fixup starter-parent for 1.0.2 SNAPSHOT 2014-04-06 23:07:44 -07:00
Spring Buildmaster a5864ebcd0 Next development version 2014-04-06 22:43:18 -07:00
Phillip Webb 13517598a4 Revert "Remove test dependencies from spring-boot-starter-parent"
This reverts commit 5ded496dc3.

Fixes gh-628
2014-04-06 21:50:22 -07:00
Phillip Webb 2bb0f744e0 Polish 2014-04-06 21:49:12 -07:00
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
2014-04-06 14:30:05 +01:00
Dave Syer bd1691f410 Missing groovy source for test 2014-04-05 08:13:41 +01:00
Dave Syer 435729812d Add test for groovy-xml parsing 2014-04-04 18:28:49 +01:00
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
2014-04-04 18:04:20 +01:00
Dave Syer 4366d7880e Fix docos references to @ConfigurationProperties(prefix="...")
Fixes gh-629
2014-04-04 08:54:20 +01:00
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
2014-04-03 17:47:40 +01:00
Dave Syer 1158881d00 Add activemq properties to appendix
Fixes gh-618
2014-04-03 17:33:06 +01:00
Andy Wilkinson dcdeadf3eb Upgrade to Logback 1.1.2 2014-04-03 16:39:07 +01:00
Dave Syer b10456a2f8 Refactor discussion of management.security.*
Really fixes gh-595
2014-04-03 15:58:10 +01:00
Jean Detoeuf 5077b6cc65 Added ActiveMqCredentials (optional)
Fixes gh-618
2014-04-03 14:48:17 +01:00
Dave Syer d119336f70 Explcitly state in docs that Spring Security is required
... if you use management.security.* properties

Fixes gh-595
2014-04-03 14:42:40 +01:00
Dave Syer 5ed49462c4 Add spring.messages.cacheSeconds to global config
Fixes gh-625
2014-04-03 14:07:55 +01:00
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.
2014-04-03 14:03:09 +01:00
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
2014-04-02 17:21:14 +01:00
Dave Syer e4c67d6dd8 Update starter-parent version properties 2014-04-02 11:25:55 +01:00
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
2014-04-02 11:02:06 +01:00
Dave Syer 5ded496dc3 Remove test dependencies from spring-boot-starter-parent
Fixes gh-617
2014-04-01 17:36:43 +01:00
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
2014-04-01 17:36:43 +01:00
Phillip Webb b7218f9812 Fixup starter parent POM 2014-04-01 09:18:45 -07:00
Spring Buildmaster 15e9dbe98b Next development version 2014-04-01 03:05:51 -07:00
Phillip Webb 26e55e5b55 Fix broken docs build 2014-04-01 02:31:24 -07:00
Phillip Webb 1e68b7e0a9 Remove superfluous <packaging> tags from POMs 2014-04-01 02:07:43 -07:00
Phillip Webb 0af7f7e347 Add missing POM info 2014-04-01 02:07:42 -07:00
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