-
Notifications
You must be signed in to change notification settings - Fork 10
Feat/get configuration action #609
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
Open
minulo
wants to merge
37
commits into
main
Choose a base branch
from
feat/get-configuration-action
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
a1a9bad
feat: add get-configuration action
minulo 96f34be
edited docstrings so that they are more accurate
minulo ef395cf
Merge branch 'main' into feat/get-configuration-action
minulo 192f14f
Add release notes artifact for PR #609 (get-configuration action)
Copilot d1e620f
edited release-notes and changelog file
minulo 1827d7c
Merge branch 'main' into feat/get-configuration-action
alithethird 29261ea
Updating the get-configuration juju action description for better acc…
minulo 3ca96c7
Add a boolean action parameter (default false) to the
minulo 415dba6
Merge branch 'main' into feat/get-configuration-action
minulo 20be527
Update tests and licensing failures
minulo 682b4fe
ci: trigger integration tests
minulo 4b045dd
feat(haproxy): add backend filter to get-configuration action
minulo f86e7bd
ci: Rerun flaky integration test
minulo f8093fd
ci: Rerun flaky integration test
minulo dfb9e6c
ci: Rerun flaky integration test
minulo 0e9d039
ci: Rerun flaky integration test
minulo da3377d
Merge branch 'main' into feat/get-configuration-action
Thanhphan1147 085eca9
set timeout for page
Thanhphan1147 91396c8
Merge branch 'main' into feat/get-configuration-action
Thanhphan1147 1ba21bd
Merge branch 'main' into feat/get-configuration-action
Thanhphan1147 2fd4e70
Merge branch 'main' into feat/get-configuration-action
alithethird ddb1a26
refactor(haproxy): scope get-configuration action to source=disk only
minulo a617a6c
get-configuration action to source=disk only
minulo 5b347c8
Merge branch 'feat/get-configuration-action' of github.com:canonical/…
minulo f7c3ef4
chore: stop tracking local scratch ignores in .gitignore
minulo 21b76b6
Fixing linting error
minulo 56e3d2a
Merge branch 'main' into feat/get-configuration-action
Thanhphan1147 cfec9e1
Apply suggestions from code review
minulo d57e6ae
Update error catching so that it makes more sense when charm_state pa…
minulo cda77c5
Implememnt test case changes following suggestions
minulo cbb4556
revert review-comment test changes
minulo c53dcdf
refactored the test_action file so that the whole file run one functi…
minulo e7494fe
Imnplemented test cases so that they use MagicMock, monkeypatch and p…
minulo 23ebdec
Apply suggestions from code review
minulo 4d91d1a
Merge branch 'main' into feat/get-configuration-action
Thanhphan1147 273b7b4
Merge branch 'main' into feat/get-configuration-action
Thanhphan1147 534a69a
refactored tests
minulo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| version_schema: 2 | ||
|
|
||
| changes: | ||
| - title: Add get-configuration Juju action for inspecting effective haproxy config | ||
| author: minulo | ||
| type: minor | ||
| description: > | ||
| Added a `get-configuration` Juju action that allows operators to inspect | ||
| the effective haproxy configuration without shell access to the unit. | ||
| Supports two modes: `source=disk` (default) returns the currently applied | ||
| `/etc/haproxy/haproxy.cfg`, and `source=relations` renders the | ||
| configuration from the current relation data without writing files or | ||
| reloading the service. Logs a warning when the effective configuration | ||
| matches the default (no proxy backends configured). | ||
| urls: | ||
| pr: | ||
| - https://github.com/canonical/haproxy-operator/pull/609 | ||
| related_issue: | ||
| visibility: public | ||
| highlight: false |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.