Portlet Data Plans
Design ideas for reusing the uP4 data import/export tools, the tool would have several parts:
- Maven Plugin to do data i/e/d for a project
- Defines DataImportExport interface
- Has import, export, delete, list types, & list data methods
- void import(DataType, Object)
- Object export(DataType, String id)
- void delete(DataType, String id)
- Iterable<DataType> listDataTypes()
- Iterable<String> listData(DataType)
- Plugin places the whole project and deps on the classpath and uses the Java SPI loader to find the DataImportExport implementation
- Defines DataImportExport interface
- JAXB Based import/export utility library
- Extract the JAXB import/export code from uPortal
- Dependency issues
- This is HEAVILY spring based right now, is that ok for the data migration plugin?
- Will it cause versioning issues with portlets that use Spring?
- Can the project's classpath be loaded in a child classloader?