[SERVER-82602] Remove expectPrefix in the command body to use it from the token instead Created: 30/Oct/23  Updated: 11/Jan/24  Resolved: 30/Oct/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Mathis Bessa Assignee: Backlog - Service Architecture
Resolution: Duplicate Votes: 0
Labels: ntdi_must_have, ntdi_test_plan
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-82319 simulate_atlas_proxy override only co... Closed
Related
related to SERVER-82317 Update manually constructed Serializa... Closed
related to SERVER-84750 Stop parsing expectPrefix in command ... Closed
Assigned Teams:
Service Arch
Participants:

 Description   

We are removing expectPrefix per command and instead using `expectPrefix` per connection.

This is setup whenever the connection is established and if the security token (unsigned) contains `expectPrefix` in its body.

This behavior is strictly related to Atlas proxy.

We currently have passthroughs and testing overriding commands by injecting `expectPrefix` (see here). This should be changed to rely on the provided security token instead of the command body.


Generated at Thu Feb 08 06:49:45 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.