TS26.512: M1 Policy Template Provisioning - Return codes for error handling of put operation #104
Labels
3GPP Rel-16
Issues relating to 3GPP Release 16 specifications.
3GPP Rel-17
Issues relating to 3GPP Release 17 specifications.
3GPP TS 26.512
Issues relating to SA4's "5G Media Streaming (5GMS); Protocols" specification.
5GMS Dynamic Policies
Adopted
Improvement
Projects
Milestone
Description
As part of the
PolicyTemplate
object defined inTS26512_M1_PolicyTemplatesProvisioning.yaml
achargingSpecification.sponStatus
of typeTS29514_Npcf_PolicyAuthorization.SponsoringStatus
may be defined. TheSponsoringStatus
string is defined as follow:Although any value of type
string
is a valid value for this parameter, implementations might only support one of the two possibleenum
values, namelySPONSOR_DISABLED
andSPONSOR_ENABLED
. In cases in which a value is used that does not correspond to one of the aforementionedenum
values, it is desirable to send an error code to the sending entity to signal that the request contained unsupported or invalid payload.The
put
operation to update an existing policy template defined inTS26512_M1_PolicyTemplatesProvisioning.yaml
only allows two response codes, namely204
and404
. Both are not well suited for the described use case in which an unssuported payload is provided.Suggested solution
To handle use cases in which an invalid or unsupported payload is sent as part of the
put
operation, additional response codes should be supported. For instance, a422
response code allows signaling unprocessable content and might be a good option to signal unsupported parameters in the payload: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/422Related issues
The text was updated successfully, but these errors were encountered: