Bug #4796
closedNode API version 4 can only get Node details
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
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" ...
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
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,
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
Updated by Vincent MEMBRÉ over 10 years ago
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
Applied in changeset 17cc33d77086c759a2363d3bc73fed68bd2f9300.
Updated by François ARMAND over 10 years ago
Applied in changeset 962afd326fe187680dec98b02145187f09026eef.
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:
- The release announcement: http://www.rudder-project.org/pipermail/rudder-announce/2014-June/000087.html
- The full ChangeLog: http://www.rudder-project.org/foswiki/bin/view/System/Documentation:ChangeLog27
- Download information: https://www.rudder-project.org/site/get-rudder/downloads/