Project

General

Profile

Refactor #31471

Tracker #29939: Improve setting definition DSL and move setting registry to memory

Deprecate setting timestamps in API responses

Added by Ondřej Ezr 11 months ago. Updated 10 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Settings
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

In API, we are returning timestamps, this was regressed for the new presenter and should be addressed in #31285.
But we need to deprecate them as those will not be kept in the new model.


Related issues

Related to Foreman - Bug #31285: responses to /api/v2/settings/<id> no longer contain 'created_at' and 'updated_at' attrsClosed

Associated revisions

Revision b0574383 (diff)
Added by Ondřej Ezr 10 months ago

Fixes #31471 - setting API deprecate timestamps

Adds response description for Setting API.
This allows to deprecate the timestamps and explain current and future behaviour.

History

#1 Updated by Ondřej Ezr 11 months ago

  • Related to Bug #31285: responses to /api/v2/settings/<id> no longer contain 'created_at' and 'updated_at' attrs added

#2 Updated by Ondřej Ezr 11 months ago

  • Parent task set to #29939

#3 Updated by Ondřej Ezr 11 months ago

  • Subject changed from Deprecate setting timestamps to Deprecate setting timestamps in API responses

#4 Updated by The Foreman Bot 11 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/8187 added

#5 Updated by The Foreman Bot 10 months ago

  • Fixed in Releases 2.4.0 added

#6 Updated by Ondřej Ezr 10 months ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF