-
Notifications
You must be signed in to change notification settings - Fork 6
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
feat: adapt api v8 changes [WPB-15722] #3288
Conversation
@@ -370,7 +370,7 @@ internal open class ConversationApiV0 internal constructor( | |||
messageTimer: Long? | |||
): NetworkResponse<EventContentDTO.Conversation.MessageTimerUpdate> = | |||
wrapKaliumResponse { | |||
httpClient.put("$PATH_CONVERSATIONS/${conversationId.value}/$PATH_MESSAGE_TIMER") { | |||
httpClient.put("$PATH_CONVERSATIONS/${conversationId.domain}/${conversationId.value}/$PATH_MESSAGE_TIMER") { |
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.
the change log mentions that the nonqualified will be removed in v8 but checking swagger the qualified one exists since v0 so i just changed it to all versions
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.
lgtm !
|
|
Branch | feat/api-v8 |
Testbed | ubuntu-latest |
⚠️ WARNING: No Threshold found!Without a Threshold, no Alerts will ever be generated.
Click here to create a new Threshold
For more information, see the Threshold documentation.
To only post results if a Threshold exists, set the--ci-only-thresholds
flag.
Click to view all benchmark results
Benchmark | Latency | microseconds (µs) |
---|---|---|
com.wire.kalium.benchmarks.logic.CoreLogicBenchmark.createObjectInFiles | 📈 view plot | 685.12 |
com.wire.kalium.benchmarks.logic.CoreLogicBenchmark.createObjectInMemory | 📈 view plot | 340,647.14 |
com.wire.kalium.benchmarks.persistence.MessagesNoPragmaTuneBenchmark.messageInsertionBenchmark | 📈 view plot | 1,341,301.73 |
com.wire.kalium.benchmarks.persistence.MessagesNoPragmaTuneBenchmark.queryMessagesBenchmark | 📈 view plot | 22,204.47 |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #3288 +/- ##
===========================================
- Coverage 50.84% 50.84% -0.01%
===========================================
Files 1607 1607
Lines 58059 58082 +23
Branches 5204 5208 +4
===========================================
+ Hits 29521 29531 +10
- Misses 26522 26535 +13
Partials 2016 2016 see 11 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
Datadog ReportBranch report: ✅ 0 Failed, 3411 Passed, 108 Skipped, 1m 0.69s Total Time |
PR Submission Checklist for internal contributors
The PR Title
SQPIT-764
The PR Description
What's new in this PR?
Issues
add the following changes
Removed endpoints in V8
GET /calls/config
. UseGET /calls/config/v2
instead. (Do not mind the double versioning. This will be cleaned up as soon as we get to it)POST /password-reset/:key
. UsePOST /password-reset/complete
instead.POST /onboarding/v3
PUT /conversations/:cnv
. UsePUT /conversations/:domain/:conv/name
instead.PUT /conversations/:cnv/name
. UsePUT /conversations/:domain/:conv/name
instead.PUT /conversations/:cnv/message-timer
. Use/conversations/:domain/:cnv/message-timer
insteadPUT /conversations/:cnv/receit-mode
. UsePUT /conversations/:domain/:cnv/receipt-mode
insteadPUT /conversations/:cnv/self
. Use/conversations/:domain/:conv/self
instead.GET /conversations/:cnv/self
.Changed endpoints in V8
There is a new type of capability in
capabilities
field forClient
:consumable-notifications
. This will only show up when using API v7. In the notifications containing theClient
structure, this capability will not be visible.GET /scim/auth-tokens
returns an array ofScimTokenInfo
items which now have a (non-optional) additional field:name
.POST /scim/auth-tokens
request has a new optional field:name
. If not specified, the name will be set to the ID of the SCIM token by the backend. (Same for scim token info coming back from the server in this or other routes, except on the way back from the server thename
field is always set to a value, either user-specified or the UUID, like in get.)POST /scim/auth-tokens
request has a new optional field:idp id
(UUIDv4). If specified, the scim peer will associate with the given idp and share the same user base. If not, the scim peer will provision password-authenticated users. (Same field in idp info coming back from the server in this or other routes; theidp id
field may be missing if noidp id
was specified).NOTE: this changes the behavior of a request without
idp
:The
ciphersuite
orciphersuites
query parameters were optional before and are required now for the endpointsPOST /mls/key-packages/claim/{user_domain}/{user}
(claim key packages),DELETE /mls/key-packages/self/{client}
(delete key packages),PUT /mls/key-packages/self/{client}
(replace key packages), andGET /mls/key-packages/self/{client}/count
(count key packages).Needs releases with:
Testing
Test Coverage (Optional)
How to Test
Briefly describe how this change was tested and if applicable the exact steps taken to verify that it works as expected.
Notes (Optional)
Specify here any other facts that you think are important for this issue.
Attachments (Optional)
Attachments like images, videos, etc. (drag and drop in the text box)
PR Post Submission Checklist for internal contributors (Optional)
PR Post Merge Checklist for internal contributors
References
feat(conversation-list): Sort conversations by most emojis in the title #SQPIT-764
.