Andy Wilkinson
821ee0cf83
Ensure that @Bean methods are only declared on @Configuration classes
...
Closes gh-16190
6 years ago
Andy Wilkinson
2ed7cf84e1
Fix up version numbers following release
6 years ago
Spring Buildmaster
b04710d744
Next development version
6 years ago
Andy Wilkinson
0741c90489
Avoid blocking on a Mono indefinitely
...
Closes gh-15535
6 years ago
Stephane Nicoll
542b8985ad
Fixup version numbers following release
6 years ago
Spring Buildmaster
9bb64a3493
Next Development Version
6 years ago
Andy Wilkinson
fc60dcd972
Fix up version numbers following release
6 years ago
Spring Buildmaster
4d24feb443
Next development version
6 years ago
Stephane Nicoll
f225945218
Merge branch '1.5.x' into 2.0.x
6 years ago
Stephane Nicoll
3b51d79353
Remove useless jcache profile
...
Closes gh-14584
6 years ago
Stephane Nicoll
6e92c4ddaf
Polish
6 years ago
Andy Wilkinson
3ab6d12c56
Fix up version numbers following release
6 years ago
Spring Buildmaster
46df506b0a
Next development version
6 years ago
Phillip Webb
45613f8c3c
Merge branch '1.5.x' into 2.0.x
6 years ago
Phillip Webb
a50686b404
Surface additional rabbit SSL factory properties
...
Add `validate-server-certificate` and `verify-hostname` properties to
`spring.rabbitmq.ssl` to allow additional SSL configuration.
Closes gh-14259
6 years ago
Phillip Webb
9543fcf44d
Upgrade to spring-javaformat 0.0.6
6 years ago
Madhura Bhave
c7b4a992be
Fix formatting
6 years ago
Madhura Bhave
b93c2b9a9f
Allow actuator endpoints to be used with mvcMatchers
...
This commit changes AbstractWebMvcEndpointHandlerMapping to
be a MatchableHandlerMapping. Additionally, EndpointRequest,
now delegates to MvcRequestMatcher for Spring MVC applications.
For all other applications, AntPathRequestMatcher is used as
a delegate.
Closes gh-13962
6 years ago
Stephane Nicoll
e51c26efdc
Fixup version numbers following release
6 years ago
Spring Buildmaster
73bf744cb0
Next Development Version
6 years ago
Phillip Webb
0ec22c8bf9
Polish copyright date on changed files
6 years ago
Phillip Webb
aeb885192e
Polish ternary expressions
6 years ago
Phillip Webb
9ca9a491ca
Fix checkstyle issues in samples
...
Fix checkstyle issues with samples following the
spring-javaformat upgrade.
See gh-13932
6 years ago
Stephane Nicoll
b6f6dca7f8
Remove useless profile
6 years ago
Stephane Nicoll
5ccb19500b
Polish
6 years ago
Stephane Nicoll
64c668f766
Polish
6 years ago
Johnny Lim
068e22d60b
Polish
...
See gh-13776
6 years ago
Andy Wilkinson
30f0fd1fe4
Merge branch '1.5.x' into 2.0.x
7 years ago
Andy Wilkinson
b1d8cc55fc
Polish "Fix JSP availability check when not running as a packaged war"
...
Closes gh-12859
7 years ago
Stephane Nicoll
af126b1bb3
Fixup version numbers following release
7 years ago
Spring Buildmaster
36b8639853
Next Development Version
7 years ago
Johnny Lim
870d7fe16a
Use @SpringBootTest.properties in tests and samples
...
Closes gh-13453
7 years ago
Phillip Webb
e3bf518819
Merge branch '1.5.x' into 2.0.x
7 years ago
Phillip Webb
6c7289b822
Allow META-INF/resources in WAR classes folder
...
Update `TomcatResources` so that `META-INF/resources` folders in
`src/main/resources` no longer fail with a "URI is not hierarchical"
exception.
Closes gh-13265
7 years ago
Phillip Webb
571c50e43f
Switch to functional web code to use static imports
...
Update the samples and tests to use the more idiomatic static import
style.
7 years ago
Phillip Webb
2274ac5214
Move spring-javaformat plugins to root POM
...
Relocate spring-javaformat plugins to the root of the project.
Closes gh-13306
7 years ago
Phillip Webb
401fcbeaa4
Merge branch '1.5.x' into 2.0.x
7 years ago
Phillip Webb
2bfcefa48e
Reinstate support for disabling build checking
...
Closes gh-13291
7 years ago
Phillip Webb
e38d5f910b
Merge branch '1.5.x' into 2.0.x
7 years ago
Phillip Webb
09fa1e7e11
Polish
7 years ago
Phillip Webb
b03f890567
Upgrade to spring-javaformat 0.0.2
7 years ago
Phillip Webb
6f0ccc64a5
Fix checkstyle violations
7 years ago
Phillip Webb
9fd3b9103a
Format code
7 years ago
Phillip Webb
e544922dd7
Merge branch '1.5.x' into 2.0.x
7 years ago
Phillip Webb
e75d8eaf40
Switch to spring-javaformat plugin
...
Use `spring-javaformat` to format and check code. Code formatting can
now be applied using the `spring-javaformat-maven-plugin` from the
command line. Existing checkstyle rules have also been replaced and
the CONTRIBUTING.adoc file has been updated.
Closes gh-13255
7 years ago
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
d5abd57a91
Remove deprecated use of spring.main.web-environment
...
Closes gh-13231
7 years ago
Andy Wilkinson
d2cef484cb
Fix up version numbers following release
7 years ago
Spring Buildmaster
010b4fccbd
Next development version
7 years ago
Phillip Webb
5b3cb8a698
Update copyright header year for changed files
7 years ago
Phillip Webb
99dad81e9a
Update copyright header year for changed files
7 years ago
Phillip Webb
e125085993
Merge branch '1.5.x' into 2.0.x
7 years ago
Phillip Webb
3ee777e142
Polish ternary expressions
...
Consistently format ternary expressions and always favor `!=` as the
the check.
7 years ago
Stephane Nicoll
3c169b4e0a
Fix bean name of EnvironmentEndpointWebExtension
...
Closes gh-12827
7 years ago
Johnny Lim
f03849d502
Polish
...
See gh-12812
7 years ago
Phillip Webb
370915f8f0
Fixup version numbers following release
7 years ago
Spring Buildmaster
c10aad165f
Next Development Version
7 years ago
Stephane Nicoll
3634a1d9d1
Fixup version numbers following release
7 years ago
Spring Buildmaster
ade4760842
Next Development Version
7 years ago
Andy Wilkinson
8608202e56
Remove Surefire workarounds that are not needed with 2.21
...
Closes gh-12721
7 years ago
Andy Wilkinson
4a47ab4b3e
Make JAX-B available to the Jersey 1 sample on Java 9
7 years ago
Phillip Webb
7242ddae3c
Polish
7 years ago
Stephane Nicoll
ade6d86b65
Polish "Use secure connection to repositories"
...
Closes gh-12629
7 years ago
Phillip Webb
a8f366a554
Fix copyright header for edited files
7 years ago
Phillip Webb
a4b0be089d
Polish
7 years ago
Andy Wilkinson
43d05315b3
Use Surefire and Failsafe 2.21.0 when building with JDK 10
...
Closes gh-12332
7 years ago
Madhura Bhave
89e42d40c5
Provide security matchers for actuator links
...
Fixes gh-12353
7 years ago
Madhura Bhave
e6eca04af2
Make EndpointRequestMatcher#excluding public
...
Fixes gh-12354
7 years ago
Andy Wilkinson
82c95e136f
Avoid problems with Failsafe when building samples with JDK 10
...
See gh-12028
7 years ago
Andy Wilkinson
065456a4af
Make JAX-B available to Jersey sample when building with JDK 10
...
See gh-12028
7 years ago
Andy Wilkinson
1bd0313c3d
Avoid problems with Surefire when building samples with JDK 10
...
See gh-12028
7 years ago
Andy Wilkinson
f7c8be1877
Apply java9 profile to JDK 10 (and later) as well as JDK 9
...
See gh-12028
7 years ago
Stephane Nicoll
c2c8b7dfe8
Clarify the required changes to run certain samples with Java9
...
This commit moves the Java9-specific profile to each sample rather than
impacting all samples. That way, affected samples are more self
contained.
Closes gh-12302
7 years ago
Andy Wilkinson
5d041a628b
Disable Jetty JSP sample tests with Java 9
...
Closes gh-10456
7 years ago
Andy Wilkinson
0858e9b368
Remove AspectJ version override in the samples' build
...
As of AspectJ 1.8.13, the override is no longer necessary to build
the samples.
See gh-11095
7 years ago
Andy Wilkinson
6336aa3956
Reinstate testing of JSP samples using Java 9
...
Closes gh-10456
7 years ago
Phillip Webb
9bee9e9cf9
Polish
7 years ago
Madhura Bhave
df337eaf5e
Fix author name
7 years ago
Phillip Webb
29c3be3590
Polish
7 years ago
Stephane Nicoll
b4a7e1d64b
Use toLowerCase() and toUpperCase() with Locale.ENGLISH
...
This commit updates all `toLowerCase()` and `toUpperCase` invocations to
use the variant that takes a `Locale` to avoid locale-specific side
effect.
Closes gh-12213
7 years ago
Phillip Webb
4b9c3c137e
Polish Collection.toArray
...
Consistently use `StringUtils.toStringArray`, `ClassUtils.toClassArray`
or zero length when converting collections to arrays.
Fixes gh-12160
7 years ago
Phillip Webb
cd5266ac03
Polish
7 years ago
Phillip Webb
9e75680e6f
Polish
7 years ago
Madhura Bhave
51de220b55
Enable CSRF protection by default
...
Fixes gh-11758
7 years ago
Andy Wilkinson
17c7f027e0
Add details of the request mapping conditions to mappings endpoint
...
Closes gh-12080
7 years ago
Madhura Bhave
85aeb5c00d
Fix path in tests
7 years ago
Phillip Webb
0348889fd7
Polish
7 years ago
Brian Clozel
2be0c46562
Remove TestRestTemplate constructors taking template args
...
As discussed in gh-11872, `TestRestTemplate` constructor variants taking
a `RestTemplate` argument are confusing since the main goal of that
class is to mutate `RestTemplate`.
This commit removes all those constructor variants and replaces them
with `RestTemplateBuilder` arguments when possible.
Closes gh-11872
7 years ago
Stephane Nicoll
7473642f58
Harmonize endpoints exclude property
...
Closes gh-11914
7 years ago
Andy Wilkinson
6d1d9eb816
Polish
7 years ago
Phillip Webb
5de46c3186
Polish
7 years ago
Phillip Webb
798522d890
Format with Eclipse Oxygen SR2
7 years ago
Stephane Nicoll
07fa8bcf75
Polish "Add Kafka sample"
...
Closes gh-11597
7 years ago
xinhc
89e1d95363
Add Kafka sample
...
See gh-11597
7 years ago
Andy Wilkinson
a09c64e18c
Polish
7 years ago
Andy Wilkinson
70c613819d
Fix incomplete calls to assertThat
7 years ago
Andy Wilkinson
76a450dfba
Format with Eclipse Oxygen SR2
7 years ago
Andy Wilkinson
8605499a64
Provide more control over when the health endpoint shows details
...
Closes gh-11869
7 years ago