-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: report hostname for atlas COMPASS-8093 (#2113)
* feat: report hostname for atlas COMPASS-8093 * fix: do not call on method in worker-thread environment * refactor: dynamically import mongodb-cloud-info * refactor: read resolved srv from topology * fix: add getTopology to service provider default functions * refactor: make s optional * refactor: use uri if cannot resolve host * refactor: move mongodb-cloud-info * feat: handle IPv6 hostnames * refactor: import mongodb-cloud-info at startup * refactor: remove mongodb-cloud-info * refactor: listen on topologyDescriptionChanged * refactor: move getHostnameForConnection to service-provider-server * refactor: clean up * fix: connectionInfo can be undefined * chore: add dependency
- Loading branch information
1 parent
04c8a49
commit 98a0619
Showing
17 changed files
with
330 additions
and
175 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -103,7 +103,6 @@ class DemoServiceProvider { | |
extraInfo: { | ||
uri: 'mongodb://localhost/', | ||
}, | ||
topology: null, | ||
}; | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.