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

Generic indexes #24

Merged
merged 3 commits into from
Apr 10, 2024
Merged

Conversation

shashank-boyapally
Copy link
Collaborator

Type of change

  • Refactor
  • New feature
  • Bug fix
  • Optimization
  • Documentation Update

Description

changed to generic index and verify certs added

Related Tickets & Documents

  • Related Issue #
  • Closes #

Checklist before requesting a review

  • I have performed a self-review of my code.
  • If it is a core feature, I have added thorough tests.

Testing

  • Please describe the System Under Test.
  • Please provide detailed steps to perform tests related to this code change.
  • How were the fix/results from this change verified? Please provide relevant screenshots or results.

Signed-off-by: Shashank Reddy Boyapally <[email protected]>
Signed-off-by: Shashank Reddy Boyapally <[email protected]>
Signed-off-by: Shashank Reddy Boyapally <[email protected]>
)
handler.setFormatter(formatter)
self.logger.addHandler(handler)
# Check if handlers are already added to avoid duplication
Copy link
Collaborator

Choose a reason for hiding this comment

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

thinking we should keep this change as part of the separate pr here

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yes it is handled in a seperate PR, added this to avoid confusion. I can roll-back a commit.

@@ -78,7 +78,7 @@ def test_get_uuid_by_metadata(matcher_instance):


def test_match_kube_burner(matcher_instance):
result = matcher_instance.match_kube_burner(["uuid1"])
result = matcher_instance.match_kube_burner(["uuid1"],index="ospst-*")
Copy link
Member

Choose a reason for hiding this comment

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

for the test lets call out ospst-kube-burner (if that is the index) because we also have other indexes being dropped into ospst

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Since this is just a mockup test it really does not really matter what index I pass through.. it'll return the preset mock value instead of querying our es-instance.

@jtaleric jtaleric merged commit 518c095 into cloud-bulldozer:main Apr 10, 2024
8 checks passed
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.

3 participants