Skip to content

Commit

Permalink
chore(web): remove deprecated endpoints.health.sensitive configuratio…
Browse files Browse the repository at this point in the history
…n property (#1023)

With this property, Spring boot 2.2.13 warns on startup like:

{"@timestamp":"2022-05-12T22:16:02.124+00:00","@Version":1,"message":"\nThe use of configuration keys that are no longer supported was found in the environment:\n\nProperty source 'applicationConfig: [classpath:/igor.yml]':\n\tKey: endpoints.health.sensitive\n\t\tReason: Endpoint sensitive flag is no longer customizable as Spring Boot no longer provides a customizable security auto-configuration .\n\n\nPlease refer to the migration guide or reference guide for potential alternatives.\n","logger_name":"org.springframework.boot.context.properties.migrator.PropertiesMigrationListener","thread_name":"main","level":"ERROR","level_value":40000}

https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-2.0-Configuration-Changelog shows that endpoints.health.sensitive was removed in spring boot 2.0.0

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
  • Loading branch information
dbyron-sf and mergify[bot] authored May 27, 2022
1 parent a4a1a0f commit 67fd36d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions igor-web/config/igor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ spinnaker:
# https://github.com/spinnaker/igor/blob/master/igor-core/src/main/java/com/netflix/spinnaker/igor/IgorConfigurationProperties.java#L92
itemUpperThreshold: 1000

endpoints.health.sensitive: false

spring.jackson.serialization.write_dates_as_timestamps: false

server.port: 8088
Expand Down

0 comments on commit 67fd36d

Please sign in to comment.