3 # ============LICENSE_START=======================================================
4 # Copyright © 2018 AT&T Intellectual Property. All rights reserved.
5 # ================================================================================
6 # Licensed under the Apache License, Version 2.0 (the "License");
7 # you may not use this file except in compliance with the License.
8 # You may obtain a copy of the License at
10 # http://www.apache.org/licenses/LICENSE-2.0
12 # Unless required by applicable law or agreed to in writing, software
13 # distributed under the License is distributed on an "AS IS" BASIS,
14 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 # See the License for the specific language governing permissions and
16 # limitations under the License.
17 # ============LICENSE_END=========================================================
20 query.fast-property=true
21 query.smart-limit=false
23 {{- if .Values.global.config.cluster.cassandra.dynamic }}
26 storage.hostname={{.Values.global.cassandra.serviceName}}
27 storage.username={{.Values.global.cassandra.username}}
28 storage.password={{.Values.global.cassandra.password}}
30 storage.cql.keyspace=aaigraph
31 storage.cql.local-datacenter={{ .Values.global.cassandra.localDataCenter }}
32 storage.cql.read-consistency-level=LOCAL_QUORUM
33 storage.cql.write-consistency-level=LOCAL_QUORUM
34 storage.cql.replication-factor={{.Values.global.cassandra.replicas}}
35 storage.cql.only-use-local-consistency-for-system-operations=true
37 {{- if .Values.global.cassandra.partitionerName }}
38 storage.cql.partitioner-name={{ .Values.global.cassandra.partitionerName }}
41 {{- if .Values.config.janusgraph.cassandraDriver }}
42 storage.cql.internal.string-configuration = datastax-java-driver { {{ .Values.config.janusgraph.cassandraDriver.configuration }} }
47 {{- if .Values.global.config.storage }}
49 storage.backend={{ .Values.global.config.storage.backend }}
51 {{- if eq .Values.global.config.storage.backend "cql" }}
53 storage.hostname={{ .Values.global.config.storage.hostname }}
54 storage.cql.keyspace={{ .Values.global.config.storage.name }}
55 storage.cql.local-datacenter={{ .Values.global.cassandra.localDataCenter }}
57 storage.cql.read-consistency-level={{ .Values.global.config.storage.cql.readConsistency }}
58 storage.cql.write-consistency-level={{ .Values.global.config.storage.cql.readConsistency }}
59 storage.cql.replication-factor={{ .Values.global.config.storage.cql.replicationFactor | int }}
61 storage.cql.only-use-local-consistency-for-system-operations={{ .Values.global.config.storage.cql.localConsistencyForSysOps }}
62 storage.cql.cluster-name={{ .Values.global.config.storage.clusterName }}
63 storage.cql.local-datacenter={{ .Values.global.cassandra.localDataCenter }}
65 storage.connection-timeout={{ .Values.global.config.storage.connectionTimeout | int }}
66 cache.tx-cache-size={{ .Values.global.config.storage.cacheSize | int }}
67 log.tx.key-consistent={{ .Values.global.config.storage.keyConsistent }}
69 {{- else if eq .Values.global.config.storage.backend "hbase" }}
71 storage.hostname={{ .Values.global.config.storage.hostname }}
72 storage.hbase.table={{ .Values.global.config.storage.name }}
74 storage.connection-timeout={{ .Values.global.config.storage.connectionTimeout | int }}
75 cache.tx-cache-size={{ .Values.global.config.storage.cacheSize | int }}
76 log.tx.key-consistent={{ .Values.global.config.storage.keyConsistent }}
82 storage.lock.wait-time=300
83 # Setting db-cache to false ensure the fastest propagation of changes across servers
85 #load graphson file on startup
86 load.snapshot.file=false
88 {{- if .Values.config.janusgraph.allowUpgrade }}
89 graph.allow-upgrade=true