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

Upgrade SSL lib to avoid deprecated problem #518

Open
ningyougang opened this issue Aug 29, 2022 · 0 comments
Open

Upgrade SSL lib to avoid deprecated problem #518

ningyougang opened this issue Aug 29, 2022 · 0 comments

Comments

@ningyougang
Copy link
Contributor

ningyougang commented Aug 29, 2022

If removed -Xfatal-warnings from settings.gradle, WskCliActivationTests test case would be successful.
But if kept -Xfatal-warnings in settings.gradle, WskCliActivationTests test case would be failed. e.g.

./gradlew --console=plain :tests:test --tests="system.basic.WskCliActivationTests"
> Task :tests:compileTestScala
[Error] /home/travis/gopath/src/github.com/apache/openwhisk-cli/tests/src/test/scala/system/basic/HttpProxy.scala:97: object AkkaSSLConfig in package akka is deprecated (since 2.6.0): Use Tcp and TLS with SSLEngine parameters instead. Setup the SSLEngine with needed parameters.
[Error] /home/travis/gopath/src/github.com/apache/openwhisk-cli/tests/src/test/scala/system/basic/HttpProxy.scala:102: constructor HttpsConnectionContext in class HttpsConnectionContext is deprecated (since 10.2.0): prefer ConnectionContext.httpsClient or ConnectionContext.httpsServer
two errors found

> Task :tests:compileTestScala FAILED

Anaway, -Xfatal-warnings (Warnings as errors) is userful, so we should upgrade the lib to fix it with -Xfatal-warnings, refer to: #517 (comment)

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

No branches or pull requests

1 participant