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

Investigate: Why do Data Access tab links go to primary Quickload site even when secondary site is being used

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
    • Story Points:
      2
    • Sprint:
      Spring 2019 Sprint 1, Spring 2019 Sprint 2

      Description

      Currently:
      When Quickload primary site is not up and running, IGB loads data sources from secondary Quickload site. The goal here is to give the user full access to the data even when the primary site is unavailable.
      The data loading aspect works great, but links displayed in the Available Data Sets section of the Data Access tab reference the primary site, which is not responding.

      This needs to be fixed. If IGB switches to using a secondary site for loading data, it should also switch over to linking (from within Data Access panel) to the secondary site.

      Note that most of our default Quickload sites are either using absolute URLs to entirely external sources or are using links relative to the Quickload root directory. These URLs are specified in the annots.xml files for each site. For examples, see:

      To repeat:

      • De-activate the primary site by editing /etc/hosts on your computer (goal is to "trick" your computer into no longer being able to access the main IGB Quickload site)
      • Open IGB.
      • Select human genome
      • Confirm you are now using secondary site by clicking "configure" link in the Data Access tab (or, select File > Preferences > Data Sources, or click the sprocket icon to open the Preferences window and select Data Sources tab)
      • To confirm , check that data sources served from IGBQuickload.org are listed with yellow (warning) background
      • Now click the blue links and "i" info buttons in the Available Data Sets section of Data Access tab in IGB
      • Note that the URLs IGB tries to open go to the primary site's URL, not the secondary site's URL

      Note:
      To look up addresses for primary and secondary sites, see file named igbDefaultPref.json in the IGB code base.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kkorey Kiran Korey (Inactive)
                Reporter:
                srishteeM Srishtee Marotkar (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: