Project

General

Profile

Actions

Feature #28283

closed

Autodetect if apidoc cache needs reload

Added by Oleh Fedorenko about 5 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Category:
User experience
Target version:
-
Difficulty:
Triaged:
Yes
Team Backlog:
Fixed in Releases:
Found in Releases:
In Kanboard:

Description

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.

Actions #1

Updated by Shira Maximov about 5 years ago

  • In Kanboard set to yes
Actions #2

Updated by Shira Maximov about 5 years ago

  • In Kanboard deleted (yes)
Actions #3

Updated by Shira Maximov about 5 years ago

  • In Kanboard set to yes
Actions #4

Updated by Shira Maximov about 5 years ago

  • In Kanboard deleted (yes)
Actions #5

Updated by Shira Maximov about 5 years ago

  • In Kanboard set to yes

Changing in_kanboard field to yes

Actions #6

Updated by Shira Maximov about 5 years ago

  • In Kanboard deleted (yes)
Actions #7

Updated by Oleh Fedorenko almost 4 years ago

  • Status changed from New to Assigned
  • Assignee set to Oleh Fedorenko
Actions #8

Updated by Oleh Fedorenko over 3 years ago

  • Status changed from Assigned to New
  • Assignee deleted (Oleh Fedorenko)
Actions #9

Updated by Oleh Fedorenko about 3 years ago

  • Status changed from New to Assigned
  • Assignee set to Oleh Fedorenko
Actions #10

Updated by Oleh Fedorenko about 3 years ago

  • Bugzilla link set to 2039696
Actions #11

Updated by The Foreman Bot almost 3 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/hammer-cli/pull/359 added
Actions #12

Updated by The Foreman Bot almost 3 years ago

  • Pull request https://github.com/theforeman/hammer-cli-foreman/pull/594 added
Actions #13

Updated by The Foreman Bot almost 3 years ago

  • Pull request https://github.com/theforeman/hammer-cli-foreman/pull/599 added
Actions #14

Updated by Oleh Fedorenko almost 3 years ago

  • Pull request deleted (https://github.com/theforeman/hammer-cli-foreman/pull/594, https://github.com/theforeman/hammer-cli/pull/359)
Actions #15

Updated by The Foreman Bot over 2 years ago

  • Fixed in Releases hammer-cli-foreman-3.3.0 added
Actions #16

Updated by Oleh Fedorenko over 2 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF