----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/53526/ -----------------------------------------------------------
Review request for atlas. Bugs: ATLAS-1272 https://issues.apache.org/jira/browse/ATLAS-1272 Repository: atlas Description ------- - Replaced model generators with checked in model JSON files at addons/models directory - Moved type bootstrap from DefaultMetadataService to AtlasTypeDefStoreInitializer - Model files under {atlas.home}/models directory are loaded in the sorted order of the filename. - Built-in types, Referenceable/Asset/Infrastrucure/DataSet/Process, are now loaded from models directory – just as rest of the types Diffs ----- addons/falcon-bridge/pom.xml de3e810 addons/falcon-bridge/src/main/java/org/apache/atlas/falcon/bridge/FalconBridge.java 05d072f addons/falcon-bridge/src/main/java/org/apache/atlas/falcon/model/FalconDataModelGenerator.java fc0a9b2 addons/falcon-bridge/src/test/java/org/apache/atlas/falcon/hook/FalconHookIT.java 31b70fd addons/hdfs-model/pom.xml e2ab029 addons/hdfs-model/src/main/java/org/apache/atlas/fs/model/FSDataModelGenerator.java 555d565 addons/hdfs-model/src/main/scala/org/apache/atlas/fs/model/FSDataModel.scala ad40340 addons/hdfs-model/src/test/java/org/apache/atlas/fs/model/HDFSModelTest.java 5944da8 addons/hive-bridge/pom.xml 884791d addons/hive-bridge/src/main/java/org/apache/atlas/hive/bridge/ColumnLineageUtils.java e4a20e1 addons/hive-bridge/src/main/java/org/apache/atlas/hive/bridge/HiveMetaStoreBridge.java 2d2039b addons/hive-bridge/src/main/java/org/apache/atlas/hive/hook/HiveHook.java eaef337 addons/hive-bridge/src/main/java/org/apache/atlas/hive/model/HiveDataModelGenerator.java d0fc43f addons/hive-bridge/src/test/java/org/apache/atlas/hive/HiveITBase.java bdf0d2d addons/hive-bridge/src/test/java/org/apache/atlas/hive/bridge/HiveMetaStoreBridgeTest.java e488f93 addons/hive-bridge/src/test/java/org/apache/atlas/hive/hook/HiveHookIT.java b6f55a1 addons/models/0010-base_model.json PRE-CREATION addons/models/0020-fs_model.json PRE-CREATION addons/models/0030-hive_model.json PRE-CREATION addons/models/0040-sqoop_model.json PRE-CREATION addons/models/0050-falcon_model.json PRE-CREATION addons/models/0060-hbase_model.json PRE-CREATION addons/models/0070-kafka_model.json PRE-CREATION addons/models/0080-storm_model.json PRE-CREATION addons/models/patches/001-hive_column_add_position.json PRE-CREATION addons/sqoop-bridge/pom.xml 9ac411e addons/sqoop-bridge/src/main/java/org/apache/atlas/sqoop/hook/SqoopHook.java e43fc86 addons/sqoop-bridge/src/main/java/org/apache/atlas/sqoop/model/SqoopDataModelGenerator.java 3373246 addons/sqoop-bridge/src/test/java/org/apache/atlas/sqoop/hook/SqoopHookIT.java d4fb3af addons/storm-bridge/pom.xml fcb6e01 addons/storm-bridge/src/main/java/org/apache/atlas/storm/hook/StormAtlasHook.java bb6a476 addons/storm-bridge/src/main/java/org/apache/atlas/storm/model/StormDataModelGenerator.java 95eead7 addons/storm-bridge/src/main/scala/org/apache/atlas/storm/model/StormDataModel.scala 7caf5e8 addons/storm-bridge/src/test/java/org/apache/atlas/storm/hook/StormAtlasHookIT.java fe4c001 distro/src/main/assemblies/standalone-package.xml 39c6512 intg/src/main/java/org/apache/atlas/AtlasErrorCode.java 709fcbc intg/src/main/java/org/apache/atlas/model/typedef/AtlasStructDef.java d5ed0bc intg/src/main/java/org/apache/atlas/model/typedef/AtlasTypesDef.java fb2029d intg/src/main/java/org/apache/atlas/type/AtlasStructType.java 78b29fd intg/src/main/java/org/apache/atlas/type/AtlasTypeRegistry.java 8924d44 repository/src/main/java/org/apache/atlas/repository/graph/GraphBackedSearchIndexer.java 67b5362 repository/src/main/java/org/apache/atlas/repository/store/bootstrap/AtlasTypeDefStoreInitializer.java PRE-CREATION repository/src/main/java/org/apache/atlas/repository/store/graph/AtlasTypeDefGraphStore.java 2163e01 repository/src/main/java/org/apache/atlas/repository/store/graph/v1/AtlasStructDefStoreV1.java 0dd7164 repository/src/main/java/org/apache/atlas/services/AtlasPatchHandler.java f916169 repository/src/main/java/org/apache/atlas/services/AtlasTypeAttributePatch.java b918c87 repository/src/main/java/org/apache/atlas/services/AtlasTypePatch.java 0698efb repository/src/main/java/org/apache/atlas/services/DefaultMetadataService.java 95c3dd9 repository/src/test/java/org/apache/atlas/BaseRepositoryTest.java 03d155c repository/src/test/java/org/apache/atlas/repository/store/graph/AtlasTypeDefGraphStoreTest.java 3ffed90 repository/src/test/java/org/apache/atlas/services/DefaultMetadataServiceMockTest.java 9722a72 repository/src/test/java/org/apache/atlas/services/ReservedTypesRegistrarTest.java effab15 Diff: https://reviews.apache.org/r/53526/diff/ Testing ------- Thanks, Madhan Neethiraj