Re: OSGi or karaf-specific file storage service?
Hi Steinar- No, this is beyond the scope of what OSGi provides as an application runtime. This would be something provided by an application written in Java and deployed as an application-level service. Thanks, Matt > On May 6, 2024, at 11:50 AM, Steinar Bang wrote: > > Is there an OSGi, or karaf specific file storage service? > > I.e. a karaf interface to a part of the file system owned by karaf and > used to store files and directories. > > The only thing I've found when googling is this: > https://docs.osgi.org/specification/osgi.cmpn/7.0.0/service.cm.html > > And that's not what I'm thinking about. > > My primary use case is image caching of processed images (size reduced > images) but I'm also thinking of a general upload and serve file > functionality. > > Thanks! > > > - Steinar >
Re: OSGi or karaf-specific file storage service?
> Matt Pavlovich : > Hi Steinar- > No, this is beyond the scope of what OSGi provides as an application runtime. > This would be something provided by an application written in Java and > deployed as an application-level service. Thanks! It's what I thought. But I figured asking always better than assuming. :-)
Re: OSGi or karaf-specific file storage service?
Hi Steinar There's not "core/compendium" services spec about that. You can create your own easily :) NB: Cave provided a storage layer for artifacts in the past, if you wanna take a look. Regards JB On Mon, May 6, 2024 at 6:50 PM Steinar Bang wrote: > > Is there an OSGi, or karaf specific file storage service? > > I.e. a karaf interface to a part of the file system owned by karaf and > used to store files and directories. > > The only thing I've found when googling is this: > https://docs.osgi.org/specification/osgi.cmpn/7.0.0/service.cm.html > > And that's not what I'm thinking about. > > My primary use case is image caching of processed images (size reduced > images) but I'm also thinking of a general upload and serve file > functionality. > > Thanks! > > > - Steinar >
Re: OSGi or karaf-specific file storage service?
> Jean-Baptiste Onofré : > Hi Steinar > There's not "core/compendium" services spec about that. > You can create your own easily :) > NB: Cave provided a storage layer for artifacts in the past, if you > wanna take a look. Thanks, JB! I will dig into the Cave code to check it out. :-)