Commit Graph

4925 Commits (074771ec125dd407af0282b92960e9e9e3377e84)
 

Author SHA1 Message Date
Eddú Meléndez 28cb13c31d Add mail jndi support
See gh-2419
10 years ago
Stephane Nicoll 6749debc10 Merge branch '1.2.x' 10 years ago
Josh Thornhill 10f7031e46 Fix typo in documentation
Closes gh-3077
10 years ago
Stephane Nicoll fbfdbce266 Add cache documentation
See gh-2633
10 years ago
Phillip Webb 9ffd8622f6 Fix malformed Javadoc
See gh-3082
10 years ago
Josh Thornhill f721862d6f Fix typo in documentation
Closes gh-3077
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
Phillip Webb 247d2d6a2d Merge branch 'gh-3082' 10 years ago
Phillip Webb 67cc9d007f Add a spring-boot-developer-tools sample
Add a sample application that demonstrates how the
`spring-boot-developer-tools` module can be used.

Closes 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
Phillip Webb 5199eefadd Add DeferredLog to support early logging
Add a `DeferredLog` utility class that can be used to allow early
logging. Output to a DeferredLog is cached until a real Log is provided
via the `replayTo` method.

Closes gh-3081
10 years ago
Phillip Webb b41f852338 Add @UsesUnsafeJava annotation
Add a new annotation to indicate to Animal Sniffer that a method uses
a call to `Unsafe`.

Closes gh-3080
10 years ago
Phillip Webb 373338124d Extract SpringApplicationRunListeners
Extract `SpringApplicationRunListeners` class from `SpringApplication`
to simplify the `run` method.

Closes gh-3079
10 years ago
Phillip Webb e5f111100a Simplify Base64 Encoding
Replace the internal `Base64` class taken from Spring Security with a
simpler `Base64Encoder` version that doesn't handle decoding.

Closes gh-3078
10 years ago
Phillip Webb a0087170e0 Polish 10 years ago
Stephane Nicoll 18d7634947 Add basic cache metrics support for Infinispan
Closes gh-3066
10 years ago
Stephane Nicoll 28d2955d03 Fix Hazelcast cache statistics condition
Make sure the Hazelcast statistics support is not triggered if the Spring
support is not present. The Hazelcast dependency alone may be used with
JCache and this should not trigger the support of the native Hazelcast
metrics infra.

See gh-2633
10 years ago
Stephane Nicoll fc0eed97cf Fix build 10 years ago
Dave Syer 33f06e1cb0 Ensure redis export properties are actually set using a @Value()
Previously the @Value annotation was not on a top level @Bean field
(it was nested inside). Manually constructing the bean in a separate
configuration class seems like the best way to get it to actually bind
at runtime.
10 years ago
Stephane Nicoll eef027a4f0 Polish cache sample
Update single cache sample with all supported cache providers. Add README
to shortly explain how to get started with them.

See gh-2633
10 years ago
Eddú Meléndez 23a278451a Add cache sample
See gh-2633
10 years ago
Stephane Nicoll 91ce0abe48 Fix Redis cache auto-configuration
Add an explicit link to the `RedisAutoConfiguration` to make sure it is
applied before the cache counter-part. Request the general
`redisTemplate` so that non String-values can be handled by default as
well.

See gh-2633
10 years ago
Stephane Nicoll 6ea27024c3 Expose RedisTemplate with explicit type
Fixes gh-3075
10 years ago
Dave Syer 8a83bd12bd Refactor annotations for metric export
Users can add @ExportMetric[Reader,Writer] to readers and writers that
they want to participate in the default exporter. There is also still an
@ActuatorMetricWriter that is used for the legacy (non-Java8) Gauge and
CounterServices.
10 years ago
Dave Syer 80ff92919c Add redis properties as convenience in spring.metrics.export
The redis export and aggregate use case is a lot nicer with this
shared data between the two component types.

Also made MetricExportProperties itself a Trigger (so the default
delay etc. can be configured via spring.metrics.export.*).
10 years ago
Stephane Nicoll e8e89f3738 Merge pull request #3068 from nomack84/patch-2
* patch-2:
  Uprade to Spring Integration 4.2.0.M1
10 years ago
Mario A. Alvarez Garcia 3b82be59d6 Uprade to Spring Integration 4.2.0.M1
Closes gh-2498, gh-3068
10 years ago
Stephane Nicoll 5b00d7d89c Merge pull request #3070 from eddumelendez/gh-2633-infinispan-version
* gh-2633-infinispan-version:
  Upgrade Infinispan to 7.2.2.Final
10 years ago
Eddú Meléndez b036c87372 Upgrade Infinispan to 7.2.2.Final
Closes gh-3070
10 years ago
Dave Syer a49901f0dc Tweak conditions on metric export to make it easier to override 10 years ago
Dave Syer 88c640ee3c Fix logic error in BeanPath relating to lists of beans
There was a counting error affecting bean paths like
nested[0].foo[1].bar (needed to reset a counter to 0).
Tests seem fine and I added a couple of new ones for that
use case.

Fixes gh-3065
10 years ago
Stephane Nicoll 4c54647460 Merge pull request #3064 from izeye/patch-13
* patch-13:
  Fix redudant assertion in test
10 years ago