This repository has been archived by the owner on Apr 3, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow overriding base Temporal server config and client options (#75)
* added options for configuring tls * added tests for tls with and without mutal tls * renamed flags and simplified certificate generation * fixed some mixed case occurences of Tls * added docs for public methods and replaced useMtls with clientAuth * renamed generateCa method and removed old comment * Update temporaltest/options.go Co-authored-by: Jacob LeGrone <jlegrone@users.noreply.github.com> * refactored to use config file for tls options * removed superfluous tls code * applied formatting for readability with temporal test server options * refactored config construction to avoid panic * added missing comment * Update options.go Co-authored-by: Jacob LeGrone <jlegrone@users.noreply.github.com> * Update temporaltest/server.go Co-authored-by: Jacob LeGrone <jlegrone@users.noreply.github.com> * Update temporaltest/options.go Co-authored-by: Jacob LeGrone <jlegrone@users.noreply.github.com> * Update cmd/temporalite/main.go Co-authored-by: Jacob LeGrone <jlegrone@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: Jacob LeGrone <jlegrone@users.noreply.github.com> * adding review suggestions * Run goimports * Use WithBaseClientOptions to match WithBaseConfig Co-authored-by: Jacob LeGrone <jlegrone@users.noreply.github.com> Co-authored-by: Jacob LeGrone <git@jacob.work>
- Loading branch information
1 parent
2cabcd1
commit 349fdfc
Showing
5 changed files
with
125 additions
and
63 deletions.
There are no files selected for viewing
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