Project

General

Profile

Bug #20218

sync_plan['id'] missing in products#index

Added by Andrew Kofink about 4 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Sync Plans
Target version:
Difficulty:
easy
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

GET https://katello.example.com/katello/api/v2/products?name=Red Hat Enterprise Linux Server&organization_id=1

Current:

{
...,
"results": [ {
"id": 6,
...,
"sync_plan": {
"name": "Weekly RHEL Sync",
"description": null,
"sync_date": "2017-01-01 00:00:00 UTC",
"interval": "weekly",
"next_sync": null
},
"repository_count": 3
}
]
}

Expected:

{
...,
"results": [ {
"id": 6,
...,
"sync_plan": {
"id": 10,
"name": "Weekly RHEL Sync",
"description": null,
"sync_date": "2017-01-01 00:00:00 UTC",
"interval": "weekly",
"next_sync": null
},
"repository_count": 3
}
]
}

Associated revisions

Revision 73629966 (diff)
Added by Andrew Kofink about 4 years ago

Fixes #20218: products#index shows sync_plan['id']

History

#1 Updated by The Foreman Bot about 4 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/6851 added

#2 Updated by Andrew Kofink about 4 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#3 Updated by Justin Sherrill about 4 years ago

  • Legacy Backlogs Release (now unused) set to 250
  • Difficulty set to easy

Also available in: Atom PDF