summaryrefslogtreecommitdiffstats
path: root/asdctool/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/templates/default/janusgraph.properties.erb
blob: 9b1ebdd5a4e0fd12d24fd11fb38b039599cd71ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
storage.backend=cql
storage.hostname=<%= @cassandra_ip %>
storage.port=<%= @cassandra_port_num %>
storage.username=<%= @cassandra_usr %>
storage.password=<%= @cassandra_pwd %>
storage.connection-timeout=<%= @janus_connection_timeout %>
storage.cql.keyspace=sdctitan

storage.cql.ssl.enabled=false
storage.cql.ssl.truststore.location=<%= @cassandra_truststore_path %>
storage.cql.ssl.truststore.password=<%= @cassandra_truststore_password %>

storage.cql.read-consistency-level=LOCAL_QUORUM
storage.cql.write-consistency-level=LOCAL_QUORUM
storage.cql.replication-strategy-class=NetworkTopologyStrategy
storage.cql.replication-strategy-options=<%= @DC_NAME %>,<%= @replication_factor %>
storage.cql.local-datacenter=<%= @DC_NAME %>

cache.db-cache = false
cache.db-cache-clean-wait = 20
cache.db-cache-time = 180000
cache.db-cache-size = 0.5

cache.tx-cache-size = 1000000
storage.lock.wait-time=500