Details
-
Task
-
Status: Closed (View Workflow)
-
TBD
-
Resolution: Done
-
None
-
customfield_11100 35627
-
CP: sprint 88
-
1
-
Core: Platform
Description
Remove JobAPI code because it is not used for a long time.
JobAPI uses the path /jobs/jobconfs that is not in use: https://github.com/search?q=org%3Afolio-org+jobconfs&type=Code
JobAPI uses these database tables that are not in use:
- JOB_CONF_COLLECTION: https://github.com/search?q=org%3Afolio-org+JOB_CONF_COLLECTION&type=Code
- job_confs: https://github.com/search?q=org%3Afolio-org+job_confs&type=Code
- JOBS_COLLECTION: https://github.com/search?q=org%3Afolio-org+JOBS_COLLECTION&type=Code
- BULKS_COLLECTION: https://github.com/search?q=org%3Afolio-org+BULKS_COLLECTION&type=Code
- bulks: https://github.com/search?q=org%3Afolio-org+bulks&type=Code
I've also checked that a tenant at a folio-complete installation does not have the tables:
folio=# \d *.job_confs Did not find any relation named "*.job_confs". folio=# \d *.jobs Did not find any relation named "*.jobs". folio=# \d *.bulks Did not find any relation named "*.bulks".
And the classes to be removed are also not used:
- FileDataHandler: https://github.com/search?q=org%3Afolio-org+FileDataHandler&type=Code
- ImportJobRunnerDemo: https://github.com/search?q=org%3Afolio-org+ImportJobRunnerDemo&type=Code
- JobAPI: https://github.com/search?q=org%3Afolio-org++JobAPI&type=Code
- JobsRunner: https://github.com/search?q=org%3Afolio-org+JobsRunner&type=Code
- ProcessUploads: https://github.com/search?q=org%3Afolio-org+ProcessUploads&type=Code