Mark, Yes, what your seeing is a bug. I've created a ticket [1] which will be included in our next release. Check out the ticket if you want the technical details of the issue.
Matt [1] https://issues.apache.org/jira/browse/NIFI-795 On Wed, Jul 29, 2015 at 9:44 AM, Dooley, Mark <mark.doo...@baesystems.com> wrote: > Hi NiFi Devs, > > I've been using the NiFi Rest API and noticed that the response codes from > the Rest API are different between single-node and clustered mode. > > If I'm running a single-node and drag in a new ProcessGroup the response > code is 201. > If I'm running in clustered mode (1 NCM + 2 Nodes) and add a ProcessGroup > the response code is 200. > > The API documentation indicates the response should be 200. This makes > using the Rest API programmatically a bit more complicated than it probably > needs to be. > > Is this a bug or is it the expected behaviour? > > Cheers, > Mark > Please consider the environment before printing this email. This message > should be regarded as confidential. If you have received this email in > error please notify the sender and destroy it immediately. Statements of > intent shall only become binding when confirmed in hard copy by an > authorised signatory. The contents of this email may relate to dealings > with other companies under the control of BAE Systems Applied Intelligence > Limited, details of which can be found at > http://www.baesystems.com/Businesses/index.htm. >