Search in sources :

Example 1 with DatabaseMigrator

use of nl.knaw.huygens.timbuctoo.server.databasemigration.DatabaseMigrator in project timbuctoo by HuygensING.

the class TinkerPopGraphManager method start.

@Override
public void start() throws Exception {
    synchronized (graphWaitList) {
        initGraphDatabaseService();
        this.graph = Neo4jGraph.open(new Neo4jGraphAPIImpl(graphDatabase));
        new DatabaseMigrator(this, migrations).execute();
        callWaiters();
    }
}
Also used : Neo4jGraphAPIImpl(org.neo4j.tinkerpop.api.impl.Neo4jGraphAPIImpl) DatabaseMigrator(nl.knaw.huygens.timbuctoo.server.databasemigration.DatabaseMigrator)

Aggregations

DatabaseMigrator (nl.knaw.huygens.timbuctoo.server.databasemigration.DatabaseMigrator)1 Neo4jGraphAPIImpl (org.neo4j.tinkerpop.api.impl.Neo4jGraphAPIImpl)1