Uploaded image for project: 'Identity Provider'
  1. Identity Provider
  2. IDP-1208

Make cache key optional/conditional on DataConnector searches

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.4.0
    • Component/s: Attribute Resolver
    • Labels:
      None
    • Operating System:
      Multiple

      Description

      The ExecutableSearch.getCacheKey method is non-null, and can't throw, so implementations that may be cacheable only under specific conditions don't work, and it's impossible to raise a controlled exception even if it's globally impossible for the search type to be cached.

      It's "safe" to convert it to nullable, plus it's an impl interface anyway. The search data connector base will be changed to check for a null result.

        Attachments

          Activity

            People

            Assignee:
            cantor.2@osu.edu Scott Cantor
            Reporter:
            cantor.2@osu.edu Scott Cantor
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 15 minutes
                15m