Commit Graph

8767 Commits (3e19f8aa8d0ffa4531cc8b9ec7383f198745302a)
 

Author SHA1 Message Date
Andy Wilkinson d41d732172 Merge pull request #6604 from Eddú Meléndez
* gh-6604:
  Ensure that @LiquibaseDataSource is preferred to “normal” DataSource
  Allow a DataSource to be marked as being specifically for Liquibase
8 years ago
Andy Wilkinson 7c54c3ff21 Ensure that @LiquibaseDataSource is preferred to “normal” DataSource
Closes gh-6604
8 years ago
Eddú Meléndez 8424965a10 Allow a DataSource to be marked as being specifically for Liquibase
This commit allows to configure a special DataSource to be used by
Liquibase by annotating it with @LiquibaseDataSource.

Closes gh-6614
8 years ago
Andy Wilkinson 11ccc5785c Merge branch '1.3.x' 8 years ago
Andy Wilkinson ae6182a964 Update requiresUnpack documentation of unpack location
The unpack location is (largely) an implementation detail and the
Repackage Mojo was the only place where it was explicity documented.
Rather than updating the outdated location, this commit removes it
entirely to avoid encouraging people to rely on the location.

Closes gh-6624
8 years ago
Andy Wilkinson ec9549f01f Downgrade to Jackson 2.7.6 and verify Elasticsearch’s compatibility
Closes gh-6508
8 years ago
Stephane Nicoll 0e1ca846c5 Merge pull request #6556 from rajadileepkolli:master
* pr/6556:
  Upgrade to Elasticsearch 2.3.5
8 years ago
Raja Dilip Kolli 4e0b581453 Upgrade to Elasticsearch 2.3.5
Closes gh-6556
8 years ago
Andy Wilkinson b47da0d265 Fix spellcheck warning introduced in 6bbd50e0
Closes gh-6628
8 years ago
Andy Wilkinson 8c106af384 Allow default value for CONF_FOLDER to be set at build time
Closes gh-6549
8 years ago
Andy Wilkinson 1d58247ecc Merge branch '1.3.x' 8 years ago
Phillip Webb a49f309ec1 Call afterProperties set in LogFileMvcEndpoint
Call afterPropertiesSet on the delegate `ResourceHttpRequestHandler`
to prevent an NPE. This change is required for compatibility with
Spring Framework 4.3 following SPR-13834.

Closes gh-6592
8 years ago
Andy Wilkinson 270530c4fd Fix class loading problems when CLI extensions are installed
Previously, CLI extensions where installed into the CLI's lib
directory which meant that they were on the class path of the app
class loader. Following the change to an executable jar's packaging,
this meant that they could not see classes in the CLI and a
ClassNotFoundException would result.

This commit updates the CLI to install extensions into lib/ext and
load commands using a new ClassLoader that has all of the jars in
lib/ext on its class path and that uses the launch class loader as
its parent.

Closes gh-6615
8 years ago
Andy Wilkinson b2420be886 Load FailureAnalyzers defensively
Previously, if a single FailureAnalyzer failed to load, no failure
analysis would be performed. This commit updates FailureAnalyzers to
load the analysers defensively so that all but the problematic analyzer
are used for analysis.

Closes gh-6606
8 years ago
Andy Wilkinson 22ac6bcb2d Break GaugeWriter dependency cycle in MetricExportAutoConfiguration
Previously, MetricExportAutoConfiguration consumed
ExportMetricWriter-annotated GaugeWriter beans in its constructor and
also produced such a bean from one of its @Bean methods. This cycle
caused a BeanCurrentlyInCreationException to be thrown when the
bean method was active (the spring.metrics.export.statsd.host property
was set).

This commit break the cycle by moving the bean method into a separate,
nested configuration class. It also updates the existing test for
auto-configuration of a Statsd writer to catch any possible cycles
and to verify that the writer has be registered with the
MetricsExporter.

Closes gh-6544
8 years ago
Andy Wilkinson 899b851c6f Remove META-INF/INDEX.LIST when repackaging a jar file
META-INF/INDEX.LIST files are pointless in an executable jar and
moving application classes from the root of the jar to
BOOT-INF/classes breaks the index, resulting in an
InvalidJarIndexException being thrown.

This commit updates the Repackager to automatically remove a
META-INF/INDEX.LIST file from a jar file that is being repackaged.

Closes gh-6601
8 years ago
Andy Wilkinson f4985abf3c Use factoryBeanObjectType attribute to find factory bean to replace
Previously, MockitoPostProcessor would fail to replace a factory bean
with a mock if the factory bean didn't return a matching type from
getObjectType(). This prevented Spring Data respoitories from being
replaced with a mock as Spring Data's repository factory beans
generally do not know the specific repository type that they will
produce when MockPostProcesser (a bean factory post-processor) is
running.

Spring Data has been updated to add a factoryBeanObjectType attribute
to its factory bean definitions. MockitoPostProcessor has been updated
to look for FactoryBeans with this attribute and to use its value
to determine whether or not the factory bean produces a bean of the
required type and, therefore, should be replaced with a mock.

Closes gh-6541
8 years ago
Stephane Nicoll 5fcadcee6e Polish documentation
Closes gh-6576
8 years ago
Stephane Nicoll 45bc63a725 Merge pull request #6589 from drumonii:doc-webjar-locator-jboss
* pr/6589:
  Document webjar-locator usage with JBoss
8 years ago
drumonii 80b5789d46 Document webjar-locator usage with JBoss
Closes gh-6589
8 years ago
Stephane Nicoll fc636c1db7 Merge pull request #6600 from nagarajasr:master
* pr/6600:
  Apply sytem properties on HttpClient
8 years ago
nagarajasr 0996615ac3 Apply sytem properties on HttpClient
Closes gh-6600
8 years ago
Stephane Nicoll 2a94e05775 Add a note about Jackson and Java6
See gh-6536
8 years ago
Andy Wilkinson 19cddd650d Merge branch '1.3.x' 8 years ago
Andy Wilkinson cec6015f8a Cope with null server or management port when creating curie provider
Previously, a NullPointerException would occur if
endpoints.docs.curies.enabled was true and the default value was being
used for either server.port or management.port.

EndpointWebMvcHypermediaManagementContextConfiguration has been
restructured to ensure that the DocsMvcEndpoint bean is defined before
the condition on its existence is evaluated. Previously this was
dependant on the class’s bean methods being processed in a particular
ordering, something that would be ok when using ASM but would vary when
using reflection.

Closes gh-6584
8 years ago
Andy Wilkinson a729d48bd3 Start building against Spring Data Hopper SR3 snapshots
Closes gh-6567
See gh-6583
8 years ago
Andy Wilkinson 1b42e1aaa3 Recommend setting spring.thymeleaf.mode: HTML when using Thymeleaf 3
Closes gh-6552
8 years ago
Stephane Nicoll 38e3b36605 Merge pull request #6580 from vpavic:cxf-reference
* pr/6580:
  Polish contribution
  Add reference to Apache CXF integration
8 years ago
Stephane Nicoll b4186e0c9d Polish contribution
Closes gh-6580
8 years ago
Vedran Pavic 98b4d00828 Add reference to Apache CXF integration
See gh-6580
8 years ago
Stephane Nicoll 3b4e4f175a Polish 8 years ago
Phillip Webb f38bd7af37 Extract GSON/Jackson config to inner classes
Update JsonTestersAutoConfiguration so that GSON and Jackson specific
configuration are inner classes. This should prevent ClassNotFound
exception when the libraries are not on the classpath.

Fixes gh-6502
8 years ago
Stephane Nicoll 80a1897ccb Remove useless postgresql alias
See gh-6534
8 years ago
Stephane Nicoll f07cb01012 Merge pull request #6492 from zhanhb:patch-1
* pr/6492:
  Fix `spring-boot-legacy` version
8 years ago
zhanhb 8d84123762 Fix `spring-boot-legacy` version
Closes gh-6492
8 years ago
Stephane Nicoll a1ed7c5fed Merge pull request #6534 from vpavic:gh-6533
* pr/6534:
  Polish contribution
  Fix aliases for database names in `JdbcSessionDatabaseInitializer`
8 years ago
Stephane Nicoll 90c67daec1 Polish contribution
Closes gh-6534
8 years ago
Vedran Pavic b5e2bff1a4 Fix aliases for database names in `JdbcSessionDatabaseInitializer`
See gh-6354
8 years ago
Stephane Nicoll 81094e4b23 Merge branch '1.3.x' 8 years ago
Stephane Nicoll f186008d1f Fix Groovy version in INSTALL.txt
This commit uses maven filtering to set the Groovy version rather than an
hard-coded value that can be easily outdated.

Closes gh-6530
8 years ago
Stephane Nicoll 9cb95f423c Fix typo
Closes gh-6518
8 years ago
Stephane Nicoll 3f14bdc01d Add missing type condition on JdbcTemplateAutoConfiguration
Closes gh-6499
8 years ago
Brian Clozel d62827373d Fix Bean Condition on GsonTester FactoryBean
This commit fixes the `@ConditionalOnClass` typo on the GsonTester
FactoryBean, which was testing for `ObjectMapper` instead of `Gson`.

This means that the next condition `@ConditionalOnBean(Gson.class)`
throws a `ClassNotFoundException: com.google.gson.Gson` since it's
trying to load that class to check for an existing Bean of that type.

Fixes gh-6502
8 years ago
Phillip Webb c7a23eae56 Fixup version numbers following release 8 years ago
Spring Buildmaster 334baaeffd Next development version 8 years ago
Phillip Webb 405299a95a Generate empty spring-boot-docs jar
Update spring-boot-docs so that an empty jar file is produced. The
code is only needed for documentation includes and if included in the
deployed jar seems to prevent promotion to Maven Central.

Fixes gh-6495
8 years ago
Stephane Nicoll 9bb6b8a012 Upgrade to Spring Framework 4.3.2.RELEASE
Closes gh-6318
8 years ago
Stephane Nicoll b214ed5eda Merge branch '1.3.x' 8 years ago
Stephane Nicoll 29cd3c42e1 Fixup version numbers following release 8 years ago
Spring Buildmaster a89ef5df6e Next Development Version 8 years ago