Dominik Marks 4 Years Ago - Edited I had an interesting discussion with David Nebinger at the DEVCON 2019 about how to import resources. One of our main purpose to use the resources importer is to be able to update existing resources in a portal. The Site Initialiser does not help here because it runs only once when creating new sites. We also discussed to write Groovy scripts or to write UpgradeProcesses to update resources in a portal. For us it is important to have something that is file based, because most of the resources (like Journal Templates, ADTs and so on) are created by our designers and they do not want to write Java or Groovy code. As a result of the discussion I started to write an "advanced" resources importer. It is more ore less a re-implementation of the existing resources importer, but with a fully modular approach. That means that developers can add their own type of resources they want to import by just adding a new OSGi component. It is mostly compatible with the known directory structure of the "old" resources importer, so our designers do not need to change the existing projects. If this project is interesting to you I will probably put it public on github at some time. Please sign in to reply. Reply as... Cancel Olaf Kock Dominik Marks 4 Years Ago I'd be very curious to see this modular importer. I see many solutions to the same problem with all kinds of installations, and having one that doesn't solve all problems, but provides an interface to hook into it, might be just what's needed. Probably nobody can get it right for all intents and purposes, but if it gets 70% of the way, and the rest can be custom: Great. Please sign in to reply. Reply as... Cancel Zsigmond Rab Dominik Marks 4 Years Ago Has that been shared somewhere in any way already? Please sign in to reply. Reply as... Cancel Dominik Marks Zsigmond Rab 4 Years Ago - Edited I put my current implementation here: https://github.com/dmarks2/advanced-resources-importer Feel free to try it and give feedback. Please sign in to reply. Reply as... Cancel Lukas Hodel Dominik Marks 4 Years Ago - Edited This sounds really interesting! We are on the search of a way to align structures/templates/fractures etc. with a Git based CI/CD pipeline. As the old ResourceImporter was only ably to initiate a state, it takes me wonder if this one is also able to update the resources without potential data loss? I will definitely give it a try :) Please sign in to reply. Reply as... Cancel
Olaf Kock Dominik Marks 4 Years Ago I'd be very curious to see this modular importer. I see many solutions to the same problem with all kinds of installations, and having one that doesn't solve all problems, but provides an interface to hook into it, might be just what's needed. Probably nobody can get it right for all intents and purposes, but if it gets 70% of the way, and the rest can be custom: Great. Please sign in to reply. Reply as... Cancel
Zsigmond Rab Dominik Marks 4 Years Ago Has that been shared somewhere in any way already? Please sign in to reply. Reply as... Cancel Dominik Marks Zsigmond Rab 4 Years Ago - Edited I put my current implementation here: https://github.com/dmarks2/advanced-resources-importer Feel free to try it and give feedback. Please sign in to reply. Reply as... Cancel Lukas Hodel Dominik Marks 4 Years Ago - Edited This sounds really interesting! We are on the search of a way to align structures/templates/fractures etc. with a Git based CI/CD pipeline. As the old ResourceImporter was only ably to initiate a state, it takes me wonder if this one is also able to update the resources without potential data loss? I will definitely give it a try :) Please sign in to reply. Reply as... Cancel
Dominik Marks Zsigmond Rab 4 Years Ago - Edited I put my current implementation here: https://github.com/dmarks2/advanced-resources-importer Feel free to try it and give feedback. Please sign in to reply. Reply as... Cancel Lukas Hodel Dominik Marks 4 Years Ago - Edited This sounds really interesting! We are on the search of a way to align structures/templates/fractures etc. with a Git based CI/CD pipeline. As the old ResourceImporter was only ably to initiate a state, it takes me wonder if this one is also able to update the resources without potential data loss? I will definitely give it a try :) Please sign in to reply. Reply as... Cancel
Lukas Hodel Dominik Marks 4 Years Ago - Edited This sounds really interesting! We are on the search of a way to align structures/templates/fractures etc. with a Git based CI/CD pipeline. As the old ResourceImporter was only ably to initiate a state, it takes me wonder if this one is also able to update the resources without potential data loss? I will definitely give it a try :) Please sign in to reply. Reply as... Cancel