2 # ============LICENSE_START=======================================================
3 # Copyright © 2017 AT&T Intellectual Property. All rights reserved.
4 # ================================================================================
5 # Licensed under the Apache License, Version 2.0 (the "License");
6 # you may not use this file except in compliance with the License.
7 # You may obtain a copy of the License at
9 # http://www.apache.org/licenses/LICENSE-2.0
11 # Unless required by applicable law or agreed to in writing, software
12 # distributed under the License is distributed on an "AS IS" BASIS,
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 # See the License for the specific language governing permissions and
15 # limitations under the License.
16 # ============LICENSE_END=========================================================
18 # ECOMP is a trademark and service mark of AT&T Intellectual Property.
21 query.fast-property=true
22 query.smart-limit=false
24 {{ if .Values.global.config.cluster.cassandra.dynamic }}
27 storage.hostname={{.Values.global.cassandra.serviceName}}
28 storage.cql.keyspace=aaigraph
29 storage.username={{.Values.global.cassandra.username}}
30 storage.password={{.Values.global.cassandra.password}}
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
39 {{ if .Values.global.config.storage }}
41 storage.backend={{ .Values.global.config.storage.backend }}
43 {{ if eq .Values.global.config.storage.backend "cassandra" }}
45 storage.hostname={{ .Values.global.config.storage.hostname }}
46 storage.cassandra.keyspace={{ .Values.global.config.storage.name }}
48 storage.cassandra.read-consistency-level={{ .Values.global.config.storage.cassandra.readConsistency }}
49 storage.cassandra.write-consistency-level={{ .Values.global.config.storage.cassandra.writeConsistency }}
50 storage.cassandra.replication-factor={{ .Values.global.config.storage.cassandra.replicationFactor | int }}
51 storage.cassandra.astyanax.cluster-name= {{ .Values.global.config.storage.clusterName }}
52 storage.cassandra.astyanax.local-datacenter= {{ .Values.global.config.storage.localDataCenter }}
54 storage.connection-timeout={{ .Values.global.config.storage.connectionTimeout | int }}
55 cache.tx-cache-size={{ .Values.global.config.storage.cacheSize | int }}
56 log.tx.key-consistent={{ .Values.global.config.storage.keyConsistent }}
58 {{ else if eq .Values.global.config.storage.backend "cql" }}
60 storage.hostname={{ .Values.global.config.storage.hostname }}
61 storage.cql.keyspace={{ .Values.global.config.storage.name }}
63 storage.cql.read-consistency-level={{ .Values.global.config.storage.cql.readConsistency }}
64 storage.cql.write-consistency-level={{ .Values.global.config.storage.cql.readConsistency }}
65 storage.cql.replication-factor={{ .Values.global.config.storage.cql.replicationFactor | int }}
67 storage.cql.only-use-local-consistency-for-system-operations={{ .Values.global.config.storage.cql.localConsistencyForSysOps }}
68 storage.cql.cluster-name={{ .Values.global.config.storage.clusterName }}
69 storage.cql.local-datacenter={{ .Values.global.config.storage.localDataCenter }}
71 storage.connection-timeout={{ .Values.global.config.storage.connectionTimeout | int }}
72 cache.tx-cache-size={{ .Values.global.config.storage.cacheSize | int }}
73 log.tx.key-consistent={{ .Values.global.config.storage.keyConsistent }}
75 {{ else if eq .Values.global.config.storage.backend "hbase" }}
77 storage.hostname={{ .Values.global.config.storage.hostname }}
78 storage.hbase.table={{ .Values.global.config.storage.name }}
80 storage.connection-timeout={{ .Values.global.config.storage.connectionTimeout | int }}
81 cache.tx-cache-size={{ .Values.global.config.storage.cacheSize | int }}
82 log.tx.key-consistent={{ .Values.global.config.storage.keyConsistent }}
90 storage.lock.wait-time=300
91 # Setting db-cache to false ensure the fastest propagation of changes across servers
92 cache.db-cache = false
93 #load graphson file on startup
94 load.snapshot.file=false