Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-5209

Refactor mongodb-collection-model to allow for decoupling of instance/db/coll fetching logic

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 1.29.5
    • Collection
    • None
    • 3
    • Not Needed
    • Iteration Novokuybyshevsk, Iteration Orlando

    Description

      • Provide collection and model fetch methods instead of relying on instance-model to populate this data
      • Collection fetch should resolve only with result of { listCollections: 1, nameOnly: 1 }

        (or from userInfo if there are not enough rights to list) not with the whole coll info

      • Model fetch gets the detailed collStats info

      Note: we are not trying to drastically rewrite the code here, we just providing standard Ampersand methods for handling Model state fetching to unify the architecture approach with the currently used state mgmt framework, this also enables us to decouple the loading of this data from the instance-model eventually in the follow up tickets

      Miro board with changes context

      Attachments

        Issue Links

          Activity

            People

              sergey.petushkov@mongodb.com Sergey Petushkov
              sergey.petushkov@mongodb.com Sergey Petushkov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: