Commit Graph

26 Commits (dda0b3e2a16a9321ccf25fa34d129b7c687311d7)

Author SHA1 Message Date
Andy Wilkinson b828b398b5 Merge branch '2.1.x' 6 years ago
Andy Wilkinson a36aa67b52 Merge branch '2.0.x' into 2.1.x 6 years ago
Spring Operator 3e2b6ac8ed Update build and setup configuration to use HTTPS
See gh-16246
6 years ago
Andy Wilkinson 61d04db0d7 Minimize and centralize assumptions about build output
Closes gh-15471
6 years ago
Phillip Webb ba1ef52e39 Merge branch '2.0.x' 6 years ago
Phillip Webb 893d5666be Update copyright year for changed files 6 years ago
Madhura Bhave 1bb788f5c2 Merge branch '2.0.x' 6 years ago
Phillip Webb 657a5347be Use random port for Devtools integration tests
Closes gh-15013
6 years ago
Phillip Webb 80685f81bf Merge branch '2.0.x' 6 years ago
Phillip Webb 744cdf43e9 Revert "Use random port for DevTools tests"
This reverts commit 4630c2292f.
6 years ago
Phillip Webb 2d305341a4 Merge branch '2.0.x' 6 years ago
Phillip Webb 4630c2292f Use random port for DevTools tests
Change the `RemoteApplicationLauncher` to use a random port and also
protect against an NPE if the launch fails.
6 years ago
Phillip Webb 6aedb69443 Update copyright year for changed files 6 years ago
Stephane Nicoll 0eae32371f Polish contribution
Closes gh-14667
6 years ago
Johnny Lim 335775892b Polish
See gh-14667
6 years ago
Andy Wilkinson 65295e0e14 Merge branch '2.0.x' 6 years ago
Andy Wilkinson bff93a67ce Fix remote DevTools restart when a previously added class is then changed
Previously, if a class was added and then changed, a restart would be triggered
and things would behave as if the class had been deleted. This occurred
because, when looking for additional classes that were not on the original
classpath, only files that had been added were considered. The subsequent
change to the class was noticed as a modified rather than an addition,
resulting in the class being skipped.

This commit updates the resource resolver to only ignore deleted files and
consider both added files and modified files when looking for additional
resources.

Closes gh-14205
6 years ago
durigon 7aaeefbc0e Use Matcher from pre-compiled Pattern rather than String for replaceAll
Closes gh-14483
6 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
Andy Wilkinson 76a450dfba Format with Eclipse Oxygen SR2 7 years ago
Phillip Webb c3ec316890 Move Application* and *FileWriter classes
Move `ApplicationHome`, `ApplicationPid` and `ApplicationTemp` to the
`system` package. Since `system` package is now much lower level, the
existing `FileWriter` implementations also needed to move to prevent
package tangles.

Fixes gh-8614
7 years ago
Phillip Webb 3ff772957b Add WebServerApplicationContext abstraction
Add a new `WebServerApplicationContext` interface that provides a common
abstraction for all application contexts that create and manage the
lifecycle of an embedded `WebServer`.

Allows server namespaces to become a first-class concept (rather
subverting `ConfigurableWebApplicationContext.getNamespace()`) and
allow us to drop `getServerId()` from `WebServerInitializedEvent`.

Also helps to improve `ManagementContextAutoConfiguration` and
`ManagementContextFactory`.

Fixes gh-11881
7 years ago
Andy Wilkinson e216560896 Merge branch '1.5.x' 7 years ago
Phillip Webb 748e0779b6 Update copyright year for changed files 7 years ago
Phillip Webb 4ff65d58a4 Fix integration test POMs
Update integration test POMs to use CI friendly version numbers.

See gh-9316
7 years ago
Phillip Webb 89b0ba2c14 Relocate test projects under `spring-boot-tests`
Move integration and deployment tests under a single `spring-boot-tests`
module.

See gh-9316
7 years ago