- 04 Sep, 2014 4 commits
-
-
Phillip Webb authored
Fixes gh-1452
-
Phillip Webb authored
Add a `spring.jms.jndi-name` property to allow a JMS ConnectionFactory to be obtained from a custom JNDI location. Fixes gh-1471
-
Phillip Webb authored
-
Phillip Webb authored
Add `AnyNestedCondition` which can be used to create a logical 'or' of other conditions contained on nested classes. For example: static class OnJndiOrProperty extends AnyNestedCondition { @ConditionalOnJndi() static class OnJndi { } @ConditionalOnProperty("something") static class OnProperty { } } Fixes gh-1490
-
- 03 Sep, 2014 10 commits
-
-
Phillip Webb authored
-
Phillip Webb authored
Change SpringApplicationContextLoader to set active profiles using the `spring.profiles.active` environment property rather than calling `SpringApplication.setAdditionalProfiles`. This allows @ActiveProfiles to replace existing profiles rather than add to them which is consistent with the Spring TestContext Framework. Fixes gh-1469
-
Phillip Webb authored
-
Phillip Webb authored
Allow customization of the Apache HTTP Client used in TestRestTemplate via an options enum. Fixes gh-1497
-
Phillip Webb authored
-
Phillip Webb authored
Update LevelRemappingAppender to that any calls that aren't remapped are still logged. Fixes gh-1481
-
Stephane Nicoll authored
Prior to this commit, the repackage goal silently ignored the case of two libraries having the same name and version but a different group. As a result, the second library was overwriting the first one in the repackaged jar. This commit adds support for custom Library names and updates the Maven and Gradle plugins so that the name includes the group ID when there would otherwise be a duplicate. Fixes gh-1475
-
Phillip Webb authored
-
Stephane Nicoll authored
-
Stephane Nicoll authored
Fixes gh-1470
-
- 02 Sep, 2014 9 commits
-
-
Phillip Webb authored
Update ActiveMQ and HornetQ XA configurations to also expose non-xa ConnectionFactory variants. Fixes gh-1461
-
Phillip Webb authored
-
Stephane Nicoll authored
-
Stephane Nicoll authored
This commit clarifies the role of the 'addResources' flag and makes it explicit that any duplicate found in the target directory are actually removed Fixes gh-1479
-
Stephane Nicoll authored
-
Stephane Nicoll authored
This commit is a workaround until git-commit-id-plugin 2.1.11 is released. See also issue 124 of that project Fixes gh-1484
-
Phillip Webb authored
Update SampleAtomikosApplicationTests and SampleBitronixApplicationTests to not depend on any specific System.out order. Fixes gh-1472
-
Phillip Webb authored
-
Phillip Webb authored
Add additional constructor and a protected postProcessConverters method to make it easier to manipulate the final converter list that will be used. Fixes gh-1482
-
- 01 Sep, 2014 11 commits
-
-
Phillip Webb authored
Update HornetQConnectionFactoryConfiguration and HornetQXAConnectionFactoryConfiguration so that they no longer depend on the HornetQ EmbeddedJMS class. EmbeddedJMS beans are started (when possible) from the HornetQConnectionFactoryFactory. Fixes gh-1480
-
Phillip Webb authored
-
Phillip Webb authored
-
Phillip Webb authored
Expose `max` and `min`, alongside the existing `active` and `usage` metrics.
-
Phillip Webb authored
Rename CompositeDataSourcePoolMetadataProvider to DataSourcePoolMetadataProviders.
-
Phillip Webb authored
Import DataSourcePoolMetadataProvidersConfiguration from DataSourceAutoConfiguration so that PoolMetadataProviders are configured even if actuator is not used.
-
Phillip Webb authored
Create `org.springframework.boot.autoconfigure.jdbc.metadata` package and move DataSourcePoolMetadata classes.
-
Phillip Webb authored
Rename DataSourceMetadata to DataSourcePoolMetadata
-
Phillip Webb authored
-
Phillip Webb authored
Rename MetricDataSourceAutoConfiguration to DataSourceMetricsAutoConfiguration
-
Phillip Webb authored
-
- 29 Aug, 2014 6 commits
-
-
Stephane Nicoll authored
This commit improves DataSourceMetadata to expose the validation query. This can be used by DataSourceHealthIndicator as the query to use instead of "guessing" which query could be applied according to the database type. Fixes gh-1282
-
Stephane Nicoll authored
This commit complements 3dc932db and fix the package location of DataSourceMetadata. Fixes gh-1013
-
Stephane Nicoll authored
This commit adds an abstraction that provides a standard manner to retrieve various metadata that are shared by most data sources. DataSourceMetadata is implemented by the three data source implementations that boot supports out-of-the-box: Tomcat, Hikari and Commons dbcp. This abstraction is used to provide two additional metrics per data source defined in the application: the number of allocated connection(s) (.active) and the current usage of the connection pool (.usage). All such metrics share the 'datasource.' prefix. The prefix is further qualified for each data source: * If the data source is the primary data source (that is either the only available data source or the one flagged @Primary amongst the existing ones), the prefix is "datasource.primary" * If the data source bean name ends with "dataSource", the prefix is the name of the bean without it (i.e. batchDataSource becomes batch) * In all other cases, the name of the bean is used It is possible to override part or all of those defaults by registering a bean with a customized version of DataSourcePublicMetrics. Additional DataSourceMetadata implementations for other data source types can be added very easily, check DataourceMetadataProvidersConfiguration for more details. Fixes gh-1013
-
Stephane Nicoll authored
This commit avoids a script duplication: the integration test runs the sample instead of a copy of it in the repro directory. Also switched the sample from ActiveMQ to HornetQ as #323 revealed some locking on CI. Hopefully that should fix it as HornetQ is non persistent and can be embedded several times in the same VM. Fixes gh-1456
-
Phillip Webb authored
-
Phillip Webb authored
-