Project

General

Profile

Feature #15444

Move API cache to Katello, and update on API change

Added by Andrew Kofink about 3 years ago. Updated 11 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Tests
Target version:
Difficulty:
hard
Triaged:
Bugzilla link:
Pull request:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

- Move the test/data/:version/foreman_api.json from hammer-cli-katello to Katello
- Generate the API cache with 'rake apipie:cache' and compare with the committed version during Katello tests
- Run hammer-cli-katello tests after Katello tests to ensure hammer isn't affected by the API change
- Fail the Katello tests if hammer breaks

Should we also have Foreman/hammer-cli-foreman do this?

History

#1 Updated by Andrew Kofink almost 3 years ago

Confirmed that subsequent apipie cache generation produces an identical json file.

#2 Updated by Justin Sherrill almost 3 years ago

  • Category set to Tests
  • Legacy Backlogs Release (now unused) set to 114
  • Difficulty set to hard

Also available in: Atom PDF