Uploaded image for project: 'Nuxeo Studio'
  1. Nuxeo Studio
  2. NXS-3137

StudioAPI.getProjects() must be replaced by getProjectsNames()

    XMLWordPrintable

    Details

      Description

      StudioAPI.getProjects() allows any authorised user to query the entire list of projects he is a contributor for. But for user with a lot of projects (for example Nuxeo's people), the query takes too long and triggers a "Gateway timeout". This lets the query run on the server side anyway. This query, (especially in the branch management + workspaces" version) will consume a lot of resources, and slow down the server.

      This API should be removed (it seems it is only used by Nuxeo IDE so far). A new API (something like StudioAPI.getProjectsNames()) should be exposed for Nuxeo IDE, with (to be confirmed) Name and Id.

      IMPORTANT: Once implemented, we may require cleaning what has been done in NXS-3056.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                rdaniellou Ronan Daniellou
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: