Rename library_media.rb to publish.rb
The current library_media.rb
file is an entry point into the publishing service. However, it's not going to be used for, for example, the expiration and file delete process. To avoid confusion down the line, we should rename and update, as needed, this file to clearly identify what the scope of the transaction it will run.
Acceptance Criteria:
-
library_media.rb
is renamed topublish.rb
-
Logging and o11y information is updated, as needed, to reflect the "publish" context -
The existing Dockerfile
CMD
is updated to usepublish.rb
as the command -
The existing CronJob
is renamed tocron-publish.yaml
and updated to usepublish.rb
explicitly to ensure anyDockerfile
changes toCMD
don't break
Edited by Vivian Chu