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

api: remove ssl #379

Merged
merged 2 commits into from
Feb 8, 2024
Merged

api: remove ssl #379

merged 2 commits into from
Feb 8, 2024

Conversation

DerekBum
Copy link

@DerekBum DerekBum commented Feb 3, 2024

OpenSslDialer and all of its helper functions and tests were rellocated to the go-tlsdialer [1] package (and renamed to OpenSSLDialer). So now we can safely remove all the copy-pasted code from go-tarantool.

This way, in order to use SSL, user should import the go-tlsdialer package and call functions from there.

After all Tarantool-EE specific logic was moved to the go-tlsdialer, Tarantool-EE jobs could be removed from ci workflows. In a separate commit, Tarantool-EE jobs are removed from the ci workflows.

  1. https://github.com/tarantool/go-tlsdialer/

Related issues:

Closes #301

@DerekBum DerekBum requested a review from oleg-jukovec February 3, 2024 20:49
@DerekBum DerekBum force-pushed the DerekBum/gh-301-remove-ssl branch from 9f8ea39 to de0a46c Compare February 4, 2024 01:18
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
dial_test.go Show resolved Hide resolved
@oleg-jukovec
Copy link
Collaborator

In the commit message:

s/[1] https://github.com/tarantool/go-tlsdialer/1. https://github.com/tarantool/go-tlsdialer/

The commit message should be < 72 characters. Now it is too short at the first glance.

@DerekBum DerekBum force-pushed the DerekBum/gh-301-remove-ssl branch 2 times, most recently from 64ca4ce to 350de61 Compare February 5, 2024 16:16
Copy link
Collaborator

@oleg-jukovec oleg-jukovec left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the patch!

dial_test.go Outdated Show resolved Hide resolved
tarantool_test.go Outdated Show resolved Hide resolved
@DerekBum DerekBum force-pushed the DerekBum/gh-301-remove-ssl branch from 350de61 to edc1a3e Compare February 5, 2024 21:00
README.md Outdated Show resolved Hide resolved
@DerekBum DerekBum force-pushed the DerekBum/gh-301-remove-ssl branch 2 times, most recently from ba00d4e to ae6cfc6 Compare February 8, 2024 07:19
Copy link
Member

@DifferentialOrange DifferentialOrange left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, I had forgot to press "Finish your review"

README.md Outdated Show resolved Hide resolved
@oleg-jukovec
Copy link
Collaborator

Please, s/OpenSsl/OpenSSL/g

@DerekBum
Copy link
Author

DerekBum commented Feb 8, 2024

Please, s/OpenSsl/OpenSSL/g

That was already changed this morning.

@DerekBum DerekBum force-pushed the DerekBum/gh-301-remove-ssl branch from ae6cfc6 to 00e72eb Compare February 8, 2024 10:27
CHANGELOG.md Outdated
@@ -125,6 +124,7 @@ Versioning](http://semver.org/spec/v2.0.0.html) except to the first release.
- Code() method from the Request interface (#158)
- `Schema` field from the `Connection` struct (#7)
- `OkCode` and `PushCode` constants (#237)
- Move SSL support to a separate module `go-tlsdialer` (#301)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was simply

Removed

  • IPROTO constants

for moving IPROTO constants to a separate package. I think here we too should simply

Removed

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, updated.

`OpenSslDialer` and all of its helper functions and tests
were rellocated to the `go-tlsdialer` [1] package (and renamed
to `OpenSSLDialer`). So now we can safely remove all the
copy-pasted code from `go-tarantool`.

This way, in order to use SSL, user should import the
`go-tlsdialer` package and call functions from there.

1. https://github.com/tarantool/go-tlsdialer/

Part of #301
@DerekBum DerekBum force-pushed the DerekBum/gh-301-remove-ssl branch from 00e72eb to dc85b64 Compare February 8, 2024 11:07
After all Tarantool-EE specific logic was moved to the
`go-tlsdialer` [1], Tarantool-EE jobs could be removed
from ci workflows.
This commit removes ci jobs for Tarantool-EE.

1. https://github.com/tarantool/go-tlsdialer/

Closes #301
@DerekBum DerekBum force-pushed the DerekBum/gh-301-remove-ssl branch from dc85b64 to 7fae859 Compare February 8, 2024 11:47
@oleg-jukovec oleg-jukovec merged commit f33032e into master Feb 8, 2024
18 checks passed
@oleg-jukovec oleg-jukovec deleted the DerekBum/gh-301-remove-ssl branch February 8, 2024 12:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Disable SSL by default
3 participants