Uploaded image for project: 'apiman (API Management)'
  1. apiman (API Management)
  2. APIMAN-238

Provide a way for policies to override the IServiceConnector used for a request (needed for caching)

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Major
    • 1.0.x, 1.0.2.Final
    • None
    • Gateway
    • None

    Description

      The caching policy needs a way to hook into the processing of the request such that it can prevent the engine from actually going out to the real back-end service.

      To allow this, the policy needs a way to provide its own custom IServiceConnector, which gets the response (headers and content) from a cache. If a policy does this, then the engine will use that connector rather than create one to the back-end service.

      Only one provided custom IServiceConnector should be allowed per request. If two policies try to provide this, then the second one should fail.

      Attachments

        Activity

          People

            JDiscolo Ruben Romero (Inactive)
            ewittman@redhat.com Eric Wittmann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: