Commit Graph

13491 Commits (58c3b0d39082d1d09e82bf4ff9d8669f43f33af2)
 

Author SHA1 Message Date
Phillip Webb 21b645fba8 Add missing ObjectProvider for missing beans
Update `MetricsAutoConfiguration` to use an `ObjectProvider` to guard
against missing beans.

See gh-9970
7 years ago
Andy Wilkinson ddca0b7422 Add dependencies required for javadoc generation
See gh-9970
7 years ago
Andy Wilkinson 3942ba2e68 Consistently use the spring.metrics configuration property prefix
See gh-9970
7 years ago
Stephane Nicoll 5efcbad751 Polish 7 years ago
Stephane Nicoll ddde3c5695 Add error metadata for the Micrometer migration
See gh-9970
7 years ago
Andrew Potter 7c260733a2 Add GraphiQL to starter name.
https://github.com/graphql-java/graphql-spring-boot has a starter for both GraphQL and GraphiQL.
7 years ago
Andy Wilkinson 962b3df9c6 Add and polish package-info.java for actuator
Closes gh-10298
7 years ago
Jon Schneider c2958c27ab Replace Boot's own metrics with support for Micrometer
Closes gh-9970
7 years ago
Stephane Nicoll 306c8d0ae2 Upgrade to Spring Integration 5.0.0.M7
Closes gh-10122
7 years ago
Stephane Nicoll 287d77235a Fix broken links
Closes gh-10294
7 years ago
Stephane Nicoll e05e04014b Move security.* to spring.security.*
This commit also removes `security.basic.enabled` as this property is
no longer required.

Closes gh-10296
7 years ago
Stephane Nicoll 033939e3c0 Add error metadata for Security-related keys 7 years ago
Stephane Nicoll 7266c2d009 Merge pull request #10282 from izeye:polish-20170913
* pr/10282:
  Polish
7 years ago
Johnny Lim bd2d08bcd0 Polish
Closes gh-10282
7 years ago
Stephane Nicoll d89f3f9f2a Remove useless ConfigurationProperties on HeapDumpEndpoint
Closes gh-10263
7 years ago
Stephane Nicoll 5e7dbe8f4a Move configuration of LogFileWebEndpoint
See gh-10263
7 years ago
Stephane Nicoll d7f3008122 Move configuration of EnvironmentEndpoint
See gh-10263
7 years ago
Stephane Nicoll bb622292ba Move configuration of ConfigurationPropertiesReportEndpoint
See gh-10263
7 years ago
Stephane Nicoll 0d62b0cb3c Move configuration of TraceEndpoint
See gh-10263
7 years ago
Andy Wilkinson 9234801c0a Merge branch '1.5.x' 7 years ago
Andy Wilkinson 4bdef4d0f9 Use Spring milestone and snapshot repos for plugins in full profile 7 years ago
Stephane Nicoll 8010f6ef00 Rationalize JUnit5 dependency management
This commit only provides dependency management for JUnit Jupiter,
excluding experimental and migration support artifacts. It also removes
dependency management for the platform as it is used by IDEs and build
tools). The `junit-platform.version` is still available though to allow
users to configure their plugin with a supported placeholder for the
version.

Also, given that `junit-vintage-engine`'s version does not match the
JUnit 4 version it supports, we will not add dependency management for
it.

Closes gh-10240
7 years ago
Brian Clozel 485d0ed8be Polish
Release allocated `DataBuffer` if an error happens during template
processing. Otherwise, this buffer will be automatically released when
written to the exchange.
7 years ago
Andy Wilkinson 8533c3d5ca Upgrade to Spring Security 5.0.0.M4
Closes gh-10126
7 years ago
Andy Wilkinson 736a209e78 Upgrade to Spring Session 2.0.0.M4
Closes gh-10125
7 years ago
Brian Clozel 9dd3fb70e2 Remove Servlet-specific static locations
This commit removes the Servlet root context from the default values for
the `spring.resources.static-locations` configuration property. Servlet
and non-Servlet applications are sharing this property.

The Servlet root context is automatically configured as a resource
location for Spring MVC based applications.

Closes gh-9240
7 years ago
Stephane Nicoll eb4a9d87fd Add actuator to jersey sample
Closes gh-10259
7 years ago
Stephane Nicoll b5d8e072f1 Add actuator to webflux sample
Closes gh-10258
7 years ago
Stephane Nicoll 73f4a2e130 Remove unnecessary override 7 years ago
Stephane Nicoll a825e9f493 Polish 7 years ago
Stephane Nicoll 82fd18cee3 Polish 7 years ago
Stephane Nicoll 4670cc7795 Relax use of spring.session.store-type
This commit makes the "spring.session.store-type" property optional,
adding an additional check when it is not present that validates only
one supported implementation is available on the classpath.

As Spring Session has been modularized, the chance that multiple
implementations are available on the classpath are lower. When only
one implementation is present, we attempt to auto-configure it. When
more than one implementation is present and no session store is
configured, a NonUniqueSessionRepositoryException is thrown.

Closes gh-9863
7 years ago
Stephane Nicoll de47827eb4 Merge pull request #10276 from izeye:java-8
* pr/10276:
  Use Java 8 Javadoc URL
7 years ago
Johnny Lim d12a86bcab Use Java 8 Javadoc URL
Closes gh-10276
7 years ago
Brian Clozel 4568333e39 Merge branch '1.5.x' 7 years ago
Brian Clozel 1669e4bad3 Fixup version numbers following release 7 years ago
Spring Buildmaster 30eb937a83 Next Development Version 7 years ago
Stephane Nicoll 40e6f004da Enable info and status endpoints by default
Closes gh-10161
7 years ago
Stephane Nicoll 222ed44bd4 Replace enabledByDefault to DefaultEnablement
This commit introduces a DefaultEnablement enum that replaces the
"enabledByDefault" boolean flag of Endpoint. This allows to better
control what indicates the default enablement of an endpoint.

With DefaultEnablement#ENABLED, the endpoint is enabled unless an
endpoint specific property says otherwise. With DefaultEnabled#DISABLED,
the endpoint is disabled unless an endpoint specific property says
otherwise. DefaultEnablement#NEUTRAL provides a dedicated option to
indicate that we should resort to the default settings in absence of
a specific property.

See gh-10161
7 years ago
Stephane Nicoll 6cd624ba39 Restore processing of Endpoint meta-data 7 years ago
Andy Wilkinson 6671a19cef Rework Lettuce configuration to use new client pooling config API
Closes gh-9538
7 years ago
Andy Wilkinson 02bc73b8e1 Polish 7 years ago
Andy Wilkinson 3882552b43 Polish 7 years ago
Andy Wilkinson 449515cecd Merge branch '1.5.x' 7 years ago
Andy Wilkinson 2a1cce9f13 Upgrade to Hikaricp Java7 2.4.13
Closes gh-10267
7 years ago
Andy Wilkinson b13beccc47 Upgrade to Appengine Sdk 1.9.56
Closes gh-10266
7 years ago
Andy Wilkinson d6535df2c7 Upgrade to Classmate 1.3.4
Closes gh-10265
7 years ago
Phillip Webb 46dfe38b60 Rework security request matchers
Update the security request matchers so that a bean is no longer needed
when the matcher is used. Matchers can now be build by starting from
the `EndpointRequest` or `StaticResourceRequest` classes. For example:

http.authorizeRequests()
  .requestMatchers(EndpointRequest.to("status", "info")).permitAll()
  .requestMatchers(EndpointRequest.toAnyEndpoint()).hasRole("ACTUATOR")
  .requestMatchers(StaticResourceRequest.toCommonLocations()).permitAll()

Closes gh-7958
7 years ago
Phillip Webb 2e51b48cd9 Refactor actuator package locations
Restructure actuator packages to improve structure. The following
changes have been made:

 - Separate actuator and actuator auto-configuration into different
   modules.
 - Move endpoint code into `spring-boot-actuator`.
 - Move `Endpoint` implementations from a single package into
   technology specific packages.
 - Move `HealthIndicator` implementations from a single package into
   technology specific packages.
 - As much as possible attempt to mirror the `spring-boot` package
   structure and class naming in `spring-boot-actuator` and
   `spring-boot-actuator-autoconfigure`.
 - Move `DataSourceBuilder` and DataSource meta-data support from
   `spring-boot-actuator` to `spring-boot`.

Fixes gh-10261
7 years ago
Phillip Webb 0f99b29b1a Temporarily remove security matchers
Temporarily back out `SpringBootSecurity` to enable easier
package refactoring.

See gh-10261
7 years ago