You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Daniel Chaffelson (JIRA)" <ji...@apache.org> on 2018/01/24 11:47:00 UTC

[jira] [Updated] (NIFI-4812) delete_registry_client call only accepts ID, but endpoint also expects Revision

     [ https://issues.apache.org/jira/browse/NIFI-4812?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Chaffelson updated NIFI-4812:
------------------------------------
    Priority: Minor  (was: Major)

> delete_registry_client call only accepts ID, but endpoint also expects Revision
> -------------------------------------------------------------------------------
>
>                 Key: NIFI-4812
>                 URL: https://issues.apache.org/jira/browse/NIFI-4812
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core Framework, Flow Versioning
>    Affects Versions: 1.5.0, 1.6.0
>            Reporter: Daniel Chaffelson
>            Priority: Minor
>
> Using the Swagger Generated Python Client.
> When the delete_registry_client command is called from the ControllerApi(), the arguments expected by NiFi (id, revision) and the arguments allowed by swagger (id only) do not match, resulting in a failure.
> {code:java}
> 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)
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)