Project

General

Profile

Actions

Bug #4796

closed

Node API version 4 can only get Node details

Added by Nicolas CHARLES over 10 years ago. Updated over 10 years ago.

Status:
Released
Priority:
1 (highest)
Category:
API
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

only function [GET] api/nodes/id works in version 4 of Nodes API.

This is because the api don't fall back to older functions


Related issues 3 (0 open3 closed)

Related to Rudder - Bug #4800: Latest API prefix is not correctReleasedFrançois ARMAND2014-05-02Actions
Related to Rudder - User story #4578: Add information from inventory when looking for Nodes through Rest API ReleasedVincent MEMBRÉ2014-03-10Actions
Related to Rudder - Architecture #4600: Ease new REST APIs creationReleasedVincent MEMBRÉ2014-03-12Actions
Actions #1

Updated by Vincent MEMBRÉ over 10 years ago

  • Subject changed from The API url "latest/nodes" fails with "The Requested URL /rudder/api/latest/nodes was not found on this server" to Node APIv4 and latest can only get details from one Node
  • Target version changed from 2.9.5 to 2.10.1

In 2.10, the problem is because of the apiV4 not using the fallback to version 3 for other function than getting node detail ...

In 2.9 there is typo in the url, "lastest" is expected instead of "latest" ...

Actions #2

Updated by Vincent MEMBRÉ over 10 years ago

  • Status changed from 8 to Pending technical review
  • Assignee changed from Vincent MEMBRÉ to François ARMAND
  • Pull Request set to https://github.com/Normation/rudder/pull/504
Actions #3

Updated by François ARMAND over 10 years ago

  • Status changed from Pending technical review to In progress
  • Assignee changed from François ARMAND to Vincent MEMBRÉ

I don't understand what the pull resquest is for.
Please:

- add a link to other ticket if needed,
- explain what that ticket will take care of, and rewrite it's title/description accordingly,

And then, check the target of the pull request, I'm not sure it should be master.

Thanks,

Actions #4

Updated by Vincent MEMBRÉ over 10 years ago

  • Subject changed from Node APIv4 and latest can only get details from one Node to Node API version 4 can only get Node details
  • Description updated (diff)
  • Status changed from In progress to Pending technical review
  • Assignee changed from Vincent MEMBRÉ to François ARMAND
  • Pull Request changed from https://github.com/Normation/rudder/pull/504 to https://github.com/Normation/rudder/pull/512

In 2.9, fixing a typo in "latest" URL: #4800

In 2.10, APIV4 (and latest) does not fallback to old API if calling other methods.

It was done before, but lost in a rebase over architecture changes in 2.10 ( #4578 rebase over #4600).

Retargeted the PR to 2.10 in https://github.com/Normation/rudder/pull/512

Actions #5

Updated by Vincent MEMBRÉ over 10 years ago

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100
Actions #7

Updated by Vincent MEMBRÉ over 10 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 2.10.1, which was released today.
Check out:

Actions

Also available in: Atom PDF