Autodetect if apidoc cache needs reload
If the server was upgraded and there are new endpoints or there changes in some then it may lead to errors such as "The server does not support such operation." if the cache wasn't reloaded.
Fix for this issue should include:
1. Autodetection if the cache needs to be reloaded.
2. If so, reload the cache.
Also, the note from discussion with @mbacovsky:
It may be a good idea to extend/add hammer-cli-foreman version to the checksum and reload the cache if the hammer version is newer than the version in checksum.
Updated by Oleh Fedorenko almost 2 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset hammer-cli-foreman|a4a6592ff158d709f5a97f2e25743c9acd4011e9.