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

Determine if we can use absolute URL as uri

    Details

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

      Description

      Currently Apps are distributed from a single physical directory under http://bioviz.org/igbserver/.

      IGB is able to list them in its internal App Manager GUI because it reads this file on start-up: http://bioviz.org/igbserver/repository.xml
      When a user installs an App, IGB just downloads from the location indicated in http://bioviz.org/igbserver/repository.xml.

      The file repository.xml lists our five currently available Apps as "resource" tags. For each App it lists a relative URL. For example:

      resource:

      • id="23andMe-snp-converter/9.0.0"
      • symbolicname="23andMe-snp-converter"
      • presentationname="23andMe SNP Converter"
      • uri="optional/23andMe-snp-converter-9.0.0.jar"
      • version="9.0.0"

      Find out: can a "uri" attribute point to an absolute URL instead?

      For example:

      resource:

      • id="IgbApp/0.0.1"
      • symbolicname="testapp"
      • presentationname="A Test App"
      • uri="https://example.com/jars/23andMe-snp-converter-9.0.0.jar"
      • version="9.0.0"

      This matters because it would be very useful to be able to store assets in S3 or other places separately from the repository.xml file.

      This task is to determine if we can do that.

      Be sure to describe the steps you took to determine if we can do it or not.

        Attachments

          Activity

          ann.loraine Ann Loraine created issue -
          ann.loraine Ann Loraine made changes -
          Field Original Value New Value
          Epic Link IGBF-1388 [ 17463 ]
          ann.loraine Ann Loraine made changes -
          Rank Ranked higher
          ann.loraine Ann Loraine made changes -
          Rank Ranked higher
          svallapu Sai Charan Reddy Vallapureddy (Inactive) made changes -
          Assignee Ann Loraine [ aloraine ] Sai Charan Reddy Vallapureddy [ svallapu ]
          svallapu Sai Charan Reddy Vallapureddy (Inactive) made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          ann.loraine Ann Loraine made changes -
          Description Currently Apps are distributed from a single physical under http://bioviz.org/igbserver/.

          IGB is able to list them in its internal App Manager GUI because it reads this file on start-up: http://bioviz.org/igbserver/repository.xml
          When a user installs an App, IGB just downloads from the location indicated in http://bioviz.org/igbserver/repository.xml.

          The file repository.xml lists our five currently available Apps as "resource" tags. For each App it lists a relative URL. For example:

          resource:
          * id="23andMe-snp-converter/9.0.0"
          * symbolicname="23andMe-snp-converter"
          * presentationname="23andMe SNP Converter"
          * uri="optional/23andMe-snp-converter-9.0.0.jar"
          * version="9.0.0"

          Find out: can a "uri" attribute point to an absolute URL instead?

          For example:

          resource:
          * id="IgbApp/0.0.1"
          * symbolicname="testapp"
          * presentationname="A Test App"
          * uri="https://example.com/jars/23andMe-snp-converter-9.0.0.jar"
          * version="9.0.0"

          This matters because it would be very useful to be able to store assets in S3 or other places separately from the repository.xml file.

          This task is to determine if we can do that.

          Be sure to describe the steps you took to determine if we can do it or not.
          Currently Apps are distributed from a single physical directory under http://bioviz.org/igbserver/.

          IGB is able to list them in its internal App Manager GUI because it reads this file on start-up: http://bioviz.org/igbserver/repository.xml
          When a user installs an App, IGB just downloads from the location indicated in http://bioviz.org/igbserver/repository.xml.

          The file repository.xml lists our five currently available Apps as "resource" tags. For each App it lists a relative URL. For example:

          resource:
          * id="23andMe-snp-converter/9.0.0"
          * symbolicname="23andMe-snp-converter"
          * presentationname="23andMe SNP Converter"
          * uri="optional/23andMe-snp-converter-9.0.0.jar"
          * version="9.0.0"

          Find out: can a "uri" attribute point to an absolute URL instead?

          For example:

          resource:
          * id="IgbApp/0.0.1"
          * symbolicname="testapp"
          * presentationname="A Test App"
          * uri="https://example.com/jars/23andMe-snp-converter-9.0.0.jar"
          * version="9.0.0"

          This matters because it would be very useful to be able to store assets in S3 or other places separately from the repository.xml file.

          This task is to determine if we can do that.

          Be sure to describe the steps you took to determine if we can do it or not.
          Hide
          ann.loraine Ann Loraine added a comment -

          Might be helpful to set up a proof-of-concept example.

          Show
          ann.loraine Ann Loraine added a comment - Might be helpful to set up a proof-of-concept example.
          Hide
          svallapu Sai Charan Reddy Vallapureddy (Inactive) added a comment - - edited

          [~aloraine]

          Yes, It is possible to use URL in the URI field.

          I replaced uri='optional/protannot-9.0.0.jar' with uri='http://bioviz.org/igbserver/optional/protannot-8.4.1.jar'. It worked and installed the app.

          To use s3 bucket files.
          1. Right click on the file in the S3 bucket and click on 'Make Public'
          2. Open the file and at the bottom of the page copy 'Object URL' (example: https://testappstore-media-0000.s3.amazonaws.com/media/mergeannotationtrackoperator/releases/9.0.0/test.jar)
          3. In repository.xml, replace uri='optional/protannot-9.0.0.jar' with uri='https://testappstore-media-0000.s3.amazonaws.com/media/mergeannotationtrackoperator/releases/9.0.0/test.jar'
          4. Disable the repository in the app manager to remove previous xml file.
          5. Re-enable the repository in the app manager to get the updated xml file.

          Show
          svallapu Sai Charan Reddy Vallapureddy (Inactive) added a comment - - edited [~aloraine] Yes, It is possible to use URL in the URI field. I replaced uri='optional/protannot-9.0.0.jar' with uri='http://bioviz.org/igbserver/optional/protannot-8.4.1.jar'. It worked and installed the app. To use s3 bucket files. 1. Right click on the file in the S3 bucket and click on 'Make Public' 2. Open the file and at the bottom of the page copy 'Object URL' (example: https://testappstore-media-0000.s3.amazonaws.com/media/mergeannotationtrackoperator/releases/9.0.0/test.jar ) 3. In repository.xml, replace uri='optional/protannot-9.0.0.jar' with uri='https://testappstore-media-0000.s3.amazonaws.com/media/mergeannotationtrackoperator/releases/9.0.0/test.jar' 4. Disable the repository in the app manager to remove previous xml file. 5. Re-enable the repository in the app manager to get the updated xml file.
          svallapu Sai Charan Reddy Vallapureddy (Inactive) made changes -
          Status In Progress [ 3 ] Needs Testing [ 10002 ]
          svallapu Sai Charan Reddy Vallapureddy (Inactive) made changes -
          Status Needs Testing [ 10002 ] Needs 1st Level Review [ 10005 ]
          svallapu Sai Charan Reddy Vallapureddy (Inactive) made changes -
          Assignee Sai Charan Reddy Vallapureddy [ svallapu ]
          ann.loraine Ann Loraine made changes -
          Status Needs 1st Level Review [ 10005 ] Pull Request Submitted [ 10101 ]
          ann.loraine Ann Loraine made changes -
          Resolution Done [ 10000 ]
          Status Pull Request Submitted [ 10101 ] Closed [ 6 ]
          ann.loraine Ann Loraine made changes -
          Workflow Loraine Lab Workflow [ 18490 ] Fall 2019 Workflow Update [ 20192 ]
          ann.loraine Ann Loraine made changes -
          Workflow Fall 2019 Workflow Update [ 20192 ] Revised Fall 2019 Workflow Update [ 22329 ]
          ann.loraine Ann Loraine made changes -
          Assignee Ann Loraine [ aloraine ]
          ann.loraine Ann Loraine made changes -
          Assignee Ann Loraine [ aloraine ] Sai Charan Reddy Vallapureddy [ svallapu ]

            People

            • Assignee:
              svallapu Sai Charan Reddy Vallapureddy (Inactive)
              Reporter:
              ann.loraine Ann Loraine
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: