Interesting proposal,

I did some tests for the one to run in embedded mode, declaring the IOTDB
system variables in a bundle. All directories are within the Karaf
structure. IoTDB Rock !.

https://github.com/glcj/Merlot/tree/master/com.ceos.merlot.iotdb.svr

If the proposal facilitates integration, I would try to evaluate it in
Karaf.

Best regards,

El dom., 30 ago. 2020 a las 17:31, Christofer Dutz (<
[email protected]>) escribió:

> Yeah ...
>
> already committed ... wanted to create the PR but Dinner interrupted ...
> but I think in general a little cleanup of the getPropsUrl() to also allow
> explicitly naming the property file differently.
>
> With my changes I have to name the config-url "classpath:" which sort of
> feels silly ;-)
>
> Chris
>
>
> Am 30.08.20, 17:23 schrieb "Julian Feinauer" <
> [email protected]>:
>
>     Hey Chris,
>
>     Good idea... What about... A PR? :D
>
>     Julian
>
>     Von meinem Mobiltelefon gesendet
>
>
>     -------- Ursprüngliche Nachricht --------
>     Von: Christofer Dutz <[email protected]>
>     Datum: So., 30. Aug. 2020, 17:19
>     An: [email protected]
>     Betreff: Configuring IoTDB when run programatically
>     Hi all,
>
>     I’m currently doing my first steps with IoTDB and am currently
> struggling to get IoTDB to startup in an embedded mode.
>     I am setting up IoTDB to be setup as a service in my SpringBoot
> application. For this I have my iotdb-engine.properties in my classpath.
>     However I want IoTDB to have all of its files in my applications home
> directory.
>
>     Now it seems as if this szenario isn’t supported nicely as If I
> specify the IOTDB_HOME, it wants to load the properties from there too, but
> I would like to leave the properties in my classpath.
>     The reason for this is that I don’t need any setup steps to prepare
> the directories.
>
>     It would be cool if in IoTDBDescriptor line 128 wouldn’t expect the
> URL to be a File URL. I could also have a classpath URL
> “classpath:/iotdb-engine.properties” but that causes trouble ;-)
>
>     Chris
>
>

-- 
*CEOS Automatización, C.A.*
*GALPON SERVICIO INDUSTRIALES Y NAVALES FA, C.A.,*
*PISO 1, OFICINA 2, AV. RAUL LEONI, SECTOR GUAMACHITO,*

*FRENTE A LA ASOCIACION DE GANADEROS,BARCELONA,EDO. ANZOATEGUI*
*Ing. César García*

*Cel: +58 414-760.98.95*

*Hotline Técnica SIEMENS: 0800 1005080*

*Email: [email protected]
<[email protected]>*

Reply via email to