-
Notifications
You must be signed in to change notification settings - Fork 669
Add support for RESTEasy4 #169
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
|
Please make sure you finish the test scenarios, which are mentioned by the plugin develop doc. |
We are working on that. |
|
When you are ready, please add your case into GHA control file. About docs, you need to update
|
This is still missing. We only could use GitHub action to test your scenario after you add it. |
|
One question, what are the differences between 3.x and 4.x plugins? I noticed they are very similar. |
Could you example this first? |
It is a different artifact name from 3.x and 4.x. In the first one is |
I think the jar names don't matter when do instrumentation. The class's signature(class name, package name, method name and parameters with types) matters. Have you faced exceptions or something when you put 3.x plugin in 4.x runtime? |
Using the 3.x plugin with a resteasy 4.x application throws a ClassNotFoundException. |
|
I see, could you post the error here? |
|
|
There is code style in the root, please make sure your plugins and test codes could pass verfication. |
|
Your new case is not working, please check this locally https://github.com/apache/skywalking-java/runs/6415702839?check_suite_focus=true |
| # limitations under the License. | ||
| segmentItems: | ||
| - serviceName: resteasy-4.x-scenario | ||
| segmentSize: ge 10 |
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.
Why ge 10? I can't see you wrote 10+ expected segments.
|
I think you didn't test this case locally, please make sure you have passed cases locally first. |
|
@carlfranz Do you still work on this? It is no update for weeks. |
|
Hello @wu-sheng we are facing issues on the build. We cannot replicate locally the error we have with the GH pipeline. I'm not sure to find time to work on this anymore. It's frustrating because we were one step away to do it. |
From the CI loga, actually, your expected data file added resteasy-4.x-scenario, but you can see the actual data without this prefix. Have you run the tests locally? |
|
We can't replicate the error locally. I think the issue is in the expected data file. I admit it is copied from spring scenario, I can't figure out how it works. |
|
Please follow the plugin test doc You should be able to run it on any Linux and Intel based MacOS. |
|
No update in two weeks. If you still want to continue on this, please let us know. All these tests could run and check on Linux locally, don't have to be on GitHub CI |
- Most of the codes are copied from RESTEasy 3.x - The plugin test cases are copied from #169, which have been approved by its original author @carlfranz (https://github.com/carlfranz) through #265 (comment) - Plugin codes are polished to adopt RESTEasy new APIs - Test cases passed.
Add an agent plugin to support
CHANGESlog.