Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-78536

Create a jstest lib for injecting tenant prefix into command objects

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Serverless
    • Fully Compatible
    • Server Serverless 2023-07-24, Server Serverless 2023-08-07, Server Serverless 2023-08-21, Server Serverless 2023-09-04
    • 3

      Create a jstest lib for injecting tenant prefix into command objects.

      This lib should have the functions:

      • a function to inject tenant prefix in command first param if the command's first param is ns or db name.
      • a function to inject tenant prefix into any "ns" or "db" fields of the command objects.
      • a function to inject "expectPrefix:true" to the command objects 
      • a function to inject "$tenant" to the command objects

            Assignee:
            matt.broadstone@mongodb.com Matt Broadstone
            Reporter:
            sophia.tan@mongodb.com Sophia Tan
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: