atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Apoorv Naik (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (ATLAS-1346) Search APIs should return empty list instead of throwing exception
Date Thu, 22 Dec 2016 01:08:58 GMT

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

Apoorv Naik updated ATLAS-1346:
-------------------------------
    Description: When the search call yields no results either return an empty list or avoid
logging the error in the logs.  (was: Currently the APIs return a 404 when there's no result
found in the repository which causes the graph transaction to rollback, instead the search
API should return an empty list and the rest layer should translate it to a 404 or the read-only
APIs should be excluded from the GraphTransaction interceptor.)

> Search APIs should return empty list instead of throwing exception
> ------------------------------------------------------------------
>
>                 Key: ATLAS-1346
>                 URL: https://issues.apache.org/jira/browse/ATLAS-1346
>             Project: Atlas
>          Issue Type: Bug
>    Affects Versions: 0.8-incubating
>            Reporter: Apoorv Naik
>            Assignee: Apoorv Naik
>             Fix For: 0.8-incubating
>
>
> When the search call yields no results either return an empty list or avoid logging the
error in the logs.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message