Skip to content

Implementation for quality-on-demand and qos-profiles v0.11.1#25

Merged
maxl2287 merged 2 commits intocamaraproject:mainfrom
maxl2287:release/r1.3
Mar 20, 2025
Merged

Implementation for quality-on-demand and qos-profiles v0.11.1#25
maxl2287 merged 2 commits intocamaraproject:mainfrom
maxl2287:release/r1.3

Conversation

@maxl2287
Copy link
Copy Markdown
Collaborator

@maxl2287 maxl2287 commented Mar 19, 2025

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.1
  • qos-profiles v0.11.1

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
@maxl2287 maxl2287 changed the title Implementation for quality-on-demand and qos-profiles v0.11.0 Implementation for quality-on-demand and qos-profiles v0.11.1 Mar 19, 2025
Copy link
Copy Markdown
Collaborator

@dfischer-tech dfischer-tech left a comment

Choose a reason for hiding this comment

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

LGTM 👍

Copy link
Copy Markdown
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

@maxl2287 maxl2287 merged commit 0d32624 into camaraproject:main Mar 20, 2025
2 checks passed
@maxl2287 maxl2287 deleted the release/r1.3 branch March 20, 2025 08:16
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.

3 participants