Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[EDNA-130] Add an optimized getter of filtered experiments #92

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on May 8, 2021

  1. Add experiments summary getter

    Problem: in order to construct dashboard selectors we use the
    `/experiments` endpoint to get all experiments. It sends a lot of data
    and works slowly, especially when we pass no filters.
    
    Solution: add another endpoints that returns only names of relevant
    projects, compounds and targets. It works much faster, returns less
    data and still makes it possible to construct selectors.
    In future we'll also add endpoints to query all project/compound/target
    names without querying all data about them.
    gromakovsky committed May 8, 2021
    Configuration menu
    Copy the full SHA
    4246673 View commit details
    Browse the repository at this point in the history
  2. Add "names" getters to edna-server

    Problem: sometimes we need to know names of all entities of certain,
    e. g. all projects on upload page, so that the user can select a
    project. Currently it can be done by calling `/projects`, but it's a
    bit expensive because it also gets more data than necessary.
    
    Solution: add new endpoints to get names of all entities.
    For projects we have 2 such getters: all projects in the system
    (including projects without any experiments) and only projects with
    experiments.
    All projects in the system are needed for the Upload page and
    all projects with experiments are needed for the Dashboard page.
    gromakovsky committed May 8, 2021
    Configuration menu
    Copy the full SHA
    ea9e00b View commit details
    Browse the repository at this point in the history