feat(BA-5844): AppConfigPolicy REST v2 surface#11312
Draft
jopemachine wants to merge 3 commits intoBA-5815from
Draft
feat(BA-5844): AppConfigPolicy REST v2 surface#11312jopemachine wants to merge 3 commits intoBA-5815from
jopemachine wants to merge 3 commits intoBA-5815from
Conversation
jopemachine
added a commit
that referenced
this pull request
Apr 26, 2026
This was referenced Apr 26, 2026
feat(BA-5814): AppConfigPolicy foundation (data / repository / service / adapter, bulk-aware)
#11266
Draft
jopemachine
added a commit
that referenced
this pull request
Apr 27, 2026
jopemachine
added a commit
that referenced
this pull request
Apr 27, 2026
Add the REST v2 endpoints for AppConfigPolicy on top of the GraphQL- only BA-5815. Mirrors the BA-5829 / BA-5830 split for the AppConfig- Fragment stack. - `api/rest/v2/app_config_policy/handler.py` — `V2AppConfigPolicyHandler` exposing `get`, `search`, and admin bulk-create / bulk-update / bulk-purge endpoints, all delegating to `AppConfigPolicyAdapter`. - `api/rest/v2/app_config_policy/registry.py` — route registrar for the `app-config-policies` sub-tree (reads via `auth_required`, bulk writes via `superadmin_required`). - `api/rest/v2/path_params.py` — `AppConfigPolicyConfigNamePathParam` for path-bound `config_name` lookups. - `api/rest/v2/tree.py` — wire up the new handler / registrar. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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.
📚 Stacked PRs
This PR is part of a 10-PR stack delivering BEP-1052. Merge in order:
chore(BA-5822): drop legacy AppConfig layerfeat(BA-5814): AppConfigPolicy foundationfeat(BA-5815): AppConfigPolicy GraphQLfeat(BA-5844): AppConfigPolicy REST v2← you are herefeat(BA-5827): AppConfigFragment foundationfeat(BA-5836): AppConfigFragment service verticalfeat(BA-5829): AppConfigFragment + AppConfig GraphQLfeat(BA-5830): AppConfigFragment + AppConfig REST v2feat(BA-5832): AppConfig v2 SDK + CLIfeat(BA-5837): ValkeyCache for AppConfigFragment merged-view readsCI on intermediate PRs may show test churn since each one only lands a slice of the new layer. The full picture is guaranteed to build at the tip (#11298).
Summary
GET /{config_name},POST /search,POST /bulk-{create,update,purge}).AppConfigPolicyAdapter(already on BA-5814); GraphQL surface stays in BA-5815.Stack
Test plan
/v2/app-config-policies/*)../bai admin app-config-policy ...once SDK lands (handled by BA-5832 / follow-up).