Commit Graph

23481 Commits

Author SHA1 Message Date
Dave Syer
f645b03939 Fix pom in actuator README 2013-08-08 15:58:05 +01:00
Phillip Webb
d8eadfddff Limit Servlet Listener registration
Limit Servlet Listener registration to the specific supported types.

Issue: #54112999
2013-08-08 05:08:55 -07:00
Phillip Webb
f25b9e109f Remove trailing whitespace from bash script 2013-08-08 05:07:44 -07:00
Dave Syer
42bb793155 Add ServletContextListener to embedded web app
* User can add @Bean of type EventListener (e.g.
ServletContextListener)

[Fixes #54112999] [bs-254]
2013-08-08 11:27:07 +01:00
Dave Syer
3b9df63f73 Add bash completion for spring command
* Added src/main/content/bash_completion.d/spring
* Also made all commands alias to "--<self>" so
"--help" is a synonym for "help" (for instance). This
helps with the completion generation.

[Fixes #54827292]
2013-08-08 11:00:41 +01:00
Phillip Webb
f5bae04714 Ignore websocket sample for now 2013-08-07 23:09:08 -07:00
Phillip Webb
b5e81ff42d Fix broken test dependencies 2013-08-07 22:52:26 -07:00
Phillip Webb
eb69732fbb Reinstate integration tests 2013-08-07 22:34:09 -07:00
Phillip Webb
8a33c39f0b Polish AutoConfigurationSorter 2013-08-07 16:29:41 -07:00
Dave Syer
0d19b2d9fa Revert change to placeholders in config file initializer 2013-08-07 16:53:15 +01:00
Rob Winch
f40758c13d Update README link text to be M1
Previously the link text for the download of 0.5.0.M1 was labeled as a
SNAPSHOT.

This commit updates the link text to be the correct version.
2013-08-07 14:32:53 +01:00
Dave Syer
521174754e Add default /error view for HTML clients
* Add integration tests for /error view
* Add "error" @Bean as default view for HTML

Users may see side effects because now there will be
a ContentNegotiatingViewResolver by default for the
first time in a vanilla Actuator app. Should be
interesting.

[Fixes #54597932] [bs-273] Circular view reference for /error
2013-08-07 10:55:30 +01:00
Dave Syer
62f08bb4ec Tweak travis again 2013-08-07 10:31:44 +01:00
Dave Syer
33658c2933 Add @AutoConfigureBefore and simple implementation
[#54597932] [bs-273] Circular view reference for /error
2013-08-07 10:19:56 +01:00
Phillip Webb
91a56f7bb7 Merge pull request #13 from jotomo/patch-1
# By Johannes Mockenhaupt
# Via Johannes Mockenhaupt
* patch-1:
  Fix broken links to samples.
2013-08-06 16:52:01 -07:00
Johannes Mockenhaupt
c3a7dbb192 Fix broken links to samples. 2013-08-07 01:26:35 +02:00
Phillip Webb
1b370b54b6 Update README.md brew instructions 2013-08-06 09:25:32 -07:00
Dave Syer
f502098065 Fix logging depdendencies in samples 2013-08-06 13:40:39 +01:00
Dave Syer
12f0d4d95e Rename ops package to actuate 2013-08-06 13:15:02 +01:00
Dave Syer
e967c2d551 Add exception with more helpful error message.
[#54676948] Filter registered twice
2013-08-06 13:13:59 +01:00
Dave Syer
a602ce3f10 Add travis-artifacts to build 2013-08-06 13:06:54 +01:00
Dave Syer
65bd9dac85 Fix double registration of Filter
A stupid typo lurking in EmbeddedWebApplicationContext meant
that a FilterRegistrationBean would register a Filter, and then
it would be registered again without the initializer.

[Fixes #54676948] Filter registered twice
2013-08-06 11:58:19 +01:00
Dave Syer
2ec953a2e8 Add rewrite filter as managed dependency 2013-08-06 11:58:07 +01:00
Dave Syer
d2419a36fd Add server.tomcat.access_valve_enabled flag
Also introduced new strategy for customizing Tomcat Context
(TomcatContextCustomizer) - any that are added to the factory
will be applied before any other customizations in postProcessContext()

[Fixes #54670052] [bs-275] Make Tomcat access valve logs more accessible
2013-08-06 10:21:17 +01:00
Dave Syer
dc812ddf17 Add notes on zip download 2013-08-06 10:21:17 +01:00
Phillip Webb
c0aec14af1 Fix URLs in README.md 2013-08-06 01:45:40 -07:00
Phillip Webb
f4c129a063 Don't use snapshot repos for CLI test
Update SampleIntegrationTests to only use local maven repo when
running integration tests.
2013-08-06 01:22:59 -07:00
Phillip Webb
e773db2401 Remove unused test resources 2013-08-06 00:22:02 -07:00
Phillip Webb
5189d9d3e6 Don't generate dependency reduced POM 2013-08-06 00:14:49 -07:00
Phillip Webb
80e254c4b6 Update spring-starter-parent src 2013-08-06 00:11:11 -07:00
Phillip Webb
3600533fad Add helper to set version 2013-08-06 00:07:27 -07:00
Phillip Webb
d86bf66645 Add parent relativePath
Update sample applications to correctly refer to parent relativePath.
2013-08-06 00:02:31 -07:00
Phillip Webb
4e11ae1671 Documentation
Various updates to README.md files.
2013-08-05 22:36:22 -07:00
Phillip Webb
40a9176937 Restructure distribution content
Include LICENCE and INSTALL text files and ensure that .bat file is
not set with executable Unix file permissions.
2013-08-05 22:31:28 -07:00
Dave Syer
d550a3e785 Add more detailed download and run instructinos 2013-08-06 06:15:04 +01:00
Rob Winch
3662a8b347 Fix README Quick Start Java Example
- Update pom.xml to be valid
 - Change to use milestone repository instead of snapshot
 - Add file name for SampleController.java
 - Correct EnableAutoConfiguration import
 - Add missing ;
2013-08-06 06:02:44 +01:00
ggerard
461f508cc6 Fix syntax error and package import error. 2013-08-05 18:30:04 -07:00
Phillip Webb
7c4c68ce90 Merge pull request #10 from dling/master
# By Daniel Ling
# Via Daniel Ling
* pull10:
  Fix code typos in README
2013-08-05 17:08:45 -07:00
Daniel Ling
f725f7d068 Fix code typos in README 2013-08-06 01:56:51 +02:00
Phillip Webb
54cb7b39c9 Change assembly name to '-bin' and add tar.gz 2013-08-05 15:54:38 -07:00
Phillip Webb
f08b283b08 Implement CLI --version command 2013-08-05 15:37:11 -07:00
Phillip Webb
02f0c2b639 Get the version to clean from the pom.xml 2013-08-05 15:33:57 -07:00
Phillip Webb
aaebb3f3fb Improve Ivy resolution
Refactor GrapeEngineCustomizer to improve ivy resolution times by
failing early when resolution is known to fail.
2013-08-05 15:25:16 -07:00
Phillip Webb
e5918b6756 Restore grapes cleaner 2013-08-05 14:53:19 -07:00
Phillip Webb
be57881598 Exclude commons-logging from test dependencies 2013-08-05 14:26:12 -07:00
Greg Turnquist
8e8c7135d1 Add instructions on how to install with homebrew 2013-08-05 16:14:16 -05:00
Dave Syer
9e7c9121d5 Fix ordering of README 2013-08-05 21:56:17 +01:00
Phillip Webb
77455ec3dc Fix CLI test failures 2013-08-05 13:48:14 -07:00
Phillip Webb
4038b39496 Add OutputCapture test class 2013-08-05 13:48:14 -07:00
Phillip Webb
174427881a Revert "Attempt to sort out logging dependencies"
This reverts commit e99d2199d8.

The main spring-boot project should not have compile scope dependencies
to any org.slf4j artifacts.
2013-08-05 13:48:14 -07:00