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

Replace inventory with nodes endpoint #381

Merged
merged 2 commits into from
Oct 22, 2024
Merged

Replace inventory with nodes endpoint #381

merged 2 commits into from
Oct 22, 2024

Conversation

oneiros
Copy link
Collaborator

@oneiros oneiros commented May 22, 2024

Fixes #366

This is my first attempt at replacing the inventory with the (hopefully) faster nodes endpoint.

Please note that I have not tested this against a real puppet server as I do not currently have a working setup. Instead I worked from the documentation and amended our "fake" puppet server accordingly. If someone could test this (reasonably) quickly against a real puppet server, this would be greatly appreciated. Otherwise I will try to rebuild my test environment to do so myself.

Also note that I went with catalog_environment as outlined here: #366 (comment)

`nodes` should be faster than `inventory`.
@oneiros oneiros requested a review from a team as a code owner May 22, 2024 12:14
@tuxmea tuxmea merged commit 581e893 into main Oct 22, 2024
12 of 13 checks passed
@tuxmea tuxmea deleted the issue-366 branch October 22, 2024 14:20
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.

Performance tuning PQL queries
2 participants