Project

General

Profile

Bug #50855

Feature #40907: mgr/dashboard: REST API improvements

Feature #40909: mgr/dashboard: REST API versioning

mgr/dashboard: API Version changing doesnt affect to pre-defined methods

Added by Nizamudeen A about 1 month ago. Updated 11 days ago.

Status:
Resolved
Priority:
Normal
Category:
General
Target version:
% Done:

0%

Source:
Tags:
Backport:
pacific
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Methods like list(), create(), get() etc doesn't get applied the version if this decorator is used or those @RESTController.Resource(version='0.1').

Also for the endpoints that get the version changed, the docs and the request header has still the version v1.0+ in them. So with the version reduced it gives 415 error when trying to make the request.


Related issues

Copied to Dashboard - Backport #51037: pacific: mgr/dashboard: API Version changing doesnt affect to pre-defined methods Resolved

History

#1 Updated by Alfonso Martínez about 1 month ago

  • Target version set to v17.0.0
  • Parent task set to #40909

#2 Updated by Nizamudeen A about 1 month ago

  • Assignee changed from Nizamudeen A to Aashish Sharma

#3 Updated by Aashish Sharma about 1 month ago

  • Status changed from New to Fix Under Review
  • Pull request ID set to 41395

#4 Updated by Ernesto Puerta 18 days ago

  • Status changed from Fix Under Review to Pending Backport
  • Backport set to pacific

#5 Updated by Backport Bot 18 days ago

  • Copied to Backport #51037: pacific: mgr/dashboard: API Version changing doesnt affect to pre-defined methods added

#6 Updated by Ernesto Puerta 11 days ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF