-
Notifications
You must be signed in to change notification settings - Fork 640
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#2105 Add force parameter in database cloner tool
- Loading branch information
Showing
5 changed files
with
65 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# This is a sample configuration for the database cloner tool | ||
|
||
# Configuration of the source database (same format as in application.conf) | ||
from.db.janusgraph { | ||
storage { | ||
// backend: cql | ||
// hostname: ["ip1", "ip2"] | ||
} | ||
index.search { | ||
backend: lucene | ||
directory: /opt/thp/thehive/index | ||
} | ||
} | ||
# Configuration of the target database | ||
to.db.janusgraph { | ||
storage { | ||
// backend: cql | ||
// hostname: ["ip1", "ip2"] | ||
} | ||
index.search { | ||
backend: lucene | ||
directory: /opt/thp/thehive/otherIndex | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -117,3 +117,4 @@ to { | |
} | ||
} | ||
batchSize: 100 | ||
force: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters