Skip to content

Consider disabling management.trace.http by default #15059

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

ayudovin
Copy link
Contributor

@ayudovin ayudovin commented Nov 1, 2018

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Nov 1, 2018
… into disabling-management-trace-http-by-default
Copy link
Member

@snicoll snicoll left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR. Changing this effectively means that the /httptrace endpoint is not active as we won't contribute any repository anymore.

I think the end goal is to make sure that the endpoint react to the presence of a repository implementation. This might bring a unique situation where the endpoint is enabled by default but a property in a separate scope determines whether it can serve content or not.

I've flagged it for team attention so that we discuss this. I've also added a suggestion.

* @since 2.0.0
*/
@Configuration
@ConditionalOnWebApplication
@ConditionalOnProperty(prefix = "management.trace.http", name = "enabled", matchIfMissing = true)
@ConditionalOnProperty(prefix = "management.trace.http", name = "enabled")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That effectively means the default value of this property is now false. This should be reflected in the metadata, the doc and the appendix

@snicoll snicoll added the for: team-attention An issue we'd like other members of the team to review label Nov 2, 2018
@snicoll
Copy link
Member

snicoll commented Nov 3, 2018

@ayudovin thanks fo the PR but that issue wasn't really ready for contributions. As I've indicated in my initial comment, there are more things to consider than just flipping the value of that property. To make that more clear, we've created a new status "pending-design-work".

@snicoll snicoll closed this Nov 3, 2018
@snicoll snicoll added status: declined A suggestion or change that we don't feel we should currently apply and removed for: team-attention An issue we'd like other members of the team to review status: waiting-for-triage An issue we've not yet triaged labels Nov 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: declined A suggestion or change that we don't feel we should currently apply
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants