Spring Buildmaster
376bbe68d8
Next Development Version
10 years ago
Phillip Webb
b398b3319c
Rename @SpringApplicationTest -> @SpringBootTest
...
Rename @SpringApplicationTest to SpringBootTest and
@SpringApplicationContextLoader to @SpringBootContextLoader .
Fixes gh-5562
10 years ago
Phillip Webb
4d404b214c
Migrate away from @SpringApplicationConfiguration
...
Refactor internal tests to no longer use @SpringApplicationConfiguration
See gh-5562
10 years ago
Phillip Webb
c28f552883
Migrate SpringJUnit4ClassRunner to SpringRunner
...
Replace all existing SpringJUnit4ClassRunner references with the new
SpringRunner alias.
Fixes gh-5292
10 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
10 years ago
Spring Buildmaster
225d877ab9
Next Development Version
10 years ago
Andy Wilkinson
44ddfcc7fa
Upgrade copyright headers of all files changed in 2016
10 years ago
Phillip Webb
1cc1fc6431
Use AssertJ in spring-boot-samples
...
See gh-5083
10 years ago
Stephane Nicoll
8e3d63ab6a
Polish contribution
...
Closes gh-4632
10 years ago
Huang YunKun
d796845664
Remove deprecated use of spring.mvc.*
...
Closes gh-4086
10 years ago
Phillip Webb
fbaf209240
Move master to 1.4.0.BUILD-SNAPSHOT
10 years ago
Spring Buildmaster
504d3e97ba
Next development version
10 years ago
Spring Buildmaster
8db59059a5
Next Development Version
10 years ago
Stephane Nicoll
bb736e255b
Fix SNAPSHOT version
10 years ago
Johnny Lim
8ec00c35bf
Polish
...
Closes gh-4572
10 years ago
Spring Buildmaster
3f6f57a80e
Next Development Version
10 years ago
Phillip Webb
634bb770b2
Organize imports with new settings
...
See gh-4234
10 years ago
Phillip Webb
a79131f8d2
Organize imports with new settings
...
See gh-4234
10 years ago
Spring Buildmaster
2b38a861e3
Next Development Version
10 years ago
Spring Buildmaster
9409c49c10
Next development version
10 years ago
Phillip Webb
2615990ffb
Organize imports
10 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
10 years ago
Spring Buildmaster
7ce391db4f
Next development version
11 years ago
Andy Wilkinson
0bb0f32c88
Reinstate code in Data REST sample that went AWOL in 1ce617f1
11 years ago
Phillip Webb
1ce617f1ae
Polish sample package names
11 years ago
Spring Buildmaster
5d81c87b43
Next Development Version
11 years ago
Andy Wilkinson
d13878e193
Upgrade to Spring Data Fowler RELEASE
...
The versions in the dependency management for the various datastore
dependencies have been aligned with those used by Spring Data Fowler.
The Data REST tests and sample application has been updated to configure
the base path in favour of the deprecated base uri property
Closes gh-2673
11 years ago
Spring Buildmaster
e03c11dda8
Next development version
11 years ago
Spring Buildmaster
b8d2a55b30
Next development version
11 years ago
Andy Wilkinson
cb067ee00c
Align expectations with Spring Data REST’s new behaviour in Fowler
...
The response produced by Spring Data REST to a search that will always
return a single result, i.e. the return type is Foo rather than
List<Foo> or Page<Foo> has improved in Fowler. Previously, the response
would contain a single embedded resource. In Fowler, the response now
contains the resource that used to be embedded as a top-level resource.
This commit updates the expectations in one of the sample’s tests to
match this new behaviour.
See gh-2673
11 years ago
Phillip Webb
a57a88f5cf
Move master to 1.3.0.BUILD-SNAPSHOT
11 years ago
Spring Buildmaster
8f0ad02237
Next development version
11 years ago
Spring Buildmaster
aea68f0c32
Next development version
11 years ago
Spring Buildmaster
60725cd8bd
Next development version
11 years ago
Spring Buildmaster
63e6a25097
Next development version
11 years ago
Spring Buildmaster
1a788c1741
Next development version
11 years ago
Spring Buildmaster
46b7738334
Next development version
11 years ago
Phillip Webb
d039f43107
Update samples to use @SpringBootApplication
...
Update the relevant samples to use the new @SpringBootApplication
annotation.
Closes gh-1842
11 years ago
Andy Wilkinson
a85e02fbb9
Update to Spring Data Evans SR1
...
Closes gh-1709
11 years ago
Spring Buildmaster
3e71a21b30
Next development version
11 years ago
Andy Wilkinson
07cb8f2836
Ensure that spring.data.rest.* configuration takes effect
...
Previously, RepositoryRestMvcBootConfiguration was not annotated with
@Configuration . This meant that it was processed in lite mode.
Crucially, in lite mode, there’s no proxying so each call to the
config() @Bean method from within other @Bean methods resulted in the
creation of a new RepositoryRestConfiguration instance. Furthermore, as
each of these instances wasn’t a Spring bean the configuration
properties were not applied.
This commit updates RepositoryRestMvcBootConfiguration to annotate it
with @Configuration so that it’s no longer processed in lite mode. It
also updates the unit tests and the Spring Data REST sample to verify
that the baseUri can be configured using application.properties.
Fixes gh-1675
11 years ago
Andy Wilkinson
61e90f5b6e
Add tests to Data REST sample for search operations
...
Closes gh-1627
11 years ago
bangsen.yin
b798d001d7
Add missing @Param annotations to CityRepository in Data REST sample
...
Without the @Param annotations, using either of the search URIs would
resulted in a 400 response and an error describing the lack of @Param
annotation.
See gh-1627
11 years ago
Spring Buildmaster
edb4b7ed7d
Next development version
11 years ago
Spring Buildmaster
d63e4b4329
Next development version
11 years ago
Spring Buildmaster
74d0c5185a
Next development version
12 years ago
Stephane Nicoll
249e09d9bc
Switch master to 1.2.0.BUILD-SNAPSHOT
12 years ago
Spring Buildmaster
40327e1ae6
Next development version
12 years ago
Phillip Webb
fa88c481a5
Remote trailing whitespace
12 years ago
Spring Buildmaster
981669b7c0
Next development version
12 years ago