atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sharmadha Sainath (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (ATLAS-1708) Incorrect error code while querying an entity for tag for which tag association is removed.
Date Mon, 03 Apr 2017 11:51:41 GMT

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

Sharmadha Sainath updated ATLAS-1708:
-------------------------------------
    Description: 
1. Associated a tag PII to an entity.
2. /api/atlas/v2/entity/guid/{guid}/classification/PII GET query returned 200 OK.
3. Removed the PII tag from the entity.
4. /api/atlas/v2/entity/guid/{guid}/classification/PII GET query returned 500 Internal Server
error. It should return 404 ideally.
Attached the exception stack trace from application logs when GET query is fired.

Note : When a tag is not associated to the entity at all, and when the same GET request is
made with that tag name , 404 is returned.

For example , Tag Personal is not associated to the entity and the same GET request with tag
Personal returns 404 . *Only when a tag is associated and disassociated from an entity, GET
request throws 500 internal server *


  was:
1. Associated a tag PII to an entity.
2. /api/atlas/v2/entity/guid/{guid}/classification/PII GET query returned 200 OK.
3. Removed the PII tag from the entity.
4. /api/atlas/v2/entity/guid/{guid}/PII GET query returned 500 Internal Server error. It should
return 404 ideally.
Attached the exception stack trace from application logs when GET query is fired.

Note : When a tag is not associated to the entity at all, and when the same GET request is
made with that tag name , 404 is returned.

For example , Tag Personal is not associated to the entity and the same GET request with tag
Personal returns 404 . *Only when a tag is associated and disassociated from an entity, GET
request throws 500 internal server *



> Incorrect error code while querying an entity for tag for which tag association is removed.
> -------------------------------------------------------------------------------------------
>
>                 Key: ATLAS-1708
>                 URL: https://issues.apache.org/jira/browse/ATLAS-1708
>             Project: Atlas
>          Issue Type: Bug
>          Components:  atlas-core
>    Affects Versions: trunk, 0.9-incubating
>            Reporter: Sharmadha Sainath
>         Attachments: EntityTagException.txt
>
>
> 1. Associated a tag PII to an entity.
> 2. /api/atlas/v2/entity/guid/{guid}/classification/PII GET query returned 200 OK.
> 3. Removed the PII tag from the entity.
> 4. /api/atlas/v2/entity/guid/{guid}/classification/PII GET query returned 500 Internal
Server error. It should return 404 ideally.
> Attached the exception stack trace from application logs when GET query is fired.
> Note : When a tag is not associated to the entity at all, and when the same GET request
is made with that tag name , 404 is returned.
> For example , Tag Personal is not associated to the entity and the same GET request with
tag Personal returns 404 . *Only when a tag is associated and disassociated from an entity,
GET request throws 500 internal server *



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message