1. 29 Sep, 2019 9 commits
  2. 27 Sep, 2019 20 commits
  3. 26 Sep, 2019 10 commits
    • Phillip Webb's avatar
      Add health endpoint 'show-components' support · a94ab673
      Phillip Webb authored
      Add a `show-components` property under `management.endpoint.health` and
      `management.endpoint.health.group.<name>` that can be used to change
      when components are displayed.
      
      Prior to this commit it was only possible to set `show-details` which
      offered an "all or nothing" approach to the resulting JSON. The new
      switch allows component information to be displayed whilst still hiding
      potentially sensitive details returned from the actual `HealthIndicator`.
      
      Closes gh-15076
      a94ab673
    • Phillip Webb's avatar
      Rename health JSON 'details' to 'components' in v3 · 69c561a6
      Phillip Webb authored
      Update the health endpoint so the nested components are now exposed
      under `components` rather than `details` when v3 of the actuator
      REST API is being used.
      
      This distinction helps to clarify the difference between composite
      health (health composed of other health components) and health
      details (technology specific information gathered by the indicator).
      
      Since this is a breaking change for the REST API, it is only returned
      for v3 payloads. Requests made accepting only a v2 response will have
      JSON provided in the original form.
      
      Closes gh-17929
      69c561a6
    • Phillip Webb's avatar
      Test v3 actuator API with loggers endpoint · cd1b7c1a
      Phillip Webb authored
      Update `LoggersEndpointWebIntegrationTests` to ensure that the new
      v3 media type can be used.
      
      See gh-17929
      cd1b7c1a
    • Phillip Webb's avatar
      Add Actuator ApiVersion support and bump version · deb9d67c
      Phillip Webb authored
      Add `ApiVersion` enum that can be injected into actuator endpoints if
      they need to support more than one API revision.
      
      Spring MVC, WebFlux and Jersey integrations now detect the API version
      based on the HTTP accept header. If the request explicitly accepts a
      `application/vnd.spring-boot.actuator.v` media type then the version
      is set from the header. If no explicit Spring Boot media type is
      accepted then the latest `ApiVersion` is assumed.
      
      A new v3 API revision has also been introduced to allow upcoming health
      endpoint format changes. By default all endpoints now consume and
      can produce v3, v2 and `application/json` media types.
      
      See gh-17929
      deb9d67c
    • Phillip Webb's avatar
      Merge branch '2.1.x' · d83238aa
      Phillip Webb authored
      Closes gh-18369
      d83238aa
    • Phillip Webb's avatar
      Check factory bean for EntityManager datasource · 050460f6
      Phillip Webb authored
      Update `DataSourceInitializedPublisher` to fallback to the
      `LocalContainerEntityManagerFactoryBean` if the
      `javax.persistence.nonJtaDataSource` property is not defined.
      
      As of Hibernate 4.3 the property is no longer set if the `EntityManager`
      is created from a `PersistenceUnitInfo` instance rather than actual
      properties.
      
      Although this is being addressed in Hibernate issue HHH-13432, it's
      not strictly a requirement of the JPA spec that the property is set.
      
      Fixes gh-17061
      050460f6
    • Stephane Nicoll's avatar
      Merge branch '2.1.x' · 4e0de90e
      Stephane Nicoll authored
      4e0de90e
    • Stephane Nicoll's avatar
    • Brian Clozel's avatar
      Upgrade to Spring Doc Resources 0.1.3 · b15e2666
      Brian Clozel authored
      Closes gh-18293
      b15e2666
    • Stephane Nicoll's avatar
      Upgrade Java 13 version in CI image · 8c029959
      Stephane Nicoll authored
      Closes gh-18357
      8c029959
  4. 25 Sep, 2019 1 commit