-
Notifications
You must be signed in to change notification settings - Fork 69
improve forceConnect pipeline #1238
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
Conversation
Qodana Community for JVMIt seems all right 👌 No new problems were found according to the checks applied 💡 Qodana analysis was run in the pull request mode: only the changed files were checked View the detailed Qodana reportTo be able to view the detailed Qodana report, you can either:
To get - name: 'Qodana Scan'
uses: JetBrains/[email protected]
with:
upload-result: true Contact Qodana teamContact us at [email protected]
|
wrapper/src/main/java/software/amazon/jdbc/plugin/iam/IamAuthConnectionPlugin.java
Outdated
Show resolved
Hide resolved
wrapper/src/main/java/software/amazon/jdbc/ConnectionPluginManager.java
Outdated
Show resolved
Hide resolved
a837402
to
18ecde9
Compare
wrapper/src/main/java/software/amazon/jdbc/ConnectionPluginManager.java
Outdated
Show resolved
Hide resolved
wrapper/src/main/java/software/amazon/jdbc/plugin/AuroraInitialConnectionStrategyPlugin.java
Show resolved
Hide resolved
wrapper/src/main/java/software/amazon/jdbc/plugin/DefaultConnectionPlugin.java
Outdated
Show resolved
Hide resolved
wrapper/src/main/java/software/amazon/jdbc/ConnectionPluginManager.java
Outdated
Show resolved
Hide resolved
wrapper/src/main/java/software/amazon/jdbc/ConnectionPluginManager.java
Outdated
Show resolved
Hide resolved
import software.amazon.jdbc.HostSpec; | ||
import software.amazon.jdbc.JdbcCallable; | ||
import software.amazon.jdbc.util.Messages; | ||
|
||
public class ConnectTimeConnectionPlugin extends AbstractConnectionPlugin { | ||
public class ConnectTimeConnectionPlugin extends AbstractConnectionPlugin | ||
implements AuthenticationConnectionPlugin { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Similar to my previous comment, it seems a bit misleading to label this as an Authentication plugin when it doesn't actually provide auth functionality. Can we similarly either remove this and explicitly check for this plugin in ConnectionPluginManager#makePluginChainFunc or do something like rename AuthenticationConnectionPlugin to ForceConnectPlugin?
import software.amazon.jdbc.HostSpec; | ||
import software.amazon.jdbc.JdbcCallable; | ||
import software.amazon.jdbc.plugin.AbstractConnectionPlugin; | ||
import software.amazon.jdbc.util.StringUtils; | ||
import software.amazon.jdbc.util.WrapperUtils; | ||
|
||
public class DeveloperConnectionPlugin extends AbstractConnectionPlugin implements ExceptionSimulator { | ||
public class DeveloperConnectionPlugin extends AbstractConnectionPlugin | ||
implements AuthenticationConnectionPlugin, ExceptionSimulator { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Similar to my previous comment, it seems a bit misleading to label this as an Authentication plugin when it doesn't actually provide auth functionality. Can we similarly either remove this and explicitly check for this plugin in ConnectionPluginManager#makePluginChainFunc or do something like rename AuthenticationConnectionPlugin to ForceConnectPlugin
|
254473d
to
ac548ae
Compare
…ugin in the chain
ac548ae
to
b4da891
Compare
Summary
improve forceConnect pipeline:
Additional Reviewers
@karenc-bq
@aaronchung-bitquill
@aaron-congo
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.