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

Connection model should parse all URI options

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Connectivity
    • Labels:
      None
    • # Replies:
      2
    • Last comment by Customer:
      true
    • Story Points:
      5
    • Sprint:
      Iteration Dingo, Iteration Echidna, Iteration Giraffe, Iteration Ferret

      Description

      Update the connection model to parse all connection options that URI can have. Use the node driver URI parser for it instead of mongodb-url.

      • Replace mongodb-js/url parser with parseConnectionString from mongodb-js/mongodb-core
      • Update tests according to changes in the code
      • Add tests for parsing URI
      • Update returning object structure

      For more info the about connection string: https://docs.mongodb.com/manual/reference/connection-string/

        Attachments

          Activity

            People

            Assignee:
            alena.khineika Alena Khineika
            Reporter:
            durran.jordan Durran Jordan
            Participants:
            Last commenter:
            Jessica Sigafoos
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since reply:
              1 year, 11 weeks, 5 days ago
              Date of 1st Reply: