Ensure parseResourcePattern creates NamespaceString with tenantId

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Server Serverless 2023-03-20, Server Serverless 2023-04-03
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Until PM-2969 is completed, parseResourcePattern takes in a string for the db name and when it constructs a NamespaceString, it will construct it without a tenantId. This will fail once tenantIds are required to construct namespaces when multitenancySupport is enabled. This ticket is to make sure that the tenantId is extracted from the db name so the namespace can be constructed with it correctly. This is temporary, as PM-2969 should change the API take use DatabaseName objects instead.

            Assignee:
            Janna Golden
            Reporter:
            Janna Golden
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: