Daniel Chaffelson created NIFI-4859:

             Summary: Swagger Spec VersionControlInformationDTO missing 
                 Key: NIFI-4859
                 URL: https://issues.apache.org/jira/browse/NIFI-4859
             Project: Apache NiFi
          Issue Type: Bug
          Components: Flow Versioning
    Affects Versions: 1.5.0, 1.6.0
            Reporter: Daniel Chaffelson

It is possible to get a Versioned Process Group into a SYNC_FAILURE state, but 
this is not an allowable state in the code generated from the swagger.json
This prevents versioned objects from being manipulated via the API in some use 

def state(self, state):
Sets the state of this VersionControlInformationDTO.
The current state of the Process Group, as it relates to the Versioned Flow

:param state: The state of this VersionControlInformationDTO.
:type: str
if state not in allowed_values:
raise ValueError(
"Invalid value for `state` ({0}), must be one of {1}"
> .format(state, allowed_values)
E ValueError: Invalid value for `state` (SYNC_FAILURE), must be one of 

This message was sent by Atlassian JIRA

Reply via email to