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

Extend session duration #216

Merged

Conversation

emil-cheung
Copy link
Collaborator

@emil-cheung emil-cheung commented Sep 7, 2023

What type of PR is this?

Add one of the following kinds:
enhancement/feature

What this PR does / why we need it:

Extend the duration of an active session.

Which issue(s) this PR fixes:

Fixes #220

Special notes for reviewers:

Changelog input

 release-note

Additional documentation

This section can be blank.

docs

Add a new operation to extend session duration
@emil-cheung emil-cheung changed the title Emil cheung extend session duration Extend or reduce session duration Sep 7, 2023
@emil-cheung emil-cheung changed the title Extend or reduce session duration Extend session duration Sep 22, 2023
Copy link
Collaborator

@jlurien jlurien left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agree with extension only. 2 comments:

  • security is missing
  • we should make clear behaviour and errors regarding remaining + extension <= maximum duration

code/API_definitions/qod-api.yaml Show resolved Hide resolved
code/API_definitions/qod-api.yaml Show resolved Hide resolved
/sessions/{sessionId}/extend:
post:
tags:
- Change session duration
Copy link
Collaborator

@eric-murray eric-murray Nov 14, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tag should be Title Case, but it's not clear to me why we need a new tag here

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wouldn't add a new tag for this. Tags are intended to group operations and this operation can be part of the existing "QoS Sessions" tag.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Addressed in 867c743

/sessions/{sessionId}/extend:
post:
tags:
- Change session duration
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wouldn't add a new tag for this. Tags are intended to group operations and this operation can be part of the existing "QoS Sessions" tag.

code/API_definitions/qod-api.yaml Outdated Show resolved Hide resolved
code/API_definitions/qod-api.yaml Show resolved Hide resolved
code/API_definitions/qod-api.yaml Show resolved Hide resolved
code/API_definitions/qod-api.yaml Show resolved Hide resolved
emil-cheung and others added 2 commits November 17, 2023 19:07
Change the tags of extend session duration operation.
Copy link
Collaborator

@hdamker hdamker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@hdamker
Copy link
Collaborator

hdamker commented Nov 19, 2023

@eric-murray @RandyLevensalor Please have a final view

@hdamker
Copy link
Collaborator

hdamker commented Nov 24, 2023

No further comments since last week, so we are good here.

@hdamker hdamker merged commit 3b1c155 into camaraproject:main Nov 24, 2023
2 checks passed
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.

Change duration of an active session
7 participants