You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Apoorv Naik (JIRA)" <ji...@apache.org> on 2017/08/08 16:33:00 UTC

[jira] [Updated] (ATLAS-2025) Basic query with entity and tag filters : Providing invalid tag name for classification returns all entities matching typename/query

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

Apoorv Naik updated ATLAS-2025:
-------------------------------
    Attachment: 0002-ATLAS-2025-Validation-of-classification-type-in-basi.patch

> Basic query with entity and tag filters : Providing invalid tag name for classification returns all entities matching typename/query
> ------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: ATLAS-2025
>                 URL: https://issues.apache.org/jira/browse/ATLAS-2025
>             Project: Atlas
>          Issue Type: Bug
>          Components:  atlas-core
>    Affects Versions: 0.9-incubating, 0.8.1-incubating
>            Reporter: Sharmadha Sainath
>            Priority: Critical
>         Attachments: 0002-ATLAS-2025-Validation-of-classification-type-in-basi.patch
>
>
> Fired a basic query with following POST request body with Non Existing tag using curl (because UI only lets user select from existing tags):
> {code}
> {
> "entityFilters":null,
> "tagFilters":null,
> "attributes":null,
> "query":null,
> "excludeDeletedEntities":true,
> "limit":25,
> "typeName":"kafka_topic",
> "classification":"non_existing_tag"
> }
> {code}
> GET Basic search request with classification parameter also lists all the kakfa_topic entities:
> {code}
> http://localhost:21000/api/atlas/v2/search/basic?typeName=kafka_topic&classification=non_existing_tag&limit=50
> {code}
> Expected 40X Response code saying that tag doesn't exist. But the response listed all the kafka_topic entities. This gives an delusion that all returned kafka_topic entities are tagged with 'non_existing_tag'



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