You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/12/15 21:21:00 UTC

[jira] [Commented] (NIFIREG-72) Incorrect HTTP status code response codes for error conditions

    [ https://issues.apache.org/jira/browse/NIFIREG-72?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16293252#comment-16293252 ] 

ASF GitHub Bot commented on NIFIREG-72:
---------------------------------------

GitHub user kevdoran opened a pull request:

    https://github.com/apache/nifi-registry/pull/60

    NIFIREG-72 Fix API status codes for errors

    Fixes Tenants and Policies to return 404 for resource not found cases.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/kevdoran/nifi-registry NIFIREG-72

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/nifi-registry/pull/60.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #60
    
----
commit 094f8e8165815b8598f6609364d84b57fe709553
Author: Kevin Doran <kd...@gmail.com>
Date:   2017-12-15T21:17:37Z

    NIFIREG-72 Fix API status codes for errors
    
    Fixes Tenants and Policies to return 404 for resource not found cases.

----


> Incorrect HTTP status code response codes for error conditions
> --------------------------------------------------------------
>
>                 Key: NIFIREG-72
>                 URL: https://issues.apache.org/jira/browse/NIFIREG-72
>             Project: NiFi Registry
>          Issue Type: Bug
>            Reporter: Kevin Doran
>            Assignee: Kevin Doran
>             Fix For: 0.0.1
>
>
> For /policies and /tenants some cases that should be 404 are returning 500. Some of the documented status codes and exception handling need cleaning up.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)