Details
-
Type:
Improvement
-
Status: Closed (View Workflow)
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Labels:
-
Story Points:1
-
Epic Link:
-
Sprint:Fall 2019 Sprint 1, Fall 2019 Sprint 2
Description
To add an App Store to IGB, a user needs to enter a URL that looks like:
https://dev-appstore-5.bioviz.org/obr/releases/
However, if they visit this URL in their browser, they will get a "page not found" (404) error.
This is because we currently only support an endpoint for the "repository.xml" file, accessed via a URL that looks like
https://dev-appstore-5.bioviz.org/obr/releases/repository.xml
We should implement a new page/path that will show the user something useful if they visit the repository URL:
https://dev-appstore-5.bioviz.org/obr/releases/
For this task, implement a "stub page" that contains instructions on how to add the App Store to IGB. See related issue for text.
Also, include a link to the repository.xml file in the page.
Note that this task is mainly to create the page. A subsequent Jira user story will cover more in-depth design.
Issue:
To provide repository.xml url to the user when user visits respository url in browser
Description:
When a user visits repository url by copying the repository url from Manage Repositories section of IGB, user receives Page Not Found exception as the link does not contain repository.xml path. This ticket will redirect user to HTML page which will contain the repository.xml url which can be clicked to open repository.xml
Solution:
When a user visits repository url from browser redirect user to a page with the link for repository.xml page
File changed:
Changes can be find in branch https://bitbucket.org/rpatil14/appstore_riddhi/branch/IGBF-1984#diff
appstore/settings.py
obr/apps.py
obr/templates/redirect.html
obr/urls.py
obr/views.py
Testing:
Use below link for testing
https://dev-appstore-6.bioviz.org/obr/releases/