Andy Wilkinson
ccd19ce2c3
Merge branch '1.3.x'
9 years ago
Andy Wilkinson
275651e89a
Skips Cassandra and Elasticsearch tests on Windows
...
Neither Cassandra nor Elasticsearch starts reliably on Windows. This
commit adds a custom class rule to the associated sample application
tests to skip them on Windows. A class rule is used rather than a
Unit assumption as we want to avoid starting Elasticsearch (done by
the application context) and Cassandra (done by a test execution
listener) and an assumption would be too late.
9 years ago
Johnny Lim
38dc9ec441
Polish
9 years ago
Phillip Webb
944a49bd58
Tweak Elasticsearch sample timeout
9 years ago
Stephane Nicoll
05ef0818f8
Polish contribution
...
Closes gh-5511
9 years ago
Huang YunKun
6a2ff3f02a
Upgrade elasticsearch to 2.2.0
...
Closes gh-5443
9 years ago
Phillip Webb
2f815a907a
Migrate existing tests from deprecated package
...
Update the existing tests to use the relocated `spring-boot-test`
classes. Restructuring was achieved using the following command:
find . -type f -name '*.java' -exec sed -i '' \
-e s/org.springframework.boot.test.ConfigFileApplicationContextInitializer/\
org.springframework.boot.test.context.ConfigFileApplicationContextInitializer/g \
-e s/org.springframework.boot.test.EnvironmentTestUtils/\
org.springframework.boot.test.util.EnvironmentTestUtils/g \
-e s/org.springframework.boot.test.IntegrationTest/\
org.springframework.boot.test.context.IntegrationTest/g \
-e s/org.springframework.boot.test.IntegrationTestPropertiesListener/\
org.springframework.boot.test.context.IntegrationTestPropertiesListener/g \
-e s/org.springframework.boot.test.OutputCapture/\
org.springframework.boot.test.rule.OutputCapture/g \
-e s/org.springframework.boot.test.SpringApplicationConfiguration/\
org.springframework.boot.test.context.SpringApplicationConfiguration/g \
-e s/org.springframework.boot.test.SpringApplicationContextLoader/\
org.springframework.boot.test.context.SpringApplicationContextLoader/g \
-e s/org.springframework.boot.test.SpringBootMockServletContext/\
org.springframework.boot.test.mock.web.SpringBootMockServletContext/g \
-e s/org.springframework.boot.test.TestRestTemplate/\
org.springframework.boot.test.web.client.TestRestTemplate/g \
-e s/org.springframework.boot.test.WebIntegrationTest/\
org.springframework.boot.test.context.web.WebIntegrationTest/g {} \;
See gh-5293
9 years ago
Andy Wilkinson
44ddfcc7fa
Upgrade copyright headers of all files changed in 2016
9 years ago
Phillip Webb
1cc1fc6431
Use AssertJ in spring-boot-samples
...
See gh-5083
9 years ago
Phillip Webb
1e4d974ec0
Merge remote-tracking branch 'local12x/1.2.x'
9 years ago
Phillip Webb
a79131f8d2
Organize imports with new settings
...
See gh-4234
9 years ago
Phillip Webb
1ce617f1ae
Polish sample package names
10 years ago
Phillip Webb
968b68c322
Polish
10 years ago
Andy Wilkinson
dabbb02dfe
Prevents tests that use Elasticsearch from polluting the filesystem
...
By default, Elasticsearch writes it data to ./data. This led to data
being left on the filesystem after a mvn clean which could cause
failures when moving between branches that use different versions of
Elasticsearch.
This commit updates the tests for the Elasticsearch sample and
the Elasticsearch auto-configuration classes to write the
Elasticsearch data and logs into the target directory.
10 years ago
Phillip Webb
a1cbd93d6b
Ensure local Elasticsearch nodes are closed
...
Update ElasticsearchAutoConfiguration to ensure that local nodes are
closed when the context is closed. Prior to this commit the close()
method of the Client would be called which had no effect for local
Nodes.
Fixes gh-2480
10 years ago
Phillip Webb
d039f43107
Update samples to use @SpringBootApplication
...
Update the relevant samples to use the new @SpringBootApplication
annotation.
Closes gh-1842
10 years ago
Phillip Webb
fa88c481a5
Remote trailing whitespace
11 years ago
Phillip Webb
9632abf825
Formatting and cleanup
11 years ago
Artur Konczak
99940337a9
Add support for Elasticsearch
...
Add auto-configuration and starters for Elasticsearch.
Fixes gh-408
11 years ago