Project

General

Profile

Actions

Bug #12332

closed

Wrong api method name

Added by Félix DALLIDET about 6 years ago. Updated about 6 years ago.

Status:
Released
Priority:
N/A
Category:
Documentation
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Fix check:
Regression:

Description

The API has 2 methods defined with the same name, it does not broke the API because the args are differents but the cli can not choose the right function to execute.

"listDirectives" appears 2 times: one for list all directives and one for list all directives given from a technique name.
This last function should have a different name.

Actions #1

Updated by Félix DALLIDET about 6 years ago

  • Target version set to 4.1.11
Actions #2

Updated by Félix DALLIDET about 6 years ago

  • Status changed from New to In progress
  • Assignee set to Félix DALLIDET
Actions #3

Updated by Félix DALLIDET about 6 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Félix DALLIDET to François ARMAND
  • Pull Request set to https://github.com/Normation/rudder/pull/1886
Actions #4

Updated by François ARMAND about 6 years ago

I thought that the python CLI was parsing the documentation to be build. Are you sure that changing the scala code will solve your problem? Should you not change it here: https://github.com/Normation/rudder-api-doc/edit/master/src/api_v2/techniques.md ?

Actions #5

Updated by François ARMAND about 6 years ago

  • Status changed from Pending technical review to Discussion
  • Assignee changed from François ARMAND to Félix DALLIDET
Actions #6

Updated by Félix DALLIDET about 6 years ago

  • Status changed from Discussion to Pending technical review
  • Assignee changed from Félix DALLIDET to François ARMAND
Actions #7

Updated by Vincent MEMBRÉ about 6 years ago

François is right, I do think rudder-cli parse the rudder-api documentation to generate its option !!

Actions #8

Updated by Félix DALLIDET about 6 years ago

  • Status changed from Pending technical review to In progress
  • Assignee changed from François ARMAND to Félix DALLIDET
Actions #9

Updated by Félix DALLIDET about 6 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Félix DALLIDET to Vincent MEMBRÉ
  • Pull Request changed from https://github.com/Normation/rudder/pull/1886 to https://github.com/Normation/rudder-api-doc/pull/47
Actions #10

Updated by Félix DALLIDET about 6 years ago

  • Assignee changed from Vincent MEMBRÉ to François ARMAND
Actions #11

Updated by Félix DALLIDET about 6 years ago

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

Updated by Alexis Mousset about 6 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 4.1.11, 4.2.5 and 4.3.0~rc3 which were released today.

Actions

Also available in: Atom PDF