You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Dharshana M Krishnamoorthy (Jira)" <ji...@apache.org> on 2020/10/01 13:13:00 UTC

[jira] [Created] (ATLAS-3967) On creating a type with a type_name of a different category, 409 conflict error is thrown

Dharshana M Krishnamoorthy created ATLAS-3967:
-------------------------------------------------

             Summary: On creating a type with a type_name of a different category, 409 conflict error is thrown
                 Key: ATLAS-3967
                 URL: https://issues.apache.org/jira/browse/ATLAS-3967
             Project: Atlas
          Issue Type: Bug
          Components:  atlas-core
            Reporter: Dharshana M Krishnamoorthy


On creating a classification with a name same as business_metadata type, 409 is thrown

 

Existing business metadata:
{code:java|title=business_metadata details}
{"category":"BUSINESS_METADATA","guid":"-416986733842","createdBy":"hrt_qa","updatedBy":"hrt_qa","createTime":1601466038742,"updateTime":1601466038742,"version":1,"name":"read_auth_business_metadata_WXuUg","description":"bm description","typeVersion":"1.0","attributeDefs":[]}

{code}
 

create a classification with name "*read_auth_business_metadata_WXuUg*" 
 this gives a conflict error

Create request payload: to endpoint *api/atlas/v2/types/typedefs?type=classification*

{code}

{"classificationDefs":[\{"name":"read_auth_business_metadata_WXuUg","description":"","superTypes":[],"attributeDefs":[]}],"entityDefs":[],"enumDefs":[],"structDefs":[]}

{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)