[COMPASS-3589] Connection model should parse all URI options Created: 24/Apr/19  Updated: 08/Jul/19  Resolved: 25/Jun/19

Status: Closed
Project: Compass
Component/s: Connectivity
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Durran Jordan Assignee: Alena Khineika
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: COMPASS-1173
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/



 Comments   
Comment by Githook User [ 08/Jul/19 ]

Author:

{'name': 'Alena Khineika', 'email': 'alenakhineika@users.noreply.github.com', 'username': 'alenakhineika'}

Message: COMPASS-3589 testing srv (#196)

  • Ability to test srv connection strings
  • Readme variables clean up
Comment by Githook User [ 18/Jun/19 ]

Author:

{'name': 'Alena Khineika', 'email': 'alenakhineika@users.noreply.github.com', 'username': 'alenakhineika'}

Message: COMPASS-3589 support of all uri options (WIP) (#192)

  • Using of a driver parser and code refactoring
  • Tests for host, port and db name
  • Parse URI common targets tests and build URI tests
  • Turning on all tests
  • Parsing a connection string and building the same string back
Generated at Wed Feb 07 22:33:39 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.