Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-19501

Add ability to determine fast and slow MailAddressResolvers from external plugins

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Major Major
    • mailer-plugin
    • None

      As a follow-up to discussions regarding usage of MailAddress resolvers in the web interface.

      My proposal:

      • Add a new method to MailAddressResolver (IsFast()?), which indicates that resolver can be used in UIs
      • Add a new resolve method, which takes the "fastOnly" requirement

      Such approach may be useful for typical cases, but we should rely on the correct method's usage in extensions.

          [JENKINS-19501] Add ability to determine fast and slow MailAddressResolvers from external plugins

          Oleg Nenashev created issue -
          Oleg Nenashev made changes -
          Description Original: My proposal:
          - Add a new method to MailAddressResolver (IsFast()?), which indicates that resolver can be used in UIs
          - Add a new resolve method, which takes the "fastOnly" requrement
          New: As a follow-up to discussions regarding usage of MailAddress resolvers in the web interface.

          My proposal:
          - Add a new method to MailAddressResolver (IsFast()?), which indicates that resolver can be used in UIs
          - Add a new resolve method, which takes the "fastOnly" requirement

          Such approach may be useful for typical cases, but we should rely on the correct method's usage in extensions.
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 150955 ] New: JNJira + In-Review [ 177820 ]
          Oleg Nenashev made changes -
          Assignee Original: Oleg Nenashev [ oleg_nenashev ]

            Unassigned Unassigned
            oleg_nenashev Oleg Nenashev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: