Giter Club home page Giter Club logo

Comments (4)

wilkinsona avatar wilkinsona commented on August 30, 2024

The env endpoint should provide an accurate reflection of your application's environment. In other words, if bootstrap.properties is listed twice by the env endpoint, I think that means that it has be processed twice. It's this, I think, that should be addressed, rather than trying to hide the problem through some filtering of the endpoint's response.

bootstrap.properties is a Spring Cloud feature so it may be that this should be addressed in Spring Cloud. You mention that it affects "certain property files". Have you seen it affect files other than bootstrap.properties?

If you would like us to spend some more time investigating, please spend some time providing a complete yet minimal sample that reproduces the problem. You can share it with us by pushing it to a separate repository on GitHub or by zipping it up and attaching it to this issue.

from spring-boot.

filmor732 avatar filmor732 commented on August 30, 2024

Thank you for your answer and advice @wilkinsona!

I think that means that it has be processed twice. It's this, I think, that should be addressed, rather than trying to hide the problem through some filtering of the endpoint's response.

Yes, you're right. I was thinking the wrong way round here. I should rather find out why the files are processed twice and whether it is necessary or unnecessary.

You mention that it affects "certain property files". Have you seen it affect files other than bootstrap.properties?

Yes, it affects also the application.properties file.

Okay, I will try to provide an example and keep you up to date.

from spring-boot.

spring-projects-issues avatar spring-projects-issues commented on August 30, 2024

If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.

from spring-boot.

spring-projects-issues avatar spring-projects-issues commented on August 30, 2024

Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.

from spring-boot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.