Uploaded image for project: 'IGB'
  1. IGB
  2. IGBF-2453

Investigate: What happens if genome dashboard can't contact a Quickload site

    Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Attachments

        Activity

        ann.loraine Ann Loraine created issue -
        ann.loraine Ann Loraine made changes -
        Field Original Value New Value
        Epic Link IGBF-1765 [ 17855 ]
        ann.loraine Ann Loraine made changes -
        Rank Ranked higher
        ann.loraine Ann Loraine made changes -
        Sprint Summer 3: 3 Jul - 14 Jul [ 98 ] Summer 4: 14 Jul - 28 Jul [ 99 ]
        ann.loraine Ann Loraine made changes -
        Rank Ranked higher
        prutha Prutha Kulkarni (Inactive) made changes -
        Assignee Prutha Kulkarni [ prutha ]
        prutha Prutha Kulkarni (Inactive) made changes -
        Sprint Summer 4: 14 Jul - 28 Jul [ 99 ] Summer 3: 6 Jul - 17 Jul [ 98 ]
        prutha Prutha Kulkarni (Inactive) made changes -
        Status To-Do [ 10305 ] In Progress [ 3 ]
        Hide
        ann.loraine Ann Loraine added a comment -

        Prutha Kulkarni - I would like to move this into the backlog as it is a lower priority than some IGB codebase tasks.

        How much have you done on it? Should I hold off on moving it to the backlog to give you a chance to finish? Either way is fine. Just let me know.

        Show
        ann.loraine Ann Loraine added a comment - Prutha Kulkarni - I would like to move this into the backlog as it is a lower priority than some IGB codebase tasks. How much have you done on it? Should I hold off on moving it to the backlog to give you a chance to finish? Either way is fine. Just let me know.
        Hide
        prutha Prutha Kulkarni (Inactive) added a comment -

        I would just need a few more minutes and I would then move the ticket to the First Level Review.
        I would do it by today EOD.
        Would that be okay?
        cc: [~aloraine]

        Show
        prutha Prutha Kulkarni (Inactive) added a comment - I would just need a few more minutes and I would then move the ticket to the First Level Review. I would do it by today EOD. Would that be okay? cc: [~aloraine]
        Hide
        prutha Prutha Kulkarni (Inactive) added a comment -

        Basically the genome dashboard is making use of node-fetch library in order to fetch mergerd quickload data which is present at the location:
        https://bitbucket.org/lorainelab/integrated-genome-browser/raw/master/core/igb-preferences/src/main/resources/igbDefaultPrefs.json

        • The fetch method when requested data won't show any weird behavior as usually it returns a javascript promise and in case of failure it just rejects the promise with a normal response i.e. The Promise returned from fetch() won’t reject on HTTP error status even if the response is an HTTP 404 or 500. Instead, it will resolve normally (with ok status set to false), and it will only reject on network failure or if anything prevented the request from completing.

        You could refer the link mentioned below to know more about the operation.
        https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch

        Show
        prutha Prutha Kulkarni (Inactive) added a comment - Basically the genome dashboard is making use of node-fetch library in order to fetch mergerd quickload data which is present at the location: https://bitbucket.org/lorainelab/integrated-genome-browser/raw/master/core/igb-preferences/src/main/resources/igbDefaultPrefs.json The fetch method when requested data won't show any weird behavior as usually it returns a javascript promise and in case of failure it just rejects the promise with a normal response i.e. The Promise returned from fetch() won’t reject on HTTP error status even if the response is an HTTP 404 or 500. Instead, it will resolve normally (with ok status set to false), and it will only reject on network failure or if anything prevented the request from completing. You could refer the link mentioned below to know more about the operation. https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch
        prutha Prutha Kulkarni (Inactive) made changes -
        Assignee Prutha Kulkarni [ prutha ]
        prutha Prutha Kulkarni (Inactive) made changes -
        Status In Progress [ 3 ] Needs 1st Level Review [ 10005 ]
        ann.loraine Ann Loraine made changes -
        Sprint Summer 3: 6 Jul - 17 Jul [ 98 ] Summer 3: 6 Jul - 17 Jul, Summer 4: 14 Jul - 28 Jul [ 98, 99 ]
        ann.loraine Ann Loraine made changes -
        Rank Ranked higher
        pbadzuh Philip Badzuh (Inactive) made changes -
        Assignee Philip Badzuh [ pbadzuh ]
        pbadzuh Philip Badzuh (Inactive) made changes -
        Status Needs 1st Level Review [ 10005 ] First Level Review in Progress [ 10301 ]
        Hide
        pbadzuh Philip Badzuh (Inactive) added a comment - - edited

        To add to what Prutha Kulkarni has found, the mergeAllQuickLoadSites function she describes gets genome version names and scientific names for species. As I understand it, genome dashboard doesn't actually contact quickload sites in order to obtain genomic data, but instead hits an IGB endpoint specifying a genome version, at which point IGB reaches out to the relevant quickload site.

        The request URI looks something like:
        'http://localhost:7085/IGBControl?version=<genomeVersion>'

        Show
        pbadzuh Philip Badzuh (Inactive) added a comment - - edited To add to what Prutha Kulkarni has found, the mergeAllQuickLoadSites function she describes gets genome version names and scientific names for species. As I understand it, genome dashboard doesn't actually contact quickload sites in order to obtain genomic data, but instead hits an IGB endpoint specifying a genome version, at which point IGB reaches out to the relevant quickload site. The request URI looks something like: 'http://localhost:7085/IGBControl?version=<genomeVersion>'
        pbadzuh Philip Badzuh (Inactive) made changes -
        Status First Level Review in Progress [ 10301 ] Ready for Pull Request [ 10304 ]
        pbadzuh Philip Badzuh (Inactive) made changes -
        Assignee Philip Badzuh [ pbadzuh ]
        ann.loraine Ann Loraine made changes -
        Status Ready for Pull Request [ 10304 ] Pull Request Submitted [ 10101 ]
        ann.loraine Ann Loraine made changes -
        Status Pull Request Submitted [ 10101 ] Reviewing Pull Request [ 10303 ]
        ann.loraine Ann Loraine made changes -
        Status Reviewing Pull Request [ 10303 ] Merged Needs Testing [ 10002 ]
        ann.loraine Ann Loraine made changes -
        Status Merged Needs Testing [ 10002 ] Post-merge Testing In Progress [ 10003 ]
        ann.loraine Ann Loraine made changes -
        Resolution Done [ 10000 ]
        Status Post-merge Testing In Progress [ 10003 ] Closed [ 6 ]
        ann.loraine Ann Loraine made changes -
        Assignee Ann Loraine [ aloraine ]
        ann.loraine Ann Loraine made changes -
        Assignee Ann Loraine [ aloraine ] Prutha Kulkarni [ prutha ]

          People

          • Assignee:
            prutha Prutha Kulkarni (Inactive)
            Reporter:
            ann.loraine Ann Loraine
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: