Skip to content
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

FEAT: Jersey: check impl method for annotations before interface method #3522

Open
wants to merge 1 commit into
base: release/4.2.x
Choose a base branch
from

Commits on Oct 3, 2024

  1. FEAT: Jersey: check impl method for annotations before interface method

    Metrics annotations (@timed, @metered, etc) don’t allow annotating a
    resource on the *implementing* method, only on the *defining* (interface)
    method (or more accurately, the method corresponding to the @path
    definition, more or less).
    
    This patch enhances dropwizard-metrics to extract metrics annotations more
    intelligently, preferring the annotation on the implementation (and
    falling back to the interface / definitionMethod if the implementation
    annotation is absent).
    Mark Miller authored and joschi committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    41e3dc6 View commit details
    Browse the repository at this point in the history