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 the plugin for mssql-jtds 1.x plugin. #5842
Conversation
Codecov Report
@@ Coverage Diff @@
## master #5842 +/- ##
=============================================
- Coverage 52.59% 40.92% -11.68%
+ Complexity 3465 2694 -771
=============================================
Files 897 937 +40
Lines 22475 23221 +746
Branches 2150 2232 +82
=============================================
- Hits 11821 9503 -2318
- Misses 9704 13019 +3315
+ Partials 950 699 -251 Continue to review full report at Codecov.
|
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.
UPDATED
Resolved since it's provided scope
@zifeihan https://github.com/milesibastos/jTDS checked this lib, it's under license LGPL 2.1, which is not allowed to be included in this repository, maybe we need to move this plugin to the repo https://github.com/SkyAPM/java-plugin-extensions
@kezhenxu94 LGPL compiling is allowed, the key is |
The key to GPL/LGPL dependency restriction is, we can't ask the user has to use this lib. But in the plugin system, we don't depend on the lib, the user did before use, we are just adopting, which is fine. |
Also, at the same time, I assume the logo is not allowed(rocketbot-ui), it is not just GPL/LGPL, it is totally commercial. |
Got it. Thanks for clarifying. Will continue to review then |
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.
Some nits inline
...va/org/apache/skywalking/apm/plugin/mssql/jtds/v1/define/ConnectionJDBC2Instrumentation.java
Outdated
Show resolved
Hide resolved
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.
Thanks. Codes and test results look good to me
...org/apache/skywalking/apm/plugin/mssql/jtds/v1/define/AbstractConnectionInstrumentation.java
Outdated
Show resolved
Hide resolved
…/org/apache/skywalking/apm/plugin/mssql/jtds/v1/define/AbstractConnectionInstrumentation.java Co-authored-by: Zhenxu Ke <kezhenxu94@163.com>
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.
Thanks, good for me,
Add an agent plugin to support mssql-jtds 1.x
Fix #2340, add an agent plugin to support mssql-jtds 1.x, like