Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for connection string #242

Merged

Conversation

mangalaman93
Copy link
Member

No description provided.

mangalaman93 and others added 14 commits February 18, 2025 20:17
* Add a method parse and connect to dgraph from passed connection string

* Add the Open function

Relocate Close to this module

* Update tests; add self-cert test

* Rework Open function

* Fix formatting issue

* Add a skip tls ca verification option

* Add a timeout context to the login operation

* Remove the login tests

Coverage is provided elsewhere

* Rework test helper to use Open function

* Update comments

* Increase the Login timeout

* Update the README with new Open and NewClient funcs

* Add a compose file for testing against DH image

* Revert promotion of sslmode when apikey is specified

* Add support for standard auth token

Uses query param `bearertoken`

* Revert README

Will open a new PR for this when we release an official new version

* Remove duplicate file
@mangalaman93 mangalaman93 requested a review from a team as a code owner March 26, 2025 21:50
@mangalaman93 mangalaman93 merged commit 7e2c523 into release/v240 Mar 26, 2025
2 checks passed
@mangalaman93 mangalaman93 deleted the matthewmcneely/prepare-v24-with-conn-string-support branch March 26, 2025 22:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants