Create a jstest lib for injecting tenant prefix into command objects

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: 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
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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
            Reporter:
            Sophia Tan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: