- 06 Jan, 2014 4 commits
-
-
Dave Syer authored
-
Greg Turnquist authored
The collection of outcomes is a list. Sometimes a race condition causes to instances of the same outcome to get added to the list shown in the report. By replacing this with a set and propery equals/hashCode, duplicates are prevented from appearing in the report. I added test cases to prove that that POJO is properly managed inside a Set and also to show that duplicates don't appear in the final report.
-
Dave Syer authored
Autoconfiguration ordering has to be adjusted so that a DataSource is available before an EntityManagerFactory is ever needed. Previously the autoconfigs were accidentally loaded in the right order, but after the change to BatchAutoConfiguration the order has to be explicit. Fixes gh-189
-
Dave Syer authored
-
- 03 Jan, 2014 2 commits
- 02 Jan, 2014 9 commits
-
-
Phillip Webb authored
-
Phillip Webb authored
Change SpringCli so that running without arguments no longer jumps into the embedded REPL shell. This restores the ability to obtain quick usage help by simply typing `spring` from the command prompt. Windows users or developers that prefer the embedded shell can still launch it using `spring shell`.
-
Phillip Webb authored
-
Phillip Webb authored
-
Phillip Webb authored
Change OptionHandler to support '-cp' instead of '--cp'. This update to the original fix (045088e8) renders `help` output correctly and should prevent potential issues if a `-p` command is added in the future. Fixes gh-178
-
Phillip Webb authored
Defer loading of Servlets (with a loadOnStartup priority) until the `EmbeddedServletContainer.start()` method is called. This prevents issues with the DispatcherServlet being initialized before the embedded ApplicationContext is fully initialized.
-
Phillip Webb authored
-
Phillip Webb authored
-
Phillip Webb authored
-
- 31 Dec, 2013 3 commits
-
-
Dave Syer authored
Fixes gh-178
-
Janne Valkealahti authored
This small change now plays nice with wildcard classpath entries coming from a parent classloader as its urls.
-
Dave Syer authored
Long package names are really unnecessary in samples and they just clutter things up. Also Spring Loaded doesn't work with org.sfw packages, so to demo that technology you need a different package name.
-
- 30 Dec, 2013 5 commits
-
-
Dave Syer authored
-
Dave Syer authored
-
Dave Syer authored
-
Dave Syer authored
Main user-facing interface is still Counter/GaugeService but the back end behind that has more options. The Default*Services write metrics to a MetricWriter and there are some variants of that, and also variants of MetricReader (basic read-only actions). MetricRepository is now a combination of MetricReader, MetricWriter and some more methods that make it a bit more repository like. There is also a MultiMetricReader and a MultiMetricRepository for the common case where metrics are stored in related (often open ended) groups. Examples would be complex metrics like histograms and "rich" metrics with averages and statistics attached (which are both closed) and "field counters" which count the occurrences of values of a particular named field or slot in an incoming message (e.g. counting Twitter hastags, open ended). In memory and redis implementations are provided for the repositories. Generally speaking the in memory repository should be used as a local buffer and then scheduled "exports" can be executed to copy metric values accross to a remote repository for aggregation. There is an Exporter interface to support this and a few implementations dealing with different strategies for storing the results (singly or grouped). Codahale metrics are also supported through the MetricWriter interface. Currently implemented through a naming convention (since Codahale has a fixed object model this makes sense): metrics beginning with "histogram" are Histograms, "timer" for Timers, "meter" for Meters etc. Support for message driven metric consumption and production are provided through a MetricWriterMessageHandler and a MessageChannelMetricWriter. No support yet for pagination in the repositories, or for HATEOAS style HTTP endpoints.
-
Dave Syer authored
-
- 28 Dec, 2013 2 commits
-
-
Oliver Gierke authored
Added the necessary @ConditionalOnMissingBean annotations to allow selectively declaring an EntityManagerFactoryBean, a JpaVendorAdapter or a PlatformTransactionManager. Especially the first one might be necessary to make sure the persistence provider evaluates an orm.xml. This unfortunately rules out using the packages to scan feature of Spring's LCEMFB. I've filed https://jira.springsource.org/browse/SPR-11260 to potentially remove the need for this workaround in Spring itself.
-
Oliver Gierke authored
-
- 27 Dec, 2013 5 commits
- 26 Dec, 2013 8 commits
-
-
Christian Dupuis authored
-
Christian Dupuis authored
-
Christian Dupuis authored
Change configuration to use ConfigurationProperties instead of direct access to environment for MBean export
-
Dave Syer authored
-
Dave Syer authored
-
Dave Syer authored
-
Christian Dupuis authored
Rework EndpointMBeanExporter to prevent name clashes and to provide more flexibility in naming of endpoint MBeans
-
Dave Syer authored
-
- 24 Dec, 2013 2 commits