I've sent this by mistake to sling-dev instead of sling-users. Sorry. I will re-post on Sling users, please ignore the message.
On 21.02.2018 15:47, Ioan Eugen Stan wrote: > Hello, > > I've been looking for a way to initialize an Oak repository and I came > across repoinit module [1]. > > However, I'm using Oak outside of OSGI and I don't need all of Sling. > > Is that a use case that can be handled easily? If yes, I'll investigate > and put up some documentation. > > Looking at the documentation, it seems to me that in theory it should be > possible, however I saw that I need to implement > |SlingRepositoryInitializer that brings in Sling API, which I shouldn't > need.| > > To me repoinit language is similar to how SQL migrations are done and > IMO that is a responsibility of the content store, not the web app > especially since the store can be used by more then one micro service. > > |The application that uses Oak repo is not a web application and neither > OSGI, and it will cost us to migrate so that is not an option. > | > > > Regards, > > Eugen > > > [1] > https://sling.apache.org/documentation/bundles/repository-initialization.html > > > >
signature.asc
Description: OpenPGP digital signature