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

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

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.29.5
    • Component/s: Compass
    • Labels:
      None
    • Story Points:
      3
    • Documentation Changes:
      Not Needed
    • Sprint:
      Iteration Novokuybyshevsk, Iteration Orlando

      Description

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

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

      • Model fetch gets the detailed dbStats 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

              Assignee:
              sergey.petushkov Sergey Petushkov
              Reporter:
              sergey.petushkov Sergey Petushkov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: