Hi Etienne, How about following this example [1]. If you run `mvn pacakge` for iotdb-grafana module, you can get a war file under `/grafana/target/iotdb-grafana-0.10.0-SNAPSHOT.war`. What we need is to write a feature.xml, like [2]
[1] https://github.com/apache/karaf/tree/master/examples/karaf-war-example [2] https://github.com/apache/karaf/tree/master/examples/karaf-war-example/karaf-war-example-features Best, ----------------------------------- Xiangdong Huang School of Software, Tsinghua University 黄向东 清华大学 软件学院 Etienne Robinet <[email protected]> 于2020年3月5日周四 下午1:58写道: > Hi, > According to karaf doc, the War needs a web.xml in order to be correctly > deployed into karaf. But I can not find it/ i do not know what should be in > it or where it should be to create it. Any ideas? > > > Etienne ROBINET > > > Le 5 mars 2020 à 03:31, Xiangdong Huang <[email protected]> a écrit : > > > > Hi, > > > > I am not familiar with OSGi, but according to my understanding, deploying > > current iotdb-grafana connector is possible, as the connector is an > restful > > service using Jetty actually. > > > > I do not know whether we can deploying IoTDB server into an OSGi > container. > > IoTDB plays the role of a database, like mysql and oracle. I google "OSGi > > container and MySQL" and do not get useful results. > > > > The other thing we may need to consider is that can we use IoTDB-JDBC > > driver (which is not a complete implementation) or IoTDB session API in > > OSGi Bundle. Is my understanding correct? > > > > Best, > > ----------------------------------- > > Xiangdong Huang > > School of Software, Tsinghua University > > > > 黄向东 > > 清华大学 软件学院 > > > > > > Etienne Robinet <[email protected]> 于2020年3月4日周三 下午9:20写道: > > > >> Hello, > >> I wanted to ask if there are any plan on being able to deploy the server > >> and/or the grafana connector inside an OSGi container? > >> If not, doesn tanyone knows the steps to follow to implement this > function? > >> > >> Etienne > >> >
