Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
PAYARA-4123 Refactored server JAXRS Request Tracing #4219
Haven't fully reviewed the code yet, but made some observations.
I'm not convinced this works quite right - or it at least works differently.
I also get an IOException when running the default endpoint of the following app from a blog I did a while ago, with it claiming that the active scope is null due it already being shut, something that worked previously. The example is a bit weird admittedly, but should probably be looked at.
Also also, I'm getting these log messages printed out which look a bit like debug statements:
NPE when enabling request tracing from admin console:
- removed filter + exception mapper solution, which failed TCK's completitioncallback tests - introduced EventListener solution, depends on Jersey - removed trailing whitespaces in the module - added logging and several generics - reduced nesting of blocks in favor of readibility - EnvironmentConfigSource uses AccessController to avoid security exceptions
- tracedAnnotation instance cannot be resolved if the event is for example ON_EXCEPTION invoked sooner than after REQUEST_MATCHED event. - how to simulate: invoke unmapped context causing HTTP 404.