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

Refresh IGB App Manager to See upgrade on Appstore

    Details

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

      Description

      Currently when there a user uploads a new version of the app. He has to refresh the IGB App Manager and then Refresh the AppStore to see the Upgrade option on the AppStore.

      Testing Steps:
      1. Install Version 1 from the Appstore
      2. Upload a new version (version 2) of the same App to the Appstore
      3. Check the Icon on the App Page (Still Shows Installed)
      4. Go To App Manager Dialog on IGB Platform
      5. Refresh the Repository List
      6. Come back to Appstore App Page
      7. Observation: Now the App Page shows the Upgrade Option

        Attachments

          Activity

          Hide
          sameer Sameer Shanbhag (Inactive) added a comment - - edited

          Hi Prof. Ann Loraine
          Any comments on this will be helpful. We currently need to refresh IGB so that it can notify the AppStore that the version IGB has is a lower version and Enable the Upgrade option.

          Riddhi Jagdish Patil

          Show
          sameer Sameer Shanbhag (Inactive) added a comment - - edited Hi Prof. Ann Loraine Any comments on this will be helpful. We currently need to refresh IGB so that it can notify the AppStore that the version IGB has is a lower version and Enable the Upgrade option. Riddhi Jagdish Patil
          Hide
          aloraine Ann Loraine added a comment -

          Good catch.

          IGB App Manager retrieves and reads repository.xml from all active OBRs (app stores) at two times only:

          • IGB first launches
          • When user clicks "refresh" in GUI showing list of all OBRs (app stores)

          If a developer/user releases a new App to App Store, the App Store database changes and the repository.xml endpoint also changes as well.
          However, IGB running on the user desktop has no way to know that the App Store's "repository.xml" is now different.

          I'm not sure what the fix is. Seems like javascript running in App Store page, if it is forced to re-run, can hit the localhost IGB endpoint and somehow discover that the App currently available in App Store system is a higher version than the App Manager knows about. If that is the case, it could hit a "refresh your OBR repository.xml info" endpoint we could potentially add to IGB 9.1.0.

          Show
          aloraine Ann Loraine added a comment - Good catch. IGB App Manager retrieves and reads repository.xml from all active OBRs (app stores) at two times only: IGB first launches When user clicks "refresh" in GUI showing list of all OBRs (app stores) If a developer/user releases a new App to App Store, the App Store database changes and the repository.xml endpoint also changes as well. However, IGB running on the user desktop has no way to know that the App Store's "repository.xml" is now different. I'm not sure what the fix is. Seems like javascript running in App Store page, if it is forced to re-run, can hit the localhost IGB endpoint and somehow discover that the App currently available in App Store system is a higher version than the App Manager knows about. If that is the case, it could hit a "refresh your OBR repository.xml info" endpoint we could potentially add to IGB 9.1.0.
          Hide
          aloraine Ann Loraine added a comment -

          Suggestion:

          • Implement a listener that hits endpoint multiple times.
          • Implement a new endpoint in IGB to trigger refresh of its Bundle list from the App Store OBR. Whenever a new App is released, "hit" IGB if it is running.
          Show
          aloraine Ann Loraine added a comment - Suggestion: Implement a listener that hits endpoint multiple times. Implement a new endpoint in IGB to trigger refresh of its Bundle list from the App Store OBR. Whenever a new App is released, "hit" IGB if it is running.
          Hide
          aloraine Ann Loraine added a comment -

          This bug will like occur infrequently for ordinary users. In light of this, I'm move this to the top of the backlog to address at a later date.

          Show
          aloraine Ann Loraine added a comment - This bug will like occur infrequently for ordinary users. In light of this, I'm move this to the top of the backlog to address at a later date.
          Hide
          sameer Sameer Shanbhag (Inactive) added a comment -

          Hi Professor Ann Loraine,

          Here are the changes I have made which will refresh the Repository and show the updated changes.

          https://bitbucket.org/sshanbh1/igb-appstore/pull-requests/new?source=IGBF-2149&t=1#diff

          Please Review and Suggest Changes.

          c.c. Riddhi Jagdish Patil

          Show
          sameer Sameer Shanbhag (Inactive) added a comment - Hi Professor Ann Loraine , Here are the changes I have made which will refresh the Repository and show the updated changes. https://bitbucket.org/sshanbh1/igb-appstore/pull-requests/new?source=IGBF-2149&t=1#diff Please Review and Suggest Changes. c.c. Riddhi Jagdish Patil
          Hide
          aloraine Ann Loraine added a comment -

          Moving out of the sprint. Will return to this in Jan when Sameer Shanbhag is back from break.

          Show
          aloraine Ann Loraine added a comment - Moving out of the sprint. Will return to this in Jan when Sameer Shanbhag is back from break.
          Hide
          aloraine Ann Loraine added a comment -

          Has been fixed? Moving to Closed.

          Show
          aloraine Ann Loraine added a comment - Has been fixed? Moving to Closed.

            People

            • Assignee:
              sameer Sameer Shanbhag (Inactive)
              Reporter:
              sameer Sameer Shanbhag (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: