Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
AtlasTypeRegistry includes methods to get/add/update types in the system. While adding a bunch of types in a call, any failures might leave the registry in inconsistent state - and such registry state can cause errors later. Changes to the registry should be performed via a well defined API call i.e. not via multiple APIs like add/update/delete types. An approach similar to current typesystem, by using a transient registry, would be helpful. With this, AtlasTypeRegistry will support only read methods and all the changes will be made available via createTransientTypeRegistry()/commitTransientTypeRegistry() calls. TransientTypeRegistry will support methods to add/update types