Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-4812

delete_registry_client call only accepts ID, but endpoint also expects Revision

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.5.0, 1.6.0
    • Fix Version/s: None
    • Labels:
      None

      Description

      Using the Swagger Generated Python Client.

      When the delete_registry_client command is called from the ControllerApi(), the arguments expected by NiFi (id, version) and the arguments allowed by swagger (id only) do not match, resulting in a failure.

      ControllerApi().delete_registry_client(test_client.id)
      HTTP response body: The revision must be specified.
      ControllerApi().delete_registry_client(test_client.id, test_client.revision)
      TypeError: delete_registry_client() takes exactly 2 arguments (3 given)
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              chaffelson Daniel Chaffelson
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: