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

            Hide
            kkorey Kiran Korey (Inactive) added a comment -

            [~aloraine],

            Should the link to the Quickload Name also be updated when using the secondary site?
            Please find the image for reference.

            Show
            kkorey Kiran Korey (Inactive) added a comment - [~aloraine] , Should the link to the Quickload Name also be updated when using the secondary site? Please find the image for reference.
            Hide
            kkorey Kiran Korey (Inactive) added a comment -

            Attached case study needs Review.

            Show
            kkorey Kiran Korey (Inactive) added a comment - Attached case study needs Review.
            Hide
            nfreese Nowlan Freese added a comment -

            For Srishtee M - When done reviewing, please assign to Dr. Loraine.

            Show
            nfreese Nowlan Freese added a comment - For Srishtee M - When done reviewing, please assign to Dr. Loraine.
            Hide
            nfreese Nowlan Freese added a comment -

            To deactivate the primary IGBQuickload.org site:

            Add: 127.0.0.1 IGBQuickload.org to the hosts file.
            hosts file on Mac/Linux
            /etc/hosts

            hosts file on Windows
            c:\Windows\System32\Drivers\etc\hosts

            Show
            nfreese Nowlan Freese added a comment - To deactivate the primary IGBQuickload.org site: Add: 127.0.0.1 IGBQuickload.org to the hosts file. hosts file on Mac/Linux /etc/hosts hosts file on Windows c:\Windows\System32\Drivers\etc\hosts
            Hide
            ann.loraine Ann Loraine added a comment -

            I liked the presentation a lot - easy to follow and nice graphics!
            I have added it as a new case study to the Canvas class https://canvas.instructure.com/courses/1164217/modules

            Show
            ann.loraine Ann Loraine added a comment - I liked the presentation a lot - easy to follow and nice graphics! I have added it as a new case study to the Canvas class https://canvas.instructure.com/courses/1164217/modules

              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: