Skip to content
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 PATCH operation #162

Closed

Conversation

emil-cheung
Copy link
Collaborator

What type of PR is this?

Add one of the following kinds:

  • enhancement/feature

What this PR does / why we need it:

  • Update an existing QoD session

Which issue(s) this PR fixes:

Fixes #47

Special notes for reviewers:

Changelog input

 release-note

Additional documentation

This section can be blank.

docs

@eric-murray
Copy link
Collaborator

@emil-cheung
I didn't think the discussion on what parameters could be patched had been concluded, so my questions on your proposal are:

  • Why allow applicationServer to be updated? Whilst this may be technically possible, the new server might not be compatible with the agreed QoS profile or business / legal considerations (e.g. prioritising traffic the new application server might not be compliant with net neutrality rules).

    And what happens if the PATCH request is refused because the new application server is not allowed? Does traffic continue to be prioritised to the previous application server, even though that may not be required.

    My preference would be to not allow applicationServer to be patched, and instead require a new session to be created if a change in application server is required.

  • Why can qosProfile not be patched? I would have thought that a more likely scenario than changing application server. For example, the end user application might find that the QoS profile currently being used does not give the desired QoE, and wants to upgrade without changing other parameters.

  • Does the patched duration still apply from the original session creation time? So sessions are still limited to one day, and this cannot be extended by patching?

  • The notificationUrl and notificationAuthToken format does not match that being proposed in Aligned notifications with guideline #155, which is following the updated CAMARA design guidelines. Also, updating notificationAuthToken is understandable, by why would notificationUrl be updated during a session?

@hdamker
Copy link
Collaborator

hdamker commented Jun 9, 2023

On duration we need to decide the semantics:

  • does the duration values still counts from begin of the session? What happens then if PATCH sets a duration which is already exceeded by the session?
  • or will the duration be counted from the (successful) PATCH operation onwards? (only that will allow to achieve sessions longer than the defined maximum of 86400 seconds)

@hdamker
Copy link
Collaborator

hdamker commented Jun 9, 2023

A general comment: I consider this PR as one for the release after v0.9.0. It will need intensive discussions before it can be merged and would therefore postpone the release otherwise.

@hdamker hdamker added the don't merge there is a (temporary) reason to not merge this PR into main label Jun 9, 2023
@emil-cheung
Copy link
Collaborator Author

A general comment: I consider this PR as one for the release after v0.9.0. It will need intensive discussions before it can be merged and would therefore postpone the release otherwise.

@hdamker
It is for v0.10.0 and no hurry.
As the v0.9.0 comes to the end, I provide a draft proposal for the community to further discuss.

@jlurien
Copy link
Collaborator

jlurien commented Jun 9, 2023

Agree that we have to discuss which parameters it makes sense to allow to be updated. Requirement should come from what it is convenient and intuitive for the client, not just because it is technically feasible to do it in the network.

@emil-cheung
Copy link
Collaborator Author

emil-cheung commented Jun 10, 2023

Agree that we have to discuss which parameters it makes sense to allow to be updated. Requirement should come from what it is convenient and intuitive for the client, not just because it is technically feasible to do it in the network.

@jlurien @eric-murray @hdamker
Sorry for moving too quickly.
Let's park the PR at this moment and go back to the #47 to discuss the changeable attributes.
I have created a table to scan the attributes in Session information.

@emil-cheung
Copy link
Collaborator Author

On duration we need to decide the semantics:

  • does the duration values still counts from begin of the session? What happens then if PATCH sets a duration which is already exceeded by the session?
  • or will the duration be counted from the (successful) PATCH operation onwards? (only that will allow to achieve sessions longer than the defined maximum of 86400 seconds)

@hdamker
My thought is the timer will be reset since the successful PATCH operation, which is simple and clear.

@hdamker hdamker removed the don't merge there is a (temporary) reason to not merge this PR into main label Jul 30, 2023
@hdamker hdamker marked this pull request as draft July 30, 2023 10:28
@hdamker hdamker removed the request for review from shilpa-padgaonkar July 30, 2023 10:30
@hdamker
Copy link
Collaborator

hdamker commented Jul 30, 2023

@emil-cheung: i changed the PR to "draft" status, until we have discussed the behavior behind patching duration withing in the issue #47 and PR is adapted based on the result.

(all people who have subscribed to the PR previously are still subscribed)

@emil-cheung emil-cheung closed this Sep 7, 2023
@emil-cheung emil-cheung deleted the emil-cheung-patch-operation branch September 7, 2023 07:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Include support for /PATCH sessions
4 participants