[ http://jira.magnolia.info/browse/MAGNOLIA-1806?page=all ]
Vivian Steller updated MAGNOLIA-1806: ------------------------------------- Description: The whole Bootstrap mechanism should be reviewed. There are currently multiple places where bootstrap is used: - Bootstrapper (used to bootstrap data when installing webapp) - BootstrapTasks (they use the deprecated ModuleUtil methods) - DataImporter All of them here and there do the same thing but do not use a common API, e.g. to: - resolve the target node out of the filename - not all support tar.gz files instead of xml files - etc. Also the usage of the ImportUUIDBehavior is sometime inconsistent used. We should probably use ImportUUIDBehavior.IMPORT_UUID_COLLISION_THROW as a default behaviour. In general we should introduce a main BootstrapUtil class that is commonly used by all classes mentioned above. was: (Vivian will edit and detail this) We should probably use ImportUUIDBehavior.IMPORT_UUID_COLLISION_THROW as a default behaviour. > Refactoring / cleanup of the bootstrap classes methods > ------------------------------------------------------ > > Key: MAGNOLIA-1806 > URL: http://jira.magnolia.info/browse/MAGNOLIA-1806 > Project: Magnolia > Issue Type: Improvement > Components: core > Reporter: Grégory Joseph > Assigned To: Vivian Steller > Fix For: Green > > > The whole Bootstrap mechanism should be reviewed. There are currently > multiple places where bootstrap is used: > - Bootstrapper (used to bootstrap data when installing webapp) > - BootstrapTasks (they use the deprecated ModuleUtil methods) > - DataImporter > All of them here and there do the same thing but do not use a common API, > e.g. to: > - resolve the target node out of the filename > - not all support tar.gz files instead of xml files > - etc. > Also the usage of the ImportUUIDBehavior is sometime inconsistent used. We > should probably use ImportUUIDBehavior.IMPORT_UUID_COLLISION_THROW as a > default behaviour. > In general we should introduce a main BootstrapUtil class that is commonly > used by all classes mentioned above. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.magnolia.info/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ---------------------------------------------------------------- for list details see http://documentation.magnolia.info/docs/en/editor/stayupdated.html ----------------------------------------------------------------