- 24 Jul, 2014 4 commits
-
-
Andy Wilkinson authored
Both Tomcat and Jetty can now be configured to use SSL via the environment (typically application.properties or application.yml) Closes #1084
-
Christian Dupuis authored
-
Christian Dupuis authored
This commit changes the query in MongoHealthIndicator from serverStatus to buildInfo to avoid unprivileged access and corresponding errors. fixes #1289
-
Christian Dupuis authored
This commit changes the query in MongoHealthIndicator from serverStatus to buildInfo to avoid unprivileged access and corresponding errors. fixes #1289
-
- 23 Jul, 2014 4 commits
-
-
Andy Wilkinson authored
-
Andy Wilkinson authored
-
Andy Wilkinson authored
-
Andy Wilkinson authored
-
- 21 Jul, 2014 10 commits
-
-
Dave Syer authored
-
Dave Syer authored
With this change I got a simple Eclipselink version of the data-jpa sample working. I'll push that when I get time to research it a bit more (I needed to set up a Java agent so either that might be a problem for our integration tests if we can't work around it). Fixes gh-1268.
-
Christian Dupuis authored
Previously any custom http code mapping would remove the default mappings. With this commit the behaviour is changed so that default mappings will stay if a custom mapping is registered. Certainly a default mapping can be overridden. fixes #1264
-
ddebree authored
Added $JAVA_OPTS variable to the sample Heroku Procfile. If this is left out it can cause memory issues when the app starts. Fixes gh-1266
-
Stephane Nicoll authored
This commit fixes some inconsistent or outdated keys in the documentation. More specifically: * allowSessionOverride is no longer a template parameter * templateEncoding has been renamed to charSet * Groovy templates do not have the same configuration hierarchy, hence they don't share all settings * spring.data.elasticsearch.local does not seem to exist * flyway prefix and suffix should be sqlMigrationPrefix and suffix * spring.rabbitmq.virtualHost had a typo * endpoints.error.path is not a valid property * shell.command-path-patterns had a typo * spring.datasource.max-wait had a typo Fixes gh-1226
-
Christian Dupuis authored
Previously any custom http code mapping would remove the default mappings. With this commit the behaviour is changed so that default mappings will stay if a custom mapping is registered. Certainly a default mapping can be overridden. fixes #1264
-
Dave Syer authored
Fixes gh-1259
-
Dave Syer authored
-
Andy Wilkinson authored
-
Andy Wilkinson authored
Fixes #1247
-
- 18 Jul, 2014 1 commit
-
-
Christian Dupuis authored
-
- 17 Jul, 2014 11 commits
-
-
Stephane Nicoll authored
This commit permits the use of several PublicMetrics instances by default. Previously, only one PublicMetrics service could be specified and a user configuration would remove all the defaulting. VanillaPublicMetrics now takes a collection of PublicMetrics and invokes them in sequence to build the final collection of metrics. The system-related metrics have been moved to SystemPublicMetrics and are registered by default. Also updated the documentation to mention this feature and how it could be fully overridden. Fixes gh-1094
-
Christian Dupuis authored
refs #1264
-
Andy Wilkinson authored
Closes #813
-
Dave Syer authored
-
Dave Syer authored
Fixes gh-1257
-
Dave Syer authored
-
Dave Syer authored
Using StringUtils.commaDelimitedListToSet() does not preserve order (why?), so we have to use commaDelimitedListToStringArray(). Fixes gh-1262
-
Stephane Nicoll authored
This commit replaces @ConditionalOnExpression instances that are checking for a specific value to @ConditionalOnPropertyValue
-
Stephane Nicoll authored
This commit merges the features of @ConditionalOnPropertyValue to the existing @ConditionalOnProperty. The "match" attribute provides the value to match against. By default, the value should not be equal to "false" which is the existing default of @ConditionalOnProperty. "defaultMatch" specifies if the value should be present. The default matches also the existing behavior of @ConditionalOnProperty. Fixes gh-1000
-
Dave Syer authored
-
Dave Syer authored
Before this change a property whose key was in a non-enumerable property source would not resolve placeholders, leading to ${style} values in @ConfigurationProperties beans even if the placeholders ere resolvable.
-
- 16 Jul, 2014 1 commit
-
-
Stephane Nicoll authored
This commit adds a new conditional annotation that checks if a property has a given value. This allows to replace constructs such as @ConditionalOnExpression("'${app.myProperty:foo}' == 'foo'") to @ConditionalOnPropertyValue(property="app.myProperty", value="foo", defaultMatch=true) Which is definitely more verbose but has the following advantages: 1. Works by default if the actual property in the environment is a bit different (i.e. my-property) 2. Works if the value of the property has a diferent case (FoO or FOO would match) 3. Gives a precise reporting in the auto configuration report The defaultMatch flag is meant to mention that the condition should also match if the value is not set; the auto-config report would also have an explicit report about it. Fixes gh-1000
-
- 15 Jul, 2014 9 commits
-
-
Andy Wilkinson authored
-
Andy Wilkinson authored
Closes #1234
-
Andy Wilkinson authored
-
Andy Wilkinson authored
-
Andy Wilkinson authored
Closes #1220
-
Andy Wilkinson authored
Closes #1224
-
Ilayaperumal Gopinathan authored
- If `logging.config` is set and could open/read the resource then, return. - Currently, it logs warning though the resource is successfully read.
-
Lukasz Kryger authored
-
Stephane Nicoll authored
-