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

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 1.5.0, 1.6.0
    • None
    • 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

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

            Dates

              Created:
              Updated: