Skip to content
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

codecentric/spring-boot-admin#2528 InstanceFilter added #2875

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dzahbarov
Copy link

Added the ability to filter instances from the instanceRepository.

@dzahbarov dzahbarov requested a review from a team as a code owner November 4, 2023 18:42
Copy link
Member

@erikpetzold erikpetzold left a comment

Choose a reason for hiding this comment

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

Hi @dzahbarov,

first of all, thanks for your contribution!

There is one comment in code, please have a look. The rest looks good!

Additionally, can you please also add a short paragraph to the documentation? I guess the best place would be below "Customize". Therefore create a small file similar to customize_interceptors.adoc and reference it in site.xml.

Thank you

/**
* @author dzahbarov
*/
public class InstanceFilter {
Copy link
Member

Choose a reason for hiding this comment

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

As this is explicitly meant to be an extension point it would be nice to have at least one sentence of javadoc telling what you can do and what are the consequences.

We also discussed if it would be useful to separate this into an interface that explicitly describes the extension point and a default implementation class "IncludeAllInstancesFilter" or something similar. Not sure if this would be better, what do you think?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants