[AAI] Reintegrate AAI OOM charts in main repo
[oom.git] / kubernetes / aai / components / aai-graphadmin / resources / config / migration / janusgraph-migration-real.properties
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 eq .Values.global.jobs.migration.remoteCassandra.enabled false }}
22
23 storage.backend=cql
24 storage.hostname={{ .Values.global.cassandra.existingInstServiceName | default .Values.global.cassandra.serviceName }}
25 storage.cql.keyspace=aaigraph
26 storage.username={{.Values.global.cassandra.username}}
27 storage.password={{.Values.global.cassandra.password}}
28
29 storage.cql.read-consistency-level=LOCAL_QUORUM
30 storage.cql.write-consistency-level=LOCAL_QUORUM
31 storage.cql.replication-factor={{.Values.global.cassandra.replicas}}
32 storage.cql.only-use-local-consistency-for-system-operations=true
33 {{- else }}
34 {{- if .Values.global.jobs.migration.remoteCassandra.storage }}
35 storage.backend={{ .Values.global.jobs.migration.remoteCassandra.storage.backend }}
36 storage.hostname={{ .Values.global.jobs.migration.remoteCassandra.storage.hostname }}
37 {{- if eq .Values.global.jobs.migration.remoteCassandra.storage.backend "cassandra" }}
38 storage.cassandra.keyspace={{ .Values.global.jobs.migration.remoteCassandra.storage.name }}
39 storage.cassandra.read-consistency-level={{ .Values.global.jobs.migration.remoteCassandra.storage.cassandra.readConsistency }}
40 storage.cassandra.write-consistency-level={{ .Values.global.jobs.migration.remoteCassandra.storage.cassandra.writeConsistency }}
41 storage.cassandra.replication-factor={{ .Values.global.jobs.migration.remoteCassandra.storage.cassandra.replicationFactor | int }}
42 storage.cassandra.replication-strategy-class=org.apache.cassandra.locator.SimpleStrategy
43
44 {{- else if eq .Values.global.jobs.migration.remoteCassandra.storage.backend "cql" }}
45 storage.cql.keyspace={{ .Values.global.jobs.migration.remoteCassandra.storage.name }}
46 storage.cql.read-consistency-level={{ .Values.global.jobs.migration.remoteCassandra.storage.cql.readConsistency }}
47 storage.cql.write-consistency-level={{ .Values.global.jobs.migration.remoteCassandra.storage.cql.readConsistency }}
48 storage.cql.replication-factor={{ .Values.global.jobs.migration.remoteCassandra.storage.cql.replicationFactor | int }}
49 storage.cql.only-use-local-consistency-for-system-operations={{ .Values.global.jobs.migration.remoteCassandra.storage.cql.localConsistencyForSysOps }}
50 storage.cql.cluster-name={{ .Values.global.jobs.migration.remoteCassandra.storage.cql.clusterName }}
51 storage.cql.local-datacenter={{ .Values.global.jobs.migration.remoteCassandra.storage.cql.localDataCenter }}
52
53 {{- else if eq .Values.global.jobs.migration.remoteCassandra.storage.backend "hbase" }}
54 storage.hbase.table={{ .Values.global.jobs.migration.remoteCassandra.storage.name }}
55 {{- end }}
56 storage.connection-timeout={{ .Values.global.jobs.migration.remoteCassandra.storage.connectionTimeout | int }}
57 cache.tx-cache-size={{ .Values.global.jobs.migration.remoteCassandra.storage.cacheSize | int }}
58 log.tx.key-consistent={{ .Values.global.jobs.migration.remoteCassandra.storage.keyConsistent }}
59 {{- end }}
60 {{- end }}
61 storage.lock.wait-time=300
62 # Setting db-cache to false ensure the fastest propagation of changes across servers
63 cache.db-cache = false
64 #load graphson file on startup
65 load.snapshot.file=false