use of org.onap.aai.serialization.engines.JanusGraphDBEngine in project aai-aai-common by onap.
the class DataCopyTest method initMock.
@Before
public void initMock() {
loader = loaderFactory.createLoaderForVersion(introspectorFactoryType, schemaVersions.getDefaultVersion());
MockitoAnnotations.initMocks(this);
dbEngine = new JanusGraphDBEngine(queryStyle, loader);
}
use of org.onap.aai.serialization.engines.JanusGraphDBEngine in project aai-aai-common by onap.
the class DataLinkTest method initMock.
@Before
public void initMock() {
loader = loaderFactory.createLoaderForVersion(introspectorFactoryType, schemaVersions.getDefaultVersion());
MockitoAnnotations.initMocks(this);
dbEngine = new JanusGraphDBEngine(queryStyle, loader);
}
use of org.onap.aai.serialization.engines.JanusGraphDBEngine in project aai-aai-common by onap.
the class OneToOneEdgeUpdateTest method setup.
@Before
public void setup() throws UnsupportedEncodingException, AAIException, URISyntaxException {
version = schemaVersions.getDefaultVersion();
loader = loaderFactory.createLoaderForVersion(introspectorFactoryType, version);
engine = new JanusGraphDBEngine(queryStyle, loader);
initData();
}
use of org.onap.aai.serialization.engines.JanusGraphDBEngine in project aai-aai-common by onap.
the class VersionedScenariosTest method setup.
@Before
public void setup() throws UnsupportedEncodingException, AAIException, URISyntaxException {
version = schemaVersions.getDefaultVersion();
loader = loaderFactory.createLoaderForVersion(introspectorFactoryType, version);
engine = new JanusGraphDBEngine(queryStyle, loader);
initData();
}
use of org.onap.aai.serialization.engines.JanusGraphDBEngine in project aai-aai-common by onap.
the class DbAliasTest method setup.
@Before
public void setup() {
version = schemaVersions.getDepthVersion();
graph = JanusGraphFactory.build().set("storage.backend", "inmemory").open();
loader = loaderFactory.createLoaderForVersion(introspectorFactoryType, version);
dbEngine = new JanusGraphDBEngine(queryStyle, loader);
}
Aggregations