Uploaded image for project: 'Nuxeo Drive '
  1. Nuxeo Drive
  2. NXDRIVE-1006

Improve calls to /site/automation

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.5.4
    • Fix Version/s: 2.5.6
    • Component/s: Framework
    • Tags:
    • Sprint:
      nxMS 9.3.7
    • Story Points:
      2

      Description

      On our servers, it represent more than 50% of HTTP requests. We use it to retrieve all operations possible on the server, parameters included.

      The idea is to defer the call of fetch_api():

      • only if needed (to validate parameters for instance); but as Drive calls are controled by core developers, parameters check can be salefly removed. We still use it to check few possible operations, investigate if we can use simple variables instead.
      • use a property for self.operations to fill it only on demand, and cache the result.

      Any other idea?

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 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 - 2 days, 6 hours, 45 minutes
                  2d 6h 45m