Add apply functions to HAProxy Frontend#677
Merged
jaredhendrickson13 merged 57 commits intoApr 2, 2025
Merged
Conversation
…r name in HAProxyFrontendCertificate
HAProxy: Set SSL offload certificates and alternate certificates via API
fix: correct internal callable name in IPsecChildSAStatus
…i into next_minor
v2.4.0 Fixes & Features
Updates the requirements on [jinja2](https://github.com/pallets/jinja) to permit the latest version. - [Release notes](https://github.com/pallets/jinja/releases) - [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst) - [Commits](pallets/jinja@3.1.5...3.1.6) --- updated-dependencies: - dependency-name: jinja2 dependency-version: 3.1.6 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [webonyx/graphql-php](https://github.com/webonyx/graphql-php) from 15.19.1 to 15.20.0. - [Release notes](https://github.com/webonyx/graphql-php/releases) - [Changelog](https://github.com/webonyx/graphql-php/blob/master/CHANGELOG.md) - [Commits](webonyx/graphql-php@v15.19.1...v15.20.0) --- updated-dependencies: - dependency-name: webonyx/graphql-php dependency-version: 15.20.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [@stoplight/spectral-cli](https://github.com/stoplightio/spectral) from 6.14.2 to 6.14.3. - [Release notes](https://github.com/stoplightio/spectral/releases) - [Changelog](https://github.com/stoplightio/spectral/blob/develop/CHANGELOG.md) - [Commits](https://github.com/stoplightio/spectral/compare/@stoplight/spectral-cli-6.14.2...@stoplight/spectral-cli-6.14.3) --- updated-dependencies: - dependency-name: "@stoplight/spectral-cli" dependency-version: 6.14.3 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
…master/jinja2-approx-eq-3.1.6
Updates the requirements on [pylint](https://github.com/pylint-dev/pylint) to permit the latest version. - [Release notes](https://github.com/pylint-dev/pylint/releases) - [Commits](pylint-dev/pylint@v3.3.4...v3.3.6) --- updated-dependencies: - dependency-name: pylint dependency-version: 3.3.6 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
…master/pylint-approx-eq-3.3.6 chore: update pylint requirement from ~=3.3.4 to ~=3.3.6
…oser/master/webonyx/graphql-php-15.20.0
…pectral-cli-6.14.3
…and_yarn/master/stoplight/spectral-cli-6.14.3 chore: bump @stoplight/spectral-cli from 6.14.2 to 6.14.3
jaredhendrickson13
previously approved these changes
Apr 2, 2025
jaredhendrickson13
left a comment
Member
There was a problem hiding this comment.
Good catch. Much appreciated!
Merged
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description
Installed pfSense-pkg-RESTAPI version:
Currently, the HAProxyFrontend model lacks the
pre_apply()andapply()methods found in other HAProxy models. This prevents application of changes to HAProxy frontends, both with using theapplyrequest parameter and POST requests the/api/v2/services/haproxy/applyendpoint. Examples:Attempt to use `/api/v2/services/haproxy/apply` endpoint
Attempt to use `apply` request parameter
Ultimately, the pfSense configuration is changed, but it is not possible to apply changes via API. Additionally, without the
pre-applymethod, the GUI cannot be used to apply the changes either since the dirty file is not created.Changes
pre_apply()andapply()methods to the HAProxyFrontend model. These functions are copied from the HAProxyBackend model and are also used in multiple other models.