Skip to content

Commit

Permalink
Closes #92
Browse files Browse the repository at this point in the history
  • Loading branch information
augustearth committed May 12, 2022
1 parent c5d3fba commit ba6a6e7
Show file tree
Hide file tree
Showing 16 changed files with 28 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package carnival.core.cli



import carnival.util.Defaults
import carnival.core.config.Defaults



Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package carnival.util
package carnival.core.config



Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import org.apache.tinkerpop.gremlin.structure.Edge
import org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.__
import org.apache.tinkerpop.gremlin.structure.Graph.Features.GraphFeatures

import carnival.util.Defaults
import carnival.core.config.Defaults
import carnival.graph.EdgeDefTrait
import carnival.graph.PropertyDefTrait
import carnival.graph.VertexDefTrait
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.__

import org.apache.tinkerpop.gremlin.neo4j.structure.Neo4jGraph

import carnival.util.Defaults
import carnival.core.config.Defaults



Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import org.apache.tinkerpop.gremlin.structure.Vertex
import org.apache.tinkerpop.gremlin.structure.Edge
import org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.__

import carnival.util.Defaults
import carnival.core.config.Defaults
import carnival.graph.EdgeDefTrait
import carnival.graph.PropertyDefTrait
import carnival.graph.VertexDefTrait
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import org.apache.tinkerpop.gremlin.structure.Vertex
import org.apache.tinkerpop.gremlin.structure.Edge
import org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.__

import carnival.util.Defaults
import carnival.core.config.Defaults



Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import org.apache.tinkerpop.gremlin.structure.Vertex
import org.apache.tinkerpop.gremlin.structure.Edge
import org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.__

import carnival.util.Defaults
import carnival.core.config.Defaults

import carnival.graph.EdgeDefTrait
import carnival.graph.PropertyDefTrait
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import org.apache.tinkerpop.gremlin.structure.Vertex
import org.apache.tinkerpop.gremlin.structure.Edge
import org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.__

import carnival.util.Defaults
import carnival.core.config.Defaults
import carnival.graph.Base


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ package carnival.core.vine
import groovy.util.logging.Slf4j
import org.apache.commons.codec.digest.DigestUtils

import carnival.util.Defaults
import carnival.core.config.Defaults
import carnival.core.util.CoreUtil
import carnival.util.GenericDataTable
import carnival.util.MappedDataTable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ package carnival.core.vine
import groovy.util.logging.Slf4j
import org.apache.commons.codec.digest.DigestUtils

import carnival.util.Defaults
import carnival.core.config.Defaults
import carnival.core.util.CoreUtil
import carnival.util.GenericDataTable
import carnival.util.MappedDataTable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ package carnival.core.vine
import groovy.util.logging.Slf4j
import org.apache.commons.codec.digest.DigestUtils

import carnival.util.Defaults
import carnival.core.config.Defaults
import carnival.core.util.CoreUtil


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ package carnival.core.vine
import groovy.util.logging.Slf4j
import org.apache.commons.codec.digest.DigestUtils

import carnival.util.Defaults
import carnival.core.config.Defaults
import carnival.core.util.CoreUtil
import carnival.util.GenericDataTable
import carnival.util.MappedDataTable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ package carnival.core.vine
import groovy.util.logging.Slf4j
import org.apache.commons.codec.digest.DigestUtils

import carnival.util.Defaults
import carnival.core.config.Defaults
import carnival.core.util.CoreUtil


Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package carnival.util
package carnival.core.config


import groovy.sql.*
Expand Down Expand Up @@ -97,6 +97,18 @@ class DefaultsSpec extends Specification {
then:
Defaults.getDataDirectoryPath() == "${existingDataDir}_"
Defaults.getTargetDirectoryPath() == existingTargetDir

cleanup:
m = [
carnival: [
directories: [
data: [
root: "${existingDataDir}".toString()
]
]
]
]
Defaults.setConfigData(m)
}


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import org.neo4j.configuration.connectors.BoltConnector
import org.neo4j.configuration.helpers.SocketAddress*/

import carnival.graph.*
import carnival.util.Defaults
import carnival.core.config.Defaults



Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import spock.lang.Shared

import org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversalSource

import carnival.util.Defaults
import carnival.core.config.Defaults
import static carnival.util.AppUtil.sysPropFalse


Expand Down

0 comments on commit ba6a6e7

Please sign in to comment.