camaraproject / QualityOnDemand

Repository to describe, develop, document and test the QualityOnDemand API family
https://wiki.camaraproject.org/x/zwOeAQ
Apache License 2.0
37 stars 60 forks source link

Add PATCH operation #162

Closed emil-cheung closed 10 months ago

emil-cheung commented 1 year ago

What type of PR is this?

Add one of the following kinds:

What this PR does / why we need it:

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 commented 1 year ago

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

hdamker commented 1 year ago

On duration we need to decide the semantics:

hdamker commented 1 year ago

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.

emil-cheung commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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 commented 11 months ago

@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)