blob: dd5c3eed6674926a9ab682205a23ec2eb0bdf3d1 [file] [log] [blame]
vagrant1a3a3552018-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 -}}
27{{- $global := . }}
28
29# the following parameters are not reloaded automatically and require a manual bounce
30storage.backend=cassandra
31storage.hostname={{- range $i, $e := until $seed_size }}{{ $global.Release.Name }}-aai-cassandra-{{ $i }},{{- end }}
32
33storage.cassandra.keyspace=aaigraph
34
35storage.cassandra.read-consistency-level=LOCAL_QUORUM
36storage.cassandra.write-consistency-level=LOCAL_QUORUM
37storage.cassandra.replication-factor=3
38storage.cassandra.replication-strategy-class=org.apache.cassandra.locator.SimpleStrategy
39#storage.cassandra.replication-strategy-options=MTA1cass,3
40
41#schema.default=none
42storage.lock.wait-time=300
43#caching on
44cache.db-cache = true
45cache.db-cache-clean-wait = 20
46cache.db-cache-time = 180000
47cache.db-cache-size = 0.3
48
49#load graphson file on startup
50load.snapshot.file=false