Commit Graph

22 Commits (b47634176fa48ad925f79886c6aaca225cb9af64)

Author SHA1 Message Date
Phillip Webb 4313a43cc8 Fix Windows slash issue with ChangedFile
Update ChangedFile to clean paths when returning the relative name.

See gh-3082
10 years ago
Phillip Webb 9ffd8622f6 Fix malformed Javadoc
See gh-3082
10 years ago
Phillip Webb 36007a4057 Fix failing developer tools tests
Tweak timings for some tests to fix failures that only occur on Linux
machines.

See gh-3082
10 years ago
Rob Winch 207347e150 Add header based remote access security
Update the remote endpoints to use 'shared secret' authentication.
Secrets are provided as Environment properties and transfered using a
custom HTTP header.

See gh-3082
10 years ago
Rob Winch fe4c0022d7 Add a warning an HTTPS connection is not used
Update RemoteClientConfiguration to warn the user that they really
should be using HTTPS.

See gh-3087
10 years ago
Phillip Webb bdf7663a9a Add remote debug tunnel auto-configuration
Provide auto-configuration for remote debugging over a HTTP tunnel.
The RemoteClientConfiguration provides a server that the local IDE can
connect to. When a client connects the remote connection is established
using the HTTP tunnel.

See gh-3087
10 years ago
Phillip Webb 2123b267aa Add HTTP tunnel support
Add server and client components to support tunneling of binary TCP
protocols over HTTP. Primarily designed to support Java's remote
debug protocol (JDWP).

See gh-3087
10 years ago
Phillip Webb c27b63b354 Trigger livereload on remote updates
Add livereload support to RemoteClientConfiguration which is triggered
whenever updates are pushed to the remote application.

Closes gh-3086
10 years ago
Phillip Webb 05ea2d77ef Provide remote restart auto-configuration
Provide auto-configuration for remote application update and restart.
Local classpath changes are now monitored via RemoteSpringApplication
and pushed to the remote server.

See gh-3086
10 years ago
Phillip Webb 6ac08aba04 Add Restarter server support
Add server side component to allow remote updates and restarts to a
running application.

See gh-3086
10 years ago
Phillip Webb ada3e1eca2 Provide auto-configuration for remote calls
Provide application auto-configuration to provide remote endpoint
support along with a client-side application that can be used to
establish connections.

See gh-3086
10 years ago
Phillip Webb 505cad48c1 Add remote server support classes
Add MVC style Dispatcher, Mapper and Handler classes to support remote
server calls. Spring MVC is not used directly since it may not be on the
classpath (for example if the user is developing a Jersey application).

See gh-3086
10 years ago
Phillip Webb bd945c7b39 Update Restarter to support for ClassLoaderFiles
Update the `Restarter` so that class files and resources can change
independently of the underlying source folders. This change will
allow updates to be pushed to a remotely running application, without
requiring the application to run in an exploded form.

See gh-3086
10 years ago
Phillip Webb fe1f344ae8 Add livereload auto-configuration
Add auto-configuration to start and trigger livereload.

Closes gh-3085
10 years ago
Phillip Webb a9f69e86be Add RestartScope and Restart attributes
Add a "restart" Spring `Scope` that remains between application
restarts. Allows beans such as the livereload server to remain active
during restarts and not disconnect clients.

See gh-3085
10 years ago
Phillip Webb f09134180e Add a minimal livereload server implementation
Add a minimal server to support livereload.com browser plugins. Includes
a partial websocket implementation to save needing a dependency to
spring-websocket.

See gh-3085
10 years ago
Phillip Webb 3d8db7cddb Add Restart auto-configuration
Add auto-configuration for application Restarts. Restarts are enabled
by default (when not running from a fat jar) and will be triggered when
any classpath folder changes.

The ClassPathRestartStrategy additional customization of when a full
restart is required. By default a PatternClassPathRestartStrategy with
patterns loaded from DeveloperToolsProperties.

Closes gh-3084
10 years ago
Phillip Webb a5c56ca482 Add support for Restarting applications
Add Restarter class that can be used to restart a running application
when underlying class files change. The Restarter is automatically
initialized via a ApplicationListener and automatically detects
classpath URLs that are likely to change (when not running from a fat
jar).

See gh-3084
10 years ago
Andy Clement da51785706 Add a parent last classloader for restart use
Add a parent last classloader for use with application restarts. The
classloader provides a layer on top of the regular classloader to
contain the classes that might change when an application is restarted.

See gh-3084
10 years ago
Phillip Webb 0862412eb4 Add filesystem watcher support
Add a filesystem watcher that can be used to inform listeners of
changes (add, delete, modify) to files in specific source folders.

The implementation uses a background thread rather than the WatchService
API to remain compatible with Java 6 and because WatchService is slow on
OSX.

See gh-3084
10 years ago
Phillip Webb 08eaa66294 Automatically apply development time properties
Add auto-configuration to automatically apply properties that make
sense during application development. Currently the single property
`spring.thymeleaf.cache` is set to `false`.

Closes gh-3083
10 years ago
Phillip Webb a8bf0d942b Add a `spring-boot-developer-tools` module
Add a new `spring-boot-developer-tools` module which will contain
auto-configuration to help during application development.

See gh-3082
10 years ago