Project

General

Profile

Actions

Architecture #24975

closed

Architecture #23677: Migrate to zio-json

Architecture #24833: Migrate NodeApi to zio-json in rudder-rest and utils

API v20 documentation with Node api changes

Added by Clark ANDRIANASOLO 7 months ago. Updated 5 months ago.

Status:
Released
Priority:
N/A
Category:
Documentation
Target version:
Effort required:
Small
Name check:
To do
Fix check:
To do
Regression:
No

Description

We want a new API version, since we made changes to the Node API that are not backward compatible (see PR in parent ticket).

Changes are mostly on node inventory fields in the "/api/20/nodes/<node_id> endpoint, and consist in changes on data format :
  • in "storage", for each object in the list, "size" is in Bytes instead of MiB (e.g. previous value of `1` maps to a current value of `1 048 576`, still an integer)
  • in "memories", for each object in the list, "capacity" is in Bytes instead of MiB
  • in "fileSystems", for each object in the list, "totalSpace" and "freeSpace" are both in Bytes instead of MiB
  • in "videos", for each object in the list, "memory" is in Bytes instead of MiB
  • in "bios", for each object in the list, "releaseDate" has the ISO8601 date format YYYY-MM-dd'T'HH:mm:ssZZ instead of the previous display date YYYY-MM-dd HH:mm:ssZ
  • "ram" field is in Bytes instead of MiB
Actions #1

Updated by Clark ANDRIANASOLO 7 months ago

  • Status changed from New to In progress
  • Target version set to 8.2.0~alpha1
Actions #2

Updated by Clark ANDRIANASOLO 7 months ago

  • Description updated (diff)
Actions #3

Updated by Clark ANDRIANASOLO 7 months ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Clark ANDRIANASOLO to François ARMAND
  • Pull Request set to https://github.com/Normation/rudder/pull/5710
Actions #4

Updated by Clark ANDRIANASOLO 7 months ago

  • Status changed from Pending technical review to Pending release
Actions #5

Updated by Alexis Mousset 5 months ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 8.2.0~alpha1 which was released today.

Actions

Also available in: Atom PDF