d8f6f71f80b74877d4d63c01bd7626945f361419
[oom.git] / kubernetes / aai / charts / aai-resources / resources / config / janusgraph-realtime.properties
1 #
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
21 query.fast-property=true
22 query.smart-limit=false
23
24 {{- $seed_size := default 1 .Values.global.cassandra.replicas | int -}}
25 {{- $global := . }}
26
27 # the following parameters are not reloaded automatically and require a manual bounce
28 storage.backend=cassandra
29 storage.hostname={{- range $i, $e := until $seed_size }}{{ $global.Release.Name }}-{{$global.Values.global.cassandra.serviceName}}-{{ $i }}.{{$global.Values.global.cassandra.serviceName}},{{- end }}
30 storage.cassandra.keyspace=aaigraph
31
32 storage.cassandra.read-consistency-level=LOCAL_QUORUM
33 storage.cassandra.write-consistency-level=LOCAL_QUORUM
34 storage.cassandra.replication-factor=3
35 storage.cassandra.replication-strategy-class=org.apache.cassandra.locator.SimpleStrategy
36 #storage.cassandra.replication-strategy-options=MTA1cass,3
37
38 #schema.default=none
39 storage.lock.wait-time=300
40 # Setting db-cache to false ensure the fastest propagation of changes across servers
41 cache.db-cache = false
42
43 #load graphson file on startup
44 load.snapshot.file=false