Release 4.0.0
Fix atstccfg Delivery Service Server caching. (#4387) (#4389)

* Fix atstccfg deliveryserviceserver caching

Fixses an inconsistent ORT bug with files, noticably parent.config,
not having all lines. Bug was filtering before saving the cache file.

DSS gets everything, and then filters. It was filtering before saving
the cache file, causing subsequent ORT calls under the cache age which
had more DSSes to be missing them.

This fixes it to filter after saving/loading the cache file, instead
of before.

* Add ORT use_cache arg, default true.

Adds a use_cache argument to ORT (default true) to allow callers
to tell atstccfg to not use the cache.

We've had several cache bugs in the past, and caching is hard. The
atstccfg app already has a --no-cache arg, this just adds it to ORT,
which allows users to disable the cache if there's an issue, without
having to modify ORT, just their cron.

(cherry picked from commit 9c65e69ac5429d533ff400e2694bce94a8d439b1)

Co-authored-by: Robert Butts <rob05c@users.noreply.github.com>
2 files changed