Skip to content

Add MregCliClient to encapsulate CLI client methods - #472

Open
pederhan wants to merge 7 commits into
masterfrom
mreg-cli-client
Open

Add MregCliClient to encapsulate CLI client methods#472
pederhan wants to merge 7 commits into
masterfrom
mreg-cli-client

Conversation

@pederhan

@pederhan pederhan commented Sep 1, 2026

Copy link
Copy Markdown
Member

Adds MregCliClient which encapsulates methods such as resolve_host, resolve_network and resolve_policy, which were previously defined as standalone functions in mreg_cli.utilities.resolution. This centralizes API interaction on the Mreg client itself, rather than being defined in its own utility module.

Furthermore, adds the TRUNCATE event listener as a permanent listener, raising TooManyResults on all such events.

Also actually upgrades to mreg-api 0.5.0 this time instead of pulling it from the main branch on git.

@pederhan
pederhan requested a review from terjekv September 1, 2026 12:57
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.

1 participant