Details
-
Type: Story
-
Status: Closed (View Workflow)
-
Priority: Major
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: None
-
Labels:None
-
Story Points:1
-
Epic Link:
-
Sprint:Fall 2018 Sprint 4, Fall 2018 Sprint 5
Description
App developers will use the App Store to distribute their Apps to users. We will model this (in part) on the CytoScape App Store workflow.
- App developer creates an App with all required code, tests it locally
- App developer signs in using a Google account
- App developer chooses a (jar) file to upload and submits the file
App Store performs some automatic analysis of the jar, including:
- checks that the jar contains a MANIFEST.MF file with bundle meta-data required by OSGi
- other tasks to be determined
Interface to submit an app is present in CyAppStore\templates\base.html. Submission of app is linked to submit_app module in the codebase.
/submit_app/views.py has the facility to submit an app.
/submit_app/upload_form.html is the UI page to the app.
Once the jar is uploaded, processjar.py, mfparse.py file in codebase processes the Manifest file present in jar.
It also checks if the submitted app is an OSGI app or a simple app. Once it finds the type of app, it checks for the required fields which are mandatory in the MANIFEST file.
Once the process is successful, confirmation email will be sent to the user who submitted the app.