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

Vimal Sharma updated ATLAS-1184:
--------------------------------
    Description: 
ReservedTypesRegistrar registers the models for supported integrations like 
hive, falcon, sqoop and storm. ReservedTypesRegistrar reads the model files and 
registers the types defined in the model file. The check thats done to verify 
if the model is already registered - checks for existence of first class type. 
This will not work if we add more types to the existing model. 

ReservedTypesRegistrar should check for every type in the model file and create 
the type if doesn't exist in typesystem

  was:
ReservedTypesRegistrar registers the models for supported integrations like 
hive, falcon, sqoop and storm. ReservedTypesRegistrar reads the model files and 
registers the types defined in the model file. The check thats done to verify 
if the model is already registered - checks for existence of first class type. 
This will not work if we add more class types to the existing model or modify 
the existing type to add optional attributes. 

ReservedTypesRegistrar should check for every type in the model file. Also, 
ReservedTypesRegistrar should do type update which does create if not exists, 
and update if exists


> ReservedTypesRegistrar checks for existence of 1st class type
> -------------------------------------------------------------
>
>                 Key: ATLAS-1184
>                 URL: https://issues.apache.org/jira/browse/ATLAS-1184
>             Project: Atlas
>          Issue Type: Bug
>            Reporter: Shwetha G S
>            Assignee: Vimal Sharma
>         Attachments: ATLAS-1184.patch
>
>
> ReservedTypesRegistrar registers the models for supported integrations like 
> hive, falcon, sqoop and storm. ReservedTypesRegistrar reads the model files 
> and registers the types defined in the model file. The check thats done to 
> verify if the model is already registered - checks for existence of first 
> class type. This will not work if we add more types to the existing model. 
> ReservedTypesRegistrar should check for every type in the model file and 
> create the type if doesn't exist in typesystem



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

Reply via email to