• Type: Icon: Epic Epic
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Needed
    • Done
    • TOOLS Atlas connection UX
    • 0.5
    • 0
    • Hide

      Engineer(s): Tim Fogarty
      Reviewer(s): Patrick Meredith, Ryan Chipman

      2020-03-05: Pending completion

      • Code complete on Feb 28
      • Complete pending resolution of build failure at merge to master

      2020-02-28: Pushed back 2 weeks

      • Target date pushed to Feb 28
      • In progress: set a connection string as a positional argument
      • In code review: Allow --uri to be used with other connection string options

      2020-02-06: Pushed back 2 weeks

      • Target date pushed to Feb 14, as work was preempted by higher priority items over the last few weeks
      • username option is complete
      • Next up, passing positional arguments to the connection screen

      2020-01-09

      • Estimated end date beginning of Feb. This is tentative, may be pushed back depending on additional work in the form of bugs that may arise in during this timeframe.

      2020-01-07

      • Finishing up team review on tech design
      Show
      Engineer(s): Tim Fogarty Reviewer(s): Patrick Meredith, Ryan Chipman 2020-03-05: Pending completion Code complete on Feb 28 Complete pending resolution of build failure at merge to master 2020-02-28: Pushed back 2 weeks Target date pushed to Feb 28 In progress: set a connection string as a positional argument In code review: Allow --uri to be used with other connection string options 2020-02-06: Pushed back 2 weeks Target date pushed to Feb 14, as work was preempted by higher priority items over the last few weeks username option is complete Next up, passing positional arguments to the connection screen 2020-01-09 Estimated end date beginning of Feb. This is tentative, may be pushed back depending on additional work in the form of bugs that may arise in during this timeframe. 2020-01-07 Finishing up team review on tech design

      Atlas provides a mongo shell connection prompt like this:

      # 3.6+
      mongo "mongodb+srv://cluster0-vcvyn.mongodb.net/test" --username <username>
      
      # 3.4 and earlier
      mongo "mongodb://cluster0-shard-00-00-vcvyn.mongodb.net:27017,cluster0-shard-00-01-vcvyn.mongodb.net:27017,cluster0-shard-00-02-vcvyn.mongodb.net:27017/test?replicaSet=Cluster0-shard-0" --ssl --authenticationDatabase admin --username <username> --password <password>
      

      We'd like the tools to support both formats – detecting a URI on the command line without the --uri flag.

      This work will need to address conflicts between the uri option and other parameters like db (see TOOLS-2037 for an example). One possibility could be to keep the legacy URI conflict warnings with the --uri flag (and perhaps deprecate it), but do something more user-friendly if a URI is provided on the command line without --uri (such as allow other command line options to take precedence).

            Assignee:
            tim.fogarty@mongodb.com Tim Fogarty
            Reporter:
            david.golden@mongodb.com David Golden
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: