Describe the Bug
When the daily cronjob (import and, more importantly, act names update) runs, the API is crashing. This is only occurring in Test because Prod does not have the act names update as part of its cronjob yet.
Expected Behaviour
The cronjob runs smoothly and does not crash and restart.
Actual Behaviour
When the cronjob tries to run the update act names task, it crashes with an error indicating a call to a this.parseTitleFromXML is a function that doesn't exist.
Implications
Some of the other cronjob behaviour is not occurring properly because of the API crashing and having to restart.
Steps To Reproduce
When the /acts-regulations/update endpoint is called
NPM will crash throwing an error this.parseTitleFromXML is not a function
The pod will automatically restart
The cronjob will continue to make calls to run the other tasks that will return errors as the pod isn't in a ready state
Describe the Bug When the daily cronjob (import and, more importantly, act names update) runs, the API is crashing. This is only occurring in Test because Prod does not have the act names update as part of its cronjob yet.
Expected Behaviour The cronjob runs smoothly and does not crash and restart.
Actual Behaviour When the cronjob tries to run the update act names task, it crashes with an error indicating a call to a
this.parseTitleFromXML
is a function that doesn't exist.Implications Some of the other cronjob behaviour is not occurring properly because of the API crashing and having to restart.
Steps To Reproduce