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

Atlas deployment identification can be improved

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 1.31.0
    • None
    • Deployment Awareness
    • None
    • 2
    • Not Needed
    • Iteration Orlando, Iteration Phnom Penh, Iteration Q

    Description

      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)

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: