vagrant | 62ddc7d | 2018-03-10 23:56:32 +0000 | [diff] [blame] | 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 |
BorislavG | 20dcf41 | 2018-05-13 17:11:01 +0000 | [diff] [blame] | 29 | storage.hostname={{- range $i, $e := until $seed_size }}{{ $global.Release.Name }}-{{$global.Values.global.cassandra.serviceName}}-{{ $i }}.{{$global.Values.global.cassandra.serviceName}},{{- end }} |
vagrant | 62ddc7d | 2018-03-10 23:56:32 +0000 | [diff] [blame] | 30 | |
| 31 | storage.cassandra.keyspace=aaigraph |
| 32 | |
| 33 | storage.cassandra.read-consistency-level=LOCAL_QUORUM |
| 34 | storage.cassandra.write-consistency-level=LOCAL_QUORUM |
| 35 | storage.cassandra.replication-factor=3 |
| 36 | storage.cassandra.replication-strategy-class=org.apache.cassandra.locator.SimpleStrategy |
| 37 | #storage.cassandra.replication-strategy-options=MTA1cass,3 |
| 38 | |
| 39 | #schema.default=none |
| 40 | storage.lock.wait-time=300 |
| 41 | # Setting db-cache to false ensure the fastest propagation of changes across servers |
| 42 | cache.db-cache = false |
| 43 | |
| 44 | #load graphson file on startup |
| 45 | load.snapshot.file=false |