Kajur, Harish (vk250x) | 41a435d | 2018-09-06 14:44:40 -0400 | [diff] [blame] | 1 | # |
| 2 | # ============LICENSE_START======================================================= |
| 3 | # Copyright © 2018 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 | query.fast-property=true |
| 19 | query.smart-limit=false |
| 20 | |
| 21 | {{ if .Values.global.config.cluster.cassandra.dynamic }} |
| 22 | |
Kajur, Harish (vk250x) | 41a435d | 2018-09-06 14:44:40 -0400 | [diff] [blame] | 23 | storage.backend=cassandra |
Mahendra Raghuwanshi | bd10dfc | 2019-03-15 12:02:42 +0000 | [diff] [blame] | 24 | storage.hostname={{.Values.global.cassandra.serviceName}} |
Kajur, Harish (vk250x) | 41a435d | 2018-09-06 14:44:40 -0400 | [diff] [blame] | 25 | storage.cassandra.keyspace=aaigraph |
mahendrr | 4741afb | 2019-05-03 08:51:40 +0000 | [diff] [blame^] | 26 | storage.username={{.Values.global.cassandra.username}} |
| 27 | storage.password={{.Values.global.cassandra.password}} |
Kajur, Harish (vk250x) | 41a435d | 2018-09-06 14:44:40 -0400 | [diff] [blame] | 28 | |
| 29 | storage.cassandra.read-consistency-level=LOCAL_QUORUM |
| 30 | storage.cassandra.write-consistency-level=LOCAL_QUORUM |
Mahendra Raghuwanshi | bd10dfc | 2019-03-15 12:02:42 +0000 | [diff] [blame] | 31 | storage.cassandra.replication-factor={{.Values.global.cassandra.replicas}} |
Kajur, Harish (vk250x) | 41a435d | 2018-09-06 14:44:40 -0400 | [diff] [blame] | 32 | storage.cassandra.replication-strategy-class=org.apache.cassandra.locator.SimpleStrategy |
| 33 | |
| 34 | {{ else }} |
| 35 | |
| 36 | {{ if .Values.global.config.storage }} |
| 37 | |
| 38 | storage.backend={{ .Values.global.config.storage.backend }} |
| 39 | |
| 40 | {{ if eq .Values.global.config.storage.backend "cassandra" }} |
| 41 | |
| 42 | storage.hostname={{ .Values.global.config.storage.hostname }} |
| 43 | storage.cassandra.keyspace={{ .Values.global.config.storage.name }} |
| 44 | |
| 45 | storage.cassandra.read-consistency-level={{ .Values.global.config.storage.cassandra.readConsistency }} |
| 46 | storage.cassandra.write-consistency-level={{ .Values.global.config.storage.cassandra.writeConsistency }} |
| 47 | storage.cassandra.replication-factor={{ .Values.global.config.storage.cassandra.replicationFactor | int }} |
| 48 | storage.cassandra.astyanax.cluster-name= {{ .Values.global.config.storage.clusterName }} |
| 49 | storage.cassandra.astyanax.local-datacenter= {{ .Values.global.config.storage.localDataCenter }} |
| 50 | |
| 51 | storage.connection-timeout={{ .Values.global.config.storage.connectionTimeout | int }} |
| 52 | cache.tx-cache-size={{ .Values.global.config.storage.cacheSize | int }} |
| 53 | log.tx.key-consistent={{ .Values.global.config.storage.keyConsistent }} |
| 54 | |
| 55 | {{ else if eq .Values.global.config.storage.backend "cql" }} |
| 56 | |
| 57 | storage.hostname={{ .Values.global.config.storage.hostname }} |
| 58 | storage.cql.keyspace={{ .Values.global.config.storage.name }} |
| 59 | |
| 60 | storage.cql.read-consistency-level={{ .Values.global.config.storage.cql.readConsistency }} |
| 61 | storage.cql.write-consistency-level={{ .Values.global.config.storage.cql.readConsistency }} |
| 62 | storage.cql.replication-factor={{ .Values.global.config.storage.cql.replicationFactor | int }} |
| 63 | |
| 64 | storage.cql.only-use-local-consistency-for-system-operations={{ .Values.global.config.storage.cql.localConsistencyForSysOps }} |
| 65 | storage.cql.cluster-name={{ .Values.global.config.storage.clusterName }} |
| 66 | storage.cql.local-datacenter={{ .Values.global.config.storage.localDataCenter }} |
| 67 | |
| 68 | storage.connection-timeout={{ .Values.global.config.storage.connectionTimeout | int }} |
| 69 | cache.tx-cache-size={{ .Values.global.config.storage.cacheSize | int }} |
| 70 | log.tx.key-consistent={{ .Values.global.config.storage.keyConsistent }} |
| 71 | |
| 72 | {{ else if eq .Values.global.config.storage.backend "hbase" }} |
| 73 | |
| 74 | storage.hostname={{ .Values.global.config.storage.hostname }} |
| 75 | storage.hbase.table={{ .Values.global.config.storage.name }} |
| 76 | |
| 77 | storage.connection-timeout={{ .Values.global.config.storage.connectionTimeout | int }} |
| 78 | cache.tx-cache-size={{ .Values.global.config.storage.cacheSize | int }} |
| 79 | log.tx.key-consistent={{ .Values.global.config.storage.keyConsistent }} |
| 80 | |
| 81 | {{ end }} |
| 82 | |
| 83 | {{ end }} |
| 84 | |
| 85 | {{ end }} |
| 86 | |
| 87 | storage.lock.wait-time=300 |
| 88 | # Setting db-cache to false ensure the fastest propagation of changes across servers |
| 89 | cache.db-cache = false |
| 90 | #load graphson file on startup |
| 91 | load.snapshot.file=false |