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

Cleanup IcingaDbCubeLinks with getObjectsFilter provided by IcingaDbCube. #2484

Merged
merged 1 commit into from
Mar 28, 2022

Conversation

raviks789
Copy link
Collaborator

IcingaDbCubeLinks needs to be cleaned up. The method getObjectsFilter() return the needed filter query for the action link.
Also, retrieving hosts from director to have a friendly fail for action link is incorrect. This must be handled by ObjectsController and that would be a different pull request.

@raviks789 raviks789 requested review from Thomas-Gelf and nilmerg March 2, 2022 14:26
@cla-bot cla-bot bot added the cla/signed label Mar 2, 2022
@raviks789 raviks789 force-pushed the fix/icingadb-cubelinks branch from 382bb28 to 80b2e33 Compare March 16, 2022 14:39
Copy link
Member

@nilmerg nilmerg left a comment

Choose a reason for hiding this comment

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

Looks fine so far. Though, it still misses handling for non-existent hosts just like the legacy hook. (But I don't care if that's handled here or separately.)

@Thomas-Gelf Thomas-Gelf added this to the 1.10.0 milestone Mar 28, 2022
@Thomas-Gelf Thomas-Gelf merged commit e134f80 into master Mar 28, 2022
@Thomas-Gelf Thomas-Gelf deleted the fix/icingadb-cubelinks branch March 28, 2022 13:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants