[SERVER-82544] Support unsigned token in mongoq simulator and change NTDI dollar tenant jscore passthrough Created: 27/Oct/23  Updated: 22/Nov/23  Resolved: 22/Nov/23

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

Type: Task Priority: Major - P3
Reporter: Sophia Tan Assignee: Sophia Tan
Resolution: Fixed Votes: 0
Labels: ntdi_must_have, ntdi_test_plan
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Gantt Dependency
has to be done before SERVER-82545 Remove inject_dollar_tenant.js Closed
Issue split
split from SERVER-82271 Stop testing requests with $tenant Needs Scheduling
Assigned Teams:
Service Arch
Backwards Compatibility: Fully Compatible
Sprint: Service Arch 2023-11-27
Participants:
Story Points: 2

 Description   

Today, the inject_security_token.js is used to inject signed security token and help us to simulate the tenant requests from mongoq. 

In this ticket, we need to:

  • rename the inject_security_token.js to be simulate_mongoq.js
  • make it also support to inject unsigned security token if required by the test suites.
  • change the native_tenant_data_isolation_with_dollar_tenant_jscore_passthrough.yml to use this override instead of the 'inject_dollar_tenant.js' and rename the yml file to be `multitenancy_with_mongoq_unsigned_token_jscore_passthrough.yml'.


 Comments   
Comment by Githook User [ 21/Nov/23 ]

Author:

{'name': 'Sophia Tan', 'email': 'sophia_tll@hotmail.com', 'username': 'sophiatll'}

Message: SERVER-82544 Support unsigned token in mongoq simulator and change NTDI dollar tenant jscore passthrough
Branch: master
https://github.com/mongodb/mongo/commit/458fce7d7ac48686569506b718370e6b451faf34

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