XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.4
    • Component/s: Web API
    • Labels:
      None
    • Edition:
      Community
    • Production Notes:
      None

      Description

      As WS api/alm_integration/list_projects makes calls to github/bitbucket cloud, we should ensure that even if the call to the AML takes forever, api/alm_integration/list_projects will respond in a reasonable time (20 seconds?).

      If call to AML takes more than 20 seconds, api/alm_integration/list_projects should return a error 503 with a message such as "Github/BitBucket Cloud could not be contacted in a timely fashion. Please retry in a moment".

      Github implements call rates. In case one hits this rate, one shouldn't make a call to github for some period of time. We should make sure we do not wait that period of time before api/alm_integration/list_projects returns an error to the user. (should this waiting period be reported to the user?)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              julien.henry Julien Henry
              Reporter:
              sebastien.lesaint Sebastien Lesaint
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: