newrelic / newrelic/newrelic-java-agent
Replace CXF related point cuts with new weaver instrumentation module
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 240
- Forks
- 170
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 21
Description
Description
Point cuts:
com.newrelic.agent.instrumentation.pointcuts.frameworks.cxf.CXFPointCut
com.newrelic.agent.instrumentation.pointcuts.frameworks.cxf.CXFInvokerPointCut
com.newrelic.agent.instrumentation.pointcuts.frameworks.cxf.ClientProxyPointCut
Instruments the following:
org.apache.cxf.transport.servlet.ServletDestination.invoke(ServletConfig, ServletContext, HttpServletRequest, HttpServletResponse)
org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(Exchange, Object, Method, Object[])
org.apache.cxf.frontend.ClientProxy.invokeSync(Method, BindingOperationInfo, Object[])
This module does not need to act as a dispatcher in anyway since the execution flow starts at the standard servlet layer.
The new module should target the following CXF versions:
javax namespace: v3 -> v4 (exclusive)
jakarta namespace: v4 -> current
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading CXFPointCut.java, CXFInvokerPointCut.java, and ClientProxyPointCut.java, then trace the listed CXF methods and the standard servlet entry point. Review how existing instrumentation modules handle javax and jakarta version ranges. Done means replacing these point cuts with the new weaver instrumentation module for javax CXF v3–v4 exclusive and jakarta CXF v4 onward, without dispatcher behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend, devtools
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100