atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Radley (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (ATLAS-2070) Investigate why AtlasTypeRegistry caches elements without resolve references being run on them
Date Fri, 01 Sep 2017 12:19:00 GMT

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

David Radley resolved ATLAS-2070.
---------------------------------
    Resolution: Invalid

This is part of the Atlas design

> Investigate why AtlasTypeRegistry caches elements without resolve references being run
on them
> ----------------------------------------------------------------------------------------------
>
>                 Key: ATLAS-2070
>                 URL: https://issues.apache.org/jira/browse/ATLAS-2070
>             Project: Atlas
>          Issue Type: Bug
>            Reporter: David Radley
>
> During Jira 2029,  I realised that AtlasTypeRegistry contains a map of the classificationTypes
that did not have resolve references run on them. This means when a rest call to add a classificaiton
to an entity comes in, AtlasEntityStoreV1 validateEntityAssociations calls     AtlasClassificationType
classificationType = typeRegistry.getClassificationTypeByName(newClassification);
> This picks up the classificationType. Jira 2029 then resolves the references.
> This Jira is to investigate whether the  typeRegistry should store AtlasclassificationTypes
with resolve references run on them. This would mean rewriting the junits. 
> Note constructing a classificationType passing a registry results in the resolve references
being run. The other AtlasClassificationType constructor used by the junits and the typeregistry
does not result in the resolve references being run. 
> If we can we should cache the resolve reference versions of the AtlasClassificationTypes
- otehrwise callers of it get incomplete AltasClassificationTypes.
>   



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

Mime
View raw message