blob: e3128b8fa513e798f0dc518e41d62cdf0a3c959e [file] [log] [blame]
vagrant62ddc7d2018-03-10 23:56:32 +00001#
2# ============LICENSE_START=======================================================
3# org.onap.aai
4# ================================================================================
5# Copyright © 2017 AT&T Intellectual Property. All rights reserved.
6# ================================================================================
7# Licensed under the Apache License, Version 2.0 (the "License");
8# you may not use this file except in compliance with the License.
9# You may obtain a copy of the License at
10#
11# http://www.apache.org/licenses/LICENSE-2.0
12#
13# Unless required by applicable law or agreed to in writing, software
14# distributed under the License is distributed on an "AS IS" BASIS,
15# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16# See the License for the specific language governing permissions and
17# limitations under the License.
18# ============LICENSE_END=========================================================
19#
20# ECOMP is a trademark and service mark of AT&T Intellectual Property.
21#
22
23query.fast-property=true
24query.smart-limit=false
25
26{{- $seed_size := default 1 .Values.global.cassandra.replicas | int -}}
Kajur, Harish (vk250x)41481c52018-04-25 16:44:35 -040027{{- $global := . }}
vagrant62ddc7d2018-03-10 23:56:32 +000028
vagrant62ddc7d2018-03-10 23:56:32 +000029storage.backend=cassandra
Kajur, Harish (vk250x)41481c52018-04-25 16:44:35 -040030storage.hostname={{- range $i, $e := until $seed_size }}{{ $global.Release.Name }}-aai-cassandra-{{ $i }},{{- end }}
vagrant62ddc7d2018-03-10 23:56:32 +000031
32storage.cassandra.keyspace=aaigraph
33
34storage.cassandra.read-consistency-level=LOCAL_QUORUM
35storage.cassandra.write-consistency-level=LOCAL_QUORUM
36storage.cassandra.replication-factor=3
37storage.cassandra.replication-strategy-class=org.apache.cassandra.locator.SimpleStrategy
38#storage.cassandra.replication-strategy-options=MTA1cass,3
39
40#schema.default=none
41storage.lock.wait-time=300
42#caching on
43cache.db-cache = true
44cache.db-cache-clean-wait = 20
45cache.db-cache-time = 180000
46cache.db-cache-size = 0.3
47
48#load graphson file on startup
49load.snapshot.file=false