Phillip Webb
21d80d87a3
Merge branch '1.5.x' into 2.0.x
7 years ago
Phillip Webb
e69296d7d3
Fix checkstyle violations in samples
7 years ago
Phillip Webb
4853477081
Reformat code
7 years ago
Stephane Nicoll
7473642f58
Harmonize endpoints exclude property
...
Closes gh-11914
7 years ago
Phillip Webb
adfb6dc128
Polish
7 years ago
Madhura Bhave
d65f9b25bc
Remove redundant throws Exception
7 years ago
Stephane Nicoll
23218add90
Polish
7 years ago
Johnny Lim
6d54072e04
Remove "final" keywords
...
Closes gh-11294
7 years ago
Stephane Nicoll
dfc0e392ed
Polish "Fix references to management related properties"
...
Closes gh-11091
7 years ago
Vedran Pavic
63aef58d30
Fix references to management related properties
...
See gh-11091
7 years ago
Phillip Webb
c55b5d7111
Polish
7 years ago
Andy Wilkinson
5aa66305a8
Log warning when open-in-view is implicitly enabled for JPA or Neo4j
...
Closes gh-7107
7 years ago
Stephane Nicoll
d89ff8cb28
Polish sample
...
Closes gh-10330
7 years ago
Phillip Webb
302f038e84
Polish
8 years ago
Madhura Bhave
dc7b3f6d6e
Update samples to use new generator mappings
...
Closes gh-7612
8 years ago
Phillip Webb
45dd9f7144
Polish
8 years ago
Madhura Bhave
bc1ee76b55
Change default for new_generator_mappings to true
...
Closes gh-7612
8 years ago
Phillip Webb
aacf5d660f
Update copyright year for changed files
8 years ago
Phillip Webb
273beaa3ce
Polish
8 years ago
Stephane Nicoll
c903ff46a7
Polish samples
8 years ago
Stephane Nicoll
a19a28062f
Fix actuator security in samples
...
Closes gh-7637
8 years ago
Phillip Webb
b398b3319c
Rename @SpringApplicationTest -> @SpringBootTest
...
Rename @SpringApplicationTest to SpringBootTest and
@SpringApplicationContextLoader to @SpringBootContextLoader.
Fixes gh-5562
9 years ago
Phillip Webb
4d404b214c
Migrate away from @SpringApplicationConfiguration
...
Refactor internal tests to no longer use @SpringApplicationConfiguration
See gh-5562
9 years ago
Phillip Webb
c28f552883
Migrate SpringJUnit4ClassRunner to SpringRunner
...
Replace all existing SpringJUnit4ClassRunner references with the new
SpringRunner alias.
Fixes gh-5292
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
e473364e4e
Merge branch '1.2.x'
9 years ago
Phillip Webb
6ab376e2e8
Reformat code use Eclipse Mars
9 years ago
Stephane Nicoll
0d2797ddd5
Polish contribution
...
Closes gh-3936
9 years ago
Stephane Nicoll
7c0c953f81
Add value alias for SpringApplicationConfiguration
...
Given that Spring Boot uses java config accross the board, a new `value`
attribute is now aliased to the existing `classes` attribute such that
one could write the following:
@SpringApplicationConfiguration(MyConfig.class)
public class MyTest {}
Closes gh-3635
9 years ago
Phillip Webb
61fc4f3f12
Polish copyright headers
10 years ago
Phillip Webb
1ce617f1ae
Polish sample package names
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
8bcda1bcbe
Polish
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
a5543f18b9
Add callback for modifying or inspecting LocalContainerEntityManagerFactoryBean
...
A callback is added in autoconfig, so that if users inject the EntityManagerFactoryBuilder
into their app and use it to create multiple EntityManagerFactories, they all get the
same deferred DDL behaviour. The deferred DDL can also be disabled by setting
spring.jpa.hibernate.deferDdl=true.
Fixes gh-894
11 years ago
Dave Syer
2cc5bdfa09
Hack to force Flyway to initialize early
11 years ago
Dave Syer
9ba88cf6b4
Add JPA to flyway sample
11 years ago
Dave Syer
7e3614e6e0
Fix samples that need jdbc and don't import it
11 years ago
Dave Syer
5548b24c4c
Add autoconfig support for Flyway migrations
...
Flyway starts up with its default settings if it is on the classpath.
You can also ask Boot to barf if the migration scripts are missing.
Fixes gh-730
11 years ago