-
Notifications
You must be signed in to change notification settings - Fork 60
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
Initial API proposal for QoD Booking API #379
Conversation
Create qod-booking.yaml
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some initial comments for basic aspects. We have to decide if this would be a new API withing the current repo or it is moved to a new one.
Going into other details we will have to define relevant errors for this API, for example to control limits in startTime, duration, area, etc
format: date-time | ||
example: "2024-06-01T12:00:00Z" | ||
duration: | ||
description: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For a CreateBooking request, duration is just what the client is requesting, regardless the qosStatus. -We should adapt this description
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let me revise it based on your comment in new QoS Booking repository.
description: Attributes to request a new QoD Booking | ||
allOf: | ||
- $ref: "#/components/schemas/BaseBookingInfo" | ||
- type: object |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To create a booking, at least startTime must be required, probably also duration (unless we set a default but I think it makes more sense to eb required). area may be optional but we should define the expectancy when it is not provided
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let me revise it based on your comment in new QoS Booking repository.
$ref: "#/components/schemas/Status" | ||
statusInfo: | ||
$ref: "#/components/schemas/StatusInfo" | ||
required: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the response, other properties must be required: startTime, duration . startedAt has no sense in the response to CreateBooking but it is relevant for GET.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let me revise it based on your comment in new QoS Booking repository.
@jlurien, Thank you for the initial comments. |
@jlurien, just let me comment on new API. My preference is "this new API is within the current repo" rather than "it is moved to a new one", though I know this is on API backlog decision. |
I guess that we will have to move this proposal to the new sandbox repo once it is created. |
@jlurien |
@Masa8106 the new sandbox repo is available: https://github.com/camaraproject/QoSBooking |
Co-authored-by: Jose Luis Urien <[email protected]>
Co-authored-by: Jose Luis Urien <[email protected]>
Co-authored-by: Jose Luis Urien <[email protected]>
I have moved this PR to QoS Booking repository PR #5. |
Then let's close the PR here ... the information is still available |
What type of PR is this?
Add one of the following kinds:
What this PR does / why we need it:
This is the initial proposal from KDDI for the QoD Booking API
Which issue(s) this PR fixes:
Fixes #337
Special notes for reviewers:
None
Changelog input
Additional documentation
None