blob: 8791a0bd7e853300329d8d3eff271e1303568f94 [file] [log] [blame]
vagrant62ddc7d2018-03-10 23:56:32 +00001#
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
8#
9# http://www.apache.org/licenses/LICENSE-2.0
10#
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=========================================================
17#
18# ECOMP is a trademark and service mark of AT&T Intellectual Property.
19#
20
21query.fast-property=true
22query.smart-limit=false
23
Kajur, Harish (vk250x)41a435d2018-09-06 14:44:40 -040024{{ if .Values.global.config.cluster.cassandra.dynamic }}
25
vagrant62ddc7d2018-03-10 23:56:32 +000026storage.backend=cassandra
Mahendra Raghuwanshibd10dfc2019-03-15 12:02:42 +000027storage.hostname={{.Values.global.cassandra.serviceName}}
vagrant62ddc7d2018-03-10 23:56:32 +000028storage.cassandra.keyspace=aaigraph
29
30storage.cassandra.read-consistency-level=LOCAL_QUORUM
31storage.cassandra.write-consistency-level=LOCAL_QUORUM
Mahendra Raghuwanshibd10dfc2019-03-15 12:02:42 +000032storage.cassandra.replication-factor={{.Values.global.cassandra.replicas}}
vagrant62ddc7d2018-03-10 23:56:32 +000033storage.cassandra.replication-strategy-class=org.apache.cassandra.locator.SimpleStrategy
vagrant62ddc7d2018-03-10 23:56:32 +000034
Kajur, Harish (vk250x)41a435d2018-09-06 14:44:40 -040035{{ else }}
36
37{{ if .Values.global.config.storage }}
38
39storage.backend={{ .Values.global.config.storage.backend }}
40
41{{ if eq .Values.global.config.storage.backend "cassandra" }}
42
43storage.hostname={{ .Values.global.config.storage.hostname }}
44storage.cassandra.keyspace={{ .Values.global.config.storage.name }}
45
46storage.cassandra.read-consistency-level={{ .Values.global.config.storage.cassandra.readConsistency }}
47storage.cassandra.write-consistency-level={{ .Values.global.config.storage.cassandra.writeConsistency }}
48storage.cassandra.replication-factor={{ .Values.global.config.storage.cassandra.replicationFactor | int }}
49storage.cassandra.astyanax.cluster-name= {{ .Values.global.config.storage.clusterName }}
50storage.cassandra.astyanax.local-datacenter= {{ .Values.global.config.storage.localDataCenter }}
51
52storage.connection-timeout={{ .Values.global.config.storage.connectionTimeout | int }}
53cache.tx-cache-size={{ .Values.global.config.storage.cacheSize | int }}
54log.tx.key-consistent={{ .Values.global.config.storage.keyConsistent }}
55
56{{ else if eq .Values.global.config.storage.backend "cql" }}
57
58storage.hostname={{ .Values.global.config.storage.hostname }}
59storage.cql.keyspace={{ .Values.global.config.storage.name }}
60
61storage.cql.read-consistency-level={{ .Values.global.config.storage.cql.readConsistency }}
62storage.cql.write-consistency-level={{ .Values.global.config.storage.cql.readConsistency }}
63storage.cql.replication-factor={{ .Values.global.config.storage.cql.replicationFactor | int }}
64
65storage.cql.only-use-local-consistency-for-system-operations={{ .Values.global.config.storage.cql.localConsistencyForSysOps }}
66storage.cql.cluster-name={{ .Values.global.config.storage.clusterName }}
67storage.cql.local-datacenter={{ .Values.global.config.storage.localDataCenter }}
68
69storage.connection-timeout={{ .Values.global.config.storage.connectionTimeout | int }}
70cache.tx-cache-size={{ .Values.global.config.storage.cacheSize | int }}
71log.tx.key-consistent={{ .Values.global.config.storage.keyConsistent }}
72
73{{ else if eq .Values.global.config.storage.backend "hbase" }}
74
75storage.hostname={{ .Values.global.config.storage.hostname }}
76storage.hbase.table={{ .Values.global.config.storage.name }}
77
78storage.connection-timeout={{ .Values.global.config.storage.connectionTimeout | int }}
79cache.tx-cache-size={{ .Values.global.config.storage.cacheSize | int }}
80log.tx.key-consistent={{ .Values.global.config.storage.keyConsistent }}
81
82{{ end }}
83
84{{ end }}
85
86{{ end }}
87
vagrant62ddc7d2018-03-10 23:56:32 +000088storage.lock.wait-time=300
89# Setting db-cache to false ensure the fastest propagation of changes across servers
90cache.db-cache = false
vagrant62ddc7d2018-03-10 23:56:32 +000091#load graphson file on startup
92load.snapshot.file=false