Uploaded image for project: 'REST Client'
  1. REST Client
  2. MGNLRESTCL-46

Timeout a REST request

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 2.0
    • None
    • None
    • None
    • Yes
    • Yes
    • Declarative REST 6, Declarative REST 7
    • 8

      As a developer, I can configure a timeout on a REST connection, so that my integration does not block my application.

      A REST Client might not be able to get a response in a timely manner (for example due to the external system not responding, a change in the API of the external system, or a network issue). A developer needs tools to handle this eventuality, in particular that the system can continue without blocking.

      For Example:

      • Some content is of secondary importance such as offers and promotions. Even if the REST source where you are getting the promos stops responding you still want to render the primary content of your site immediately.

      Acceptance Criteria:

      • Ability to setup a timeout, and what should happen when a timeout is reached.
      • Ability to timeout on either the time-of-first-response, time-of-completion, or both.
      • Ability to fallback to cache when timeout is reached.
      • Abilty to return error when timeout is reached.

        Acceptance criteria

              thien.quach Quach Hao Thien
              czimmermann Christopher Zimmermann
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0d
                  0d
                  Logged:
                  Time Spent - 2.5d
                  2.5d