Project

General

Profile

Subtask #46181

Feature #40907: mgr/dashboard: REST API improvements

Bug #44013: mgr/dashboard: current REST API flaws

Consolidate OSD mark endpoints

Added by Anonymous 7 months ago. Updated 4 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
dashboard/documentation
Target version:
% Done:

70%

Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

We currently expose 191 different endpoints (only the /osd resource has 17, and that doesn't include the new ones for creating/deleting OSDs). This could be improved by aggregating endpoints (e.g.: /osd/{id}, body: {down, out, up, in, lost..} instead of /osd/{id}/mark_down, /osd/{id}/mark_out, /osd/{id}/mark_up, /osd/{id}/mark_in, /osd/{id}/mark_lost,...

This will also result in less redundant code to maintain and fix.

OSD mark endpoints will be consolidated into one endpoint.

History

#1 Updated by Anonymous 7 months ago

  • Status changed from New to In Progress

#2 Updated by Anonymous 7 months ago

  • % Done changed from 50 to 70

#3 Updated by Avan Thakkar 4 months ago

  • Status changed from In Progress to Fix Under Review

#4 Updated by Lenz Grimmer 4 months ago

  • Status changed from Fix Under Review to Resolved

Also available in: Atom PDF