Reusable Containers (Experimental)
OrientDB Module
登录后可跨设备保存划线和私人笔记登录
OrientDB Module
Testcontainers module for OrientDB
Usage example
You can start an OrientDB container instance from any Java application by using:
Container creation
OrientDBContainer orientdb = new OrientDBContainer("orientdb:3.2.0-tp3")Adding this module to your project dependencies
Add the following dependency to your pom.xml/build.gradle file:
GradleMaven
testImplementation "org.testcontainers:testcontainers-orientdb:2.0.5"<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>testcontainers-orientdb</artifactId>
<version>2.0.5</version>
<scope>test</scope>
</dependency>Hint
Add the OrientDB Java client if you plan to access the Testcontainer:
GradleMaven
compile "com.orientechnologies:orientdb-client:3.0.24"<dependency>
<groupId>com.orientechnologies</groupId>
<artifactId>orientdb-client</artifactId>
<version>3.0.24</version>
</dependency>评论
登录后参与评论
正在加载评论…
KnowForge