Details
-
Type: Task
-
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 7 : 11 Nov to 22 Nov, Fall 8 : 25 Nov to 6 Dec, Fall 9 : 9 Dec to 20 Dec
Description
- To change the time span for deleting a stale app, edit: app_pending_cleanup.py. To make this configuration via settings.py and settings.ini.template
- To add logging statements to cron job
Attachments
Issue Links
- relates to
-
IGBF-2087 Implement data cleaning mechanism to remove stale entries from AppPending table and S3 bucket
- Closed
Activity
Coding is completed.
Unit testing in progress. This will take one whole day as the cron will run at night.
Riddhi Jagdish Patil (Inactive)
added a comment - Coding is completed.
Unit testing in progress. This will take one whole day as the cron will run at night.
The ticket has been tested and the observations are as follows:
1) Stale entries [apps uploaded before 1 hour from cron job running time] and with submitter_approved values as False were deleted from AppPending table and jar was deleted from S3 bucket. [Get Average Score]
2) The apps with submitter_approved value as false and uploaded within 1 hour time span were not deleted from AppPending table during this run time. The jar still remains in S3 bucket. This will be deleted when the next cron job runs after 2 hours. [Super Simple IGB App]
Kindly refer the screenshots attached. Moving to closed. Thank you.