-
Notifications
You must be signed in to change notification settings - Fork 4
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
Add missing HTTP error status responses to M1_ContentHostingProvisioning_purgeContentHostingCache operation #40
Comments
The 422 code may need adding to TS 29.500 Table 5.2.7.1-1 as it is not there at present. |
Not sure whether a change to TS 29.500 is required or not. That specification is under the control of CT4 rather than SA4, so any change will require formal liaison. SA4 has some wriggle room to define M1 and M3 as it pleases since neither reference point is formally a Service-Based Interface in the 5G System. |
After internal discussion, we think it would be useful to the 5GMSd Application Provider invoking this operation to be able to distinguish between two success cases at M1:
|
@davidjwbbc: We should allow both 204 (No Content) and 200 (OK) at reference point M3 as well. Please can you link to a suitable PR on 5G-MAG/rt-common-shared. |
CR pack SP-250253 approved at SA#99 Plenary meeting in Rotterdam. |
Description
The YAML definition of the
M1_ContentHostingProvisioning_purgeContentHostingCache
operation does not currently specify HTTP response status codes for any error cases.Suggested solution
It is proposed to add at least the following status codes:
POST
message body (supplying the regular expression) is unreasonably large.POST
message has an unrecognisedContent-Type
.POST
message body (supplying a regular expression) is found to be syntactically invalid. For example:x-www-form-urlencoded
syntax.Additional context
This issue arose from the 5G-MAG/rt-5gms-application-server#52 and 5G-MAG/rt-5gms-application-function#18.
The text was updated successfully, but these errors were encountered: