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

Atlas deployment identification can be improved

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.31.0
    • Affects Version/s: None
    • Component/s: Deployment Awareness
    • Labels:
      None
    • 2
    • Not Needed
    • Iteration Orlando, Iteration Phnom Penh, Iteration Q

      Our current Atlas check in Compass is a fairly crude check for mongodb.net hostnames: https://github.com/mongodb-js/compass/blob/d582fcc68c4de95d367da505b8f1ac11737d43ae/packages/compass-deployment-awareness/src/stores/index.js#L4

      This can be improved in multiple ways:

      • The regexp should have its dot escaped (already done in mongosh)
      • We should check for the presence of the atlasVersion command (already done in mongosh)
      • We should allow mongodb-dev.net so that people working on development Atlas environments see feature parity with those who are in production Atlas environments (this would need to be done in mongosh as well)

            Assignee:
            leonardo.rossi@mongodb.com Leonardo Rossi (Inactive)
            Reporter:
            anna.henningsen@mongodb.com Anna Henningsen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: