feat: Add policy-data endpoints and API versioning for PCF integration - #3
Draft
tariromukute wants to merge 2 commits into
Draft
feat: Add policy-data endpoints and API versioning for PCF integration#3tariromukute wants to merge 2 commits into
tariromukute wants to merge 2 commits into
Conversation
… and API layers Signed-off-by: Tariro Mukute <tariro.mukute@phine.tech>
tariromukute
force-pushed
the
fix-ueid-extraction-and-api-versions
branch
from
August 17, 2026 11:28
1c7746f to
0a5f89d
Compare
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.
Related Issue(s) / Merge Request(s)
Fixes PCF (free5gc) integration - policy-data endpoints returning 404 errors
Adds support for policy-data endpoints
Description
Implements the complete policy-data backend for UDR to support PCF queries per 3GPP TS 29.519 V18.8.0.
API Versioning & Route Handling:
UdrDataRepositoryServiceBaseV1,UdrDataRepositoryServiceBaseV2)Policy-Data Backend Implementation:
AccessAndMobilityPolicyData,SessionManagementPolicyData,UePolicySetwith proper schemas per 3GPP TS 29.519query_am_policy_data(),query_sm_policy_data(),query_ue_policy_set(){"sst":222,"sd":"00007b"}) to hex format (de00007b)snssaibeforesmPolicyDnnData)NF Service Management:
udr_profilewith version and endpoint informationTechnical Details:
Tested Environment (e.g., radios, interfaces, CN)
/policy-data/ues/{ueId}/am-data,/sm-data,/ue-policy-setCore Network Components:
feat-send-accesstype-and-servingnetwork-to-pcf)fix-pcf-am-policy-control-request)Configuration Updates (e.g., files, parameters)
Known Issues / Limitations
Common-src Submodule Patch:
udr-sbi-helper-fix.diffcontains all changes to common-src componentsChecklist
Log files or packet captures (PCAPs)
Successful PCF queries returning policy data with correct JSON structure and field ordering for both v1 and v2 API versions.
Additional Notes
This MR completes the policy-data backend implementation and adds API versioning support, enabling full PCF-UDR integration for session management and access mobility policies with backward compatibility.
udr-sbi-helper-fix.diff