Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      When users upload files, IGB AppStore stores them in an S3 bucket. However, when client software - including both IGB and the user's Web browser - tries to retrieve those files, access is denied.

      IGB AppStore should ensure that all files uploaded by users are accessible.

        Attachments

          Issue Links

            Activity

            ann.loraine Ann Loraine made changes -
            Workflow Fall 2019 Workflow Update [ 20747 ] Revised Fall 2019 Workflow Update [ 22496 ]
            ann.loraine Ann Loraine made changes -
            Assignee Ann Loraine [ aloraine ]
            ann.loraine Ann Loraine made changes -
            Status Post-merge Testing In Progress [ 10003 ] Closed [ 6 ]
            ann.loraine Ann Loraine made changes -
            Status Merged Needs Testing [ 10002 ] Post-merge Testing In Progress [ 10003 ]
            ann.loraine Ann Loraine made changes -
            Status Reviewing Pull Request [ 10303 ] Merged Needs Testing [ 10002 ]
            ann.loraine Ann Loraine made changes -
            Status Pull Request Submitted [ 10101 ] Reviewing Pull Request [ 10303 ]
            ann.loraine Ann Loraine made changes -
            Status Ready for Pull Request [ 10304 ] Pull Request Submitted [ 10101 ]
            ann.loraine Ann Loraine made changes -
            Status First Level Review in Progress [ 10301 ] Ready for Pull Request [ 10304 ]
            ann.loraine Ann Loraine made changes -
            Status Needs 1st Level Review [ 10005 ] First Level Review in Progress [ 10301 ]
            ann.loraine Ann Loraine made changes -
            Comment [ When I first tried to test accessing the jar file (step 3 in previous comment), I realized that the actual path to the file in S3 was inconsistent with the OBR index file.

            For dev-appstore-5, the OBR index file was:
            * https://dev-appstore-5.bioviz.org/obr/releases/repository.xml

            For Simple IGB App, the URI was:
            * /media/simple-igb-app/releases/0.0.1/620697076759907610_simple-igb-app-0.0.1.jar

            which was redirected to absolute URL:
            * https://devappstore5-media-0000.s3.amazonaws.com/media/simple-igb-app/releases/0.0.1/620697076759907610_simple-igb-app-0.0.1.jar

            When I hit the above link to the jar file, I got a "permission denied" error. However, the root cause wasn't that the file existed and was not world-readable. Actually, the root cause was that the endpoint above did not exist.

            It appears that when the jar file was uploaded, the upload mechanism saved it to:
            * https://devappstore5-media-0000.s3.amazonaws.com/media/simpleigbapp/releases/0.0.1/620697076759907610_simple-igb-app-0.0.1.jar

            Maybe there was an inconsistency between App Store versions? I used the Django admin interface to delete all the apps, and I deleted the app folder in S3 using the AWS console. I then submitted and approved a new App.

            The OBR index file used the Bundle-SymbolicName minutes hyphens, and this was also where it was stored in S3.

            I would rather use the Bundle-SymbolicName as the folder name in S3 because it's more consistent with how jar repositories (e.g., maven) are organized. Maven puts jars into folders named for the group id, the artifact id, and the version. I think we should do that, too, even if thought this is not a maven repository.
            ]
            ann.loraine Ann Loraine made changes -
            Link This issue relates to IGBF-1991 [ IGBF-1991 ]
            ann.loraine Ann Loraine made changes -
            Assignee Ann Loraine [ aloraine ]
            ann.loraine Ann Loraine made changes -
            Status In Progress [ 3 ] Needs 1st Level Review [ 10005 ]
            ann.loraine Ann Loraine made changes -
            Status To-Do [ 10305 ] In Progress [ 3 ]
            ann.loraine Ann Loraine made changes -
            Status Open [ 1 ] To-Do [ 10305 ]
            ann.loraine Ann Loraine made changes -
            Rank Ranked higher
            ann.loraine Ann Loraine made changes -
            Field Original Value New Value
            Epic Link IGBF-1388 [ 17463 ]
            ann.loraine Ann Loraine created issue -

              People

              • Assignee:
                ann.loraine Ann Loraine
                Reporter:
                ann.loraine Ann Loraine
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: