Skip to content

Commit

Permalink
For #65. Leaving commented code in place for future reference...
Browse files Browse the repository at this point in the history
  • Loading branch information
augustearth committed Sep 27, 2021
1 parent b44dbcb commit 28f4c46
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,9 @@ subprojects {
implementation "org.apache.tinkerpop:neo4j-gremlin:${gremlinVersion}"
implementation "org.neo4j:neo4j-tinkerpop-api-impl:${neo4jTinkerpopVersion}"
implementation "org.neo4j.driver:neo4j-java-driver:${neo4JavaDriverVersion}"
//implementation "org.neo4j:parent:${neo4JavaDriverVersion}"
//implementation "org.neo4j:neo4j-community:${neo4JavaDriverVersion}"
//implementation "org.neo4j:neo4j-bolt:${neo4JavaDriverVersion}"

// Testing
// there are test helpers implemented in the source tree, so the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ import org.apache.tinkerpop.gremlin.process.traversal.Traversal
import org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversalSource
import static org.apache.tinkerpop.gremlin.neo4j.process.traversal.LabelP.of

/*import org.neo4j.dbms.api.DatabaseManagementService
import org.neo4j.dbms.api.DatabaseManagementServiceBuilder
import org.neo4j.configuration.connectors.BoltConnector
import org.neo4j.configuration.helpers.SocketAddress*/

import carnival.graph.*
import carnival.util.Defaults

Expand Down Expand Up @@ -71,6 +76,20 @@ class CoreGraphNeo4jSpec extends Specification {
///////////////////////////////////////////////////////////////////////////
// TESTS
///////////////////////////////////////////////////////////////////////////

/*def "test expose Bolt port"() {
when:
// expose Bolt port
DatabaseManagementService managementService = new DatabaseManagementServiceBuilder( Defaults.getDataGraphDirectoryPath() )
.setConfig( BoltConnector.enabled, true )
.setConfig( BoltConnector.listen_address, new SocketAddress( "localhost", 7687 ) )
.build();
then:
managementService != null
}*/



@IgnoreIf({ !Defaults.getConfigValue('carnival.gremlin.conf.dbms.directories.plugins') })
def "test apoc"() {
Expand Down

0 comments on commit 28f4c46

Please sign in to comment.