Skip to content

Implementation for quality-on-demand and qos-profiles v0.11.0 (r1.3)#23

Closed
maxl2287 wants to merge 4 commits intocamaraproject:mainfrom
maxl2287:release/r1.3
Closed

Implementation for quality-on-demand and qos-profiles v0.11.0 (r1.3)#23
maxl2287 wants to merge 4 commits intocamaraproject:mainfrom
maxl2287:release/r1.3

Conversation

@maxl2287
Copy link
Copy Markdown
Collaborator

What type of PR is this?

Add one of the following kinds:

  • enhancement/feature

What this PR does / why we need it:

Implementation of QualityOnDemand r1.3:

  • quality-on-demand v0.11.0
  • qos-profiles v0.11.0

Changelog input

## r1.3

### quality-on-demand v0.11.1

#### Added

- n/a

#### Changed

- Changed the response-status for `/extend`, when the extended duration is not able to be extended, as it already reached the limit.

### qos-profiles v0.11.1

#### Added

- n/a

#### Changed

- n/a

### Dependency updates

- Spring-Boot v3.4.2 

## r1.2

### quality-on-demand v0.11.0

#### Added
- device can also be provided inside the access-token. The provider will extract the corresponding claims to use them for the following flows.
- If a device is given via accessToken and request-body, then an additional match-validation is triggered. This will verify that, e.g., the phoneNumber  of the access-token matches the one of the request-body If there is a mismatch, the provider will answer with HTTP-403 INVALID_TOKEN_CONTEXT
- If there is no device provided by access-token or request-body then the provider will return with HTTP-422 UNIDENTIFIABLE_DEVICE
- If the provided device-identifier is not supported by the provider implementation, the provider will return with HTTP-422 UNSUPPORTED_DEVICE_IDENTIFIERS
- New endpoint for retrieving all sessions for a specific device retrieveSessions

#### Changed
- Sessions can only be extended when they are in state `AVAILABLE`
- Sessions start when they get `AVAILABLE` otherwise they stay in the status `REQUESTED` with a duration of one day (86400 seconds).
- updated subscription-model by using `sink` and `sinkCredentials`
- `sinkCredentials` can only support `ACCESSTOKEN`-type, others will be declined (e.g. PLAIN, REFRESHTOKEN)
- optional `device`-parameter 
- `startedAt` and `expiresAt` are now in Date-Time format
- devíce can be delivered via access-token
- added `statusInfo` as parameter in `SessionInfo`
- mandatory `+` for `phoneNumber`


### qos-profiles v0.11.0

#### Changed

- changed the retrieval operation to allow the get the QoS Profiles available for a given device  
- changed query from GET /qos-profiles to POST /retrieve-qos-profiles

### Additional Changes
- Upgraded to Spring Boot 3.4.1 and other dependencies
- Switched to MongoDB - database

@maxl2287 maxl2287 added the enhancement New feature or request label Mar 19, 2025
@maxl2287 maxl2287 self-assigned this Mar 19, 2025
@dfischer-tech
Copy link
Copy Markdown
Collaborator

LGTM 👍

@maxl2287 maxl2287 marked this pull request as draft March 19, 2025 13:18
@maxl2287 maxl2287 closed this Mar 19, 2025
@maxl2287 maxl2287 deleted the release/r1.3 branch March 19, 2025 14:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants