Commit Graph

1090 Commits (8e2a6eec2ab4f9de864ed495566b89259f84e376)
 

Author SHA1 Message Date
Dave Syer f39b044cf7 Fix packaging for Layout.NONE
Fixes gh-139
11 years ago
Ivan Sopov 40bfd295eb minor fix for javadoc 11 years ago
Dave Syer e18a0ea6e4 Include a link to howto.md 11 years ago
Dave Syer 2104d9a1e2 Prevent failure of web app with parent context
ServerProperties formerly had an @OnMissingBeanCondition
that didn't restrict the hierarchy. It also asserts that
the current context (not including parents) contains such
a bean. This led to an inevitable failure when there was
an existing instance in the parent context.

Fixed by a) searching only the current context, b) not
adding a ServerProperties bean if the context is not a
web app.
11 years ago
Dave Syer c03a06b52d Add test for customize container factory 11 years ago
Dave Syer 4a60e3ccf6 Unignore condition tests 11 years ago
Dave Syer a4cb09c4eb Unignore some tests 11 years ago
Dave Syer c16b5d277e Add test for Valve added 11 years ago
Dave Syer 6cfbcafc10 Switch to httpcomponents for better error handling in tests 11 years ago
Christian Dupuis 5661f8fc28 Test key/value sanitization 11 years ago
Christian Dupuis 078933c8fd Add actuator endpoint to expose ConfigurationProperties
This information should probably be also available from the console and log similar to AutoConfigurationReport.
11 years ago
Christian Dupuis 00c8633597 Add missing new exception class 11 years ago
Christian Dupuis 2c67e06b47 Move enablement of endpoints into AbstractEndpoint 11 years ago
Dave Syer f1026b1202 Add JreProxySelector to handle global proxy configuration
The JreProxySelector is used it to adjust the repositories
as they are added to the GrapeEngine. It looks at standard
System proeprties like http.proxyHost and http.proxyPort
and in addition consults standard JRE Authenticator features
for credentials (falling back to System properties
http.proxyUser and http.proxyPassword).

Fixes gh-136
11 years ago
Dave Syer e28e6d9593 More updated howtos 11 years ago
Dave Syer 19fa5b9af6 Updated howtos 11 years ago
Dave Syer d39fc5bb92 Tidy up some tests 11 years ago
Dave Syer 9db55a3b71 Add explicit test for config file and SpringApplication 11 years ago
Dave Syer 131cfd6114 Update @SpringApplicationConfiguration after comment in 3e6c1b 11 years ago
Dave Syer 259e6a6ec1 RedisProperties prefix -> spring.redis 11 years ago
Dave Syer e74da3fa73 FIXME test additions 11 years ago
Dave Syer 3e6c1b435f Add @SpringApplicationConfiguration (for integration testing)
Example:

    @RunWith(SpringJUnit4ClassRunner.class)
    @SpringApplicationConfiguration(classes = SampleDataJpaApplication.class)
    public class CityRepositoryIntegrationTests {

    	@Autowired
    	CityRepository repository;

Fixes gh-66.
11 years ago
Dave Syer 3e5e058b02 Ensure /error view is available 11 years ago
Dave Syer 8c9b7bd406 Use SimpleHealthIndicator if DataSource present 11 years ago
Dave Syer 16222270b8 Improve reporting of SpEL condition matching 11 years ago
Dave Syer 20bede21ad Add support for parent hierarchy in AUtoConfigurationReport 11 years ago
Dave Syer 47d079d937 Add default proxy settings from System proerties
Aether apparently doesn't use the java.net.* APIs for
TCP connections so it doesn't notice when a user sets
-Dhttp.Proxy*. To fix it is painful, and leads me to
suspect that actually we might want to parse a
settings.xml at some point (however unpalatable that
is).

For now I have added a Proxy to all RemoteRepository
instances that we create in the CLI if the user
has set -Dhttp.proxyHost (and/or -Dhttps.proxyHost for
a secure repository).

TODO: authentication. Is there a standard way to specify
that globally via system properties.

TODO: maybe use per-repository settings if provided
(e.g. in settings.xml).
11 years ago
Dave Syer b74a9b2d06 Add tests to FIXME 11 years ago
Dave Syer 67cc427d2b Expose local port in EmbeddedServletContainer 11 years ago
Dave Syer d1dcb015b6 Ensure only supported listeners are instantiated
Previously all EventListeners were eagerly instantiated
but that can cause problems because it happens quite early
in the lifecycle. Better to be explicit about the
supported types.
11 years ago
Dave Syer aefec4c16a Check that SessionScope is available early 11 years ago
Dave Syer 2f6f88e370 Fix actuator sample for new shutdown property 11 years ago
Dave Syer 710dfaf9b2 Add howto for migrating existing app 11 years ago
Dave Syer 7ef9688d99 Javadocs clarification of role of DispatcherServlet 11 years ago
Dave Syer 756b5e1b60 Convert JSP sample to deployable (executable) WAR 11 years ago
Dave Syer 171c1366f9 Move shutdown enable flag to the endpoint 11 years ago
Dave Syer cd54e1ed49 Add some more howtos 11 years ago
Dave Syer 94e2f90793 Ensure endpoints.jolokia.enabled=false switches off jolokia 11 years ago
Dave Syer 564475556e Allow for commandLineArgs to be already present in Environment 11 years ago
Dave Syer 3f1cfbf241 Add JSTL to JSP sample 11 years ago
Phillip Webb f4f668a52b Polish 11 years ago
Phillip Webb c5911e8634 Attempt to restore Javadoc 11 years ago
Phillip Webb 8845c9c279 Fixup for upstream Spring changes 11 years ago
Dave Syer 29293a1ae5 Maybe not 2.9.1 11 years ago
Dave Syer c113e37f65 Javadoc 2.9.1 seems to be broken 11 years ago
Dave Syer cb38abff41 Add starter for howto.md 11 years ago
Dave Syer aed0e0f217 Add provided scope for tomcat 11 years ago
Dave Syer a9e4400f82 Add test for PropertyPlaceholderAutoConfiguration 11 years ago
Dave Syer aeb0f0a625 Add random.* property source 11 years ago
Dave Syer 94c5203de6 Add more smarts to properties binding
* Underscores are allowed as nested property field separators
* System and env vars are only considered for binding if they
look like they apply to a given bean when ignoreUnknownFields
is false
11 years ago