vagrant | 1a3a355 | 2018-03-10 23:56:32 +0000 | [diff] [blame] | 1 | # |
| 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 | |
| 23 | query.fast-property=true |
| 24 | query.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 |
| 30 | storage.backend=cassandra |
| 31 | storage.hostname={{- range $i, $e := until $seed_size }}{{ $global.Release.Name }}-aai-cassandra-{{ $i }},{{- end }} |
| 32 | |
| 33 | storage.cassandra.keyspace=aaigraph |
| 34 | |
| 35 | storage.cassandra.read-consistency-level=LOCAL_QUORUM |
| 36 | storage.cassandra.write-consistency-level=LOCAL_QUORUM |
| 37 | storage.cassandra.replication-factor=3 |
| 38 | storage.cassandra.replication-strategy-class=org.apache.cassandra.locator.SimpleStrategy |
| 39 | #storage.cassandra.replication-strategy-options=MTA1cass,3 |
| 40 | |
| 41 | #schema.default=none |
| 42 | storage.lock.wait-time=300 |
| 43 | #caching on |
| 44 | cache.db-cache = true |
| 45 | cache.db-cache-clean-wait = 20 |
| 46 | cache.db-cache-time = 180000 |
| 47 | cache.db-cache-size = 0.3 |
| 48 | |
| 49 | #load graphson file on startup |
| 50 | load.snapshot.file=false |