Commit Graph

2233 Commits (7fd26a556d31d3a24f789b1e19f126ecba147d13)
 

Author SHA1 Message Date
Dave Syer b12d7c705c Improve redis repository implementations
Storing values in zset makes them less prone to races.

Fixes gh-929
11 years ago
Andy Wilkinson cf5c1d1b70 Merge branch '1.0.x' 11 years ago
Andy Wilkinson 8fa2286dd3 Upgrade to Spring Security 3.2.4.RELEASE 11 years ago
Christian Dupuis b77a9c5a8e Remove List.sort usage for Collections.sort 11 years ago
Dave Syer 0cbd0b609a Add increment() to PrefixMetricWriter
In the redis repository we also switch to store the value in the
zset (so it can be atomically incremented) rather than in the
regular key-value.

Fixes gh-929
11 years ago
Christian Dupuis 14899ba3b2 Fix compile problem
Something slipped the recent merge
11 years ago
Christian Dupuis b6f3866969 Merge branch 'rework-health-support' 11 years ago
Christian Dupuis 0c2bc99af3 Return different http return status codes for different system health states
fixes #880
11 years ago
Christian Dupuis 4bc6a0f49e Rename Status.status to Status.code 11 years ago
Christian Dupuis 4648188782 Rework HealthEndpoint and HealthIndicator
With this commit the state of a component or subsystem becomes a first-class citizen in Boot's application health support. HealthIndicators now return a Health instance with status and some contextual details.

An aggregation strategy has been introduced to aggregate several Health instances into one final application Health instance. Out of the box OrderedHealthAggregator can be configured to allow different ordering or a custom HealthAggregator bean can be registered.
11 years ago
Dave Syer d59cbc830a Group resolution for RedisMultiMetricRepository with prefix
The prefix needs to be added before looking for keys. In addition
I rationalized the constructor and final fields (it didn't make
any sense for the prefix to be mutable).

Fixes gh-927
11 years ago
Dave Syer ed2876e931 Add a PrefixMetricWriter interface to cleanly separate write/read
The PrefixMetricGroupExporter only really makes sesne if the writer
is aware of the groups, so it seemed better to use a new interface
than mix read/write.
11 years ago
Dave Syer 94e891e924 Rename method count() -> countGroups()
Fixes gh-923
11 years ago
Andy Wilkinson 733e12e215 Merge branch '1.0.x' 11 years ago
Andy Wilkinson 426c5680d4 Use Boot’s base Logback configuration in the Integration sample
Fixes #922
11 years ago
Andy Wilkinson 9b1ed5f24e Include GemFire starter in table of first-party starter modules
Closes #911
11 years ago
Andy Wilkinson 1deeccda30 Revert "Work around Groovy compiler bug that can name classes incorrectly"
This reverts commit 46fc5c05e3.

Closes #598
11 years ago
Andy Wilkinson 58b768b204 Merge branch '1.0.x' 11 years ago
Andy Wilkinson 6dafa15eef Remove mouldy start.groovy from the actuator sample
Fixes #900
11 years ago
Andy Wilkinson ee08667e81 Exclude Java agent jars from class path of launching class loader
ExecutableArchiveLauncher creates a ClassLoader that is used by the
Launcher to load an application’s classes. During the creation of this
ClassLoader URLs from another ClassLoader are copied over. This was
resulting in Java agents that are added to the system class loader
via the -javaagent launch option being available on both the system
class loader and the created class loader. Java agents are intended to
always be loaded by the system class loader. Making them available on
another class loader breaks this model.

This commit updates ExecutableArchiveLauncher so that it skips the URLs
of any Java agents (found by examining the JVM’s input arguments) when
copying URLs over to the new classloader, thereby ensuring that Java
agents are only ever loaded by the system class loader.

Fixes #863
11 years ago
Dave Syer 146a337b53 Ensure Mongo autoconfig is easy to exclude 11 years ago
Dave Syer e9d594c693 Add conditional processing option for unhelpful FactoryBeans
OnBeanCondition has some issues with FactoryBean object types where
the FactoryBean is not generic (i.e. you have to instantiate it to
get its object type). This is a known issue (see tests in
ConditionalOnMissingBeanTests), but we can provide some help for
library authors who know the type in advance. The approach we have
taken here is to check the BeanDefinition for an attribute called
"factoryBeanObjectType" (OnBeanCondition.FACTORY_BEAN_OBJECT_TYPE)
which, if it exists, can be used as a tie-breaker. Its value should
be a Class<?> instance.

Fixes gh-921
11 years ago
Dave Syer 86ff5315b4 Update to Jedis 2.4.1 means commons-pool2
Fixes gh-918
11 years ago
Andy Wilkinson 75792264c0 Correct the path used to import the dependency versions .adoc file 11 years ago
Andy Wilkinson 8d2da79020 Combine maven-dependency-plugin declarations
Fixes #917
11 years ago
Andy Wilkinson d7b100d94c Upgrade to RELEASE version of Spring Data Dijkstra release train
Closes #815
11 years ago
Andy Wilkinson d9eeb782b8 Upgrade to Spring HATEOAS 0.12.0.RELEASE
Closes #801
11 years ago
Andy Wilkinson 00b18b114a Merge branch '1.0.x' 11 years ago
Andy Wilkinson b9c80433bc Upgrade to Spring 4.0.5
Closes #891
11 years ago
Phillip Webb 94b8b387e8 Fix broken dependencies appendix 11 years ago
Dave Syer 7279e97e5a Add @IntegrationTest properties to Environment after system props
Fixes gh-910
11 years ago
Dave Syer f123fd5a4a Remove reference to resolved issues in Groovy 11 years ago
Phillip Webb 37dea7364f Fix broken relative path 11 years ago
Phillip Webb 4fd4744724 Add spring-boot-versions project
Add a new maven project containing a versions.properties file and
an effective POM. Rework existing projects to use the versions
artifacts.

Partially reverts 307fbba9e4

Fixes gh-913
11 years ago
Phillip Webb 8bcda1bcbe Polish 11 years ago
Andy Wilkinson e40acd81e4 Polish dependency management again
Remove declarations for the Spring OAuth modules that should have
been removed as part of eeefbdd5
11 years ago
Dave Syer 233a2e8fb5 Fix ordering problem with Mongo autoconfig 11 years ago
Andy Wilkinson 3328a30b7b Include details of dependency versions in the docs
Closes #637
11 years ago
Andy Wilkinson 307fbba9e4 Use spring-boot-dependencies as spring-boot-dependency-tools' parent
Previously spring-boot-dependency-tools used spring-boot-tools as its
parent. This meant that it inherited spring-boot-parents' dependency
management that we did not want to expose to applications. The
solution to this was to generate the effective pom and then filter
out any thing that did not appear in spring-boot-dependencies' pom.
This filtering had to unwanted side-effect of breaking bom imports:
the effective pom would contain the dependency management from the
imported bom, but this would be filtered out as the entries didn't
appear in spring-boot-dependencies' pom.

This commit updates spring-boot-dependency-tools to use
spring-boot-dependencies as its parent. This means that its effective
pom contains the desired dependency management and nothing more,
allowing the filtering logic to be removed.

The use of Spring Security's bom has been reinstated as it will now
work as intended and versions for its modules will be available in the
CLI and via the Gradle plugin.

Closes #825
Fixes #838
11 years ago
Andy Wilkinson b94e8f54f6 Fix name of Groovy Templates sample project 11 years ago
Andy Wilkinson eeefbdd5f8 Polish dependency management
- Remove dependency management for projects that Boot does not have a
  runtime dependency upon
- Provide dependency management for all of Spring Batch’s modules
11 years ago
Dave Syer 523956e2fe Add sample project for Groovy templates 11 years ago
Dave Syer 334c8142c4 Enhance Groovy template support in CLI
to allow user to specify the TemplateEngine

Fixes gh-908
11 years ago
Dave Syer 7e9a4035db Re-order condition that checks for anonymous class
Workaround for ASM 5.0.2 bug that fixes gh-904
11 years ago
Dave Syer 2648f3cfd6 Update Spring Batch to 3.0.0.RC2
Fixes gh-800
11 years ago
Dave Syer e118515d7a Use Flyway to bind flyway.*
Since Flyway has bean properties (with getters and setters)
it can be used to bin directly to the Environment (instead of
copying all the properties into FlywayProperties).

Fixes gh-806
11 years ago
Dave Syer 89e0b3d552 Add more detail to error handling docs 11 years ago
Dave Syer 7787b2ef6a Make Groovy templates work with Groovy 2.2
Fixes gh-890
11 years ago
Dave Syer e964b9eb34 Improved integration with Groovy 2.3.1
Groovy 2.3.1 has a new template loader abstraction that handles
compiler caching (better performance by factor of 10).
11 years ago
Dave Syer 85ac8f6b05 Add config hint to template error messages 11 years ago