11{
2- "behh_test_scylladb":
2+ "keyspace": "scope_behh_test",
3+ // 0:undefined 1:SimpleStrategy 2:NetworkTopologyStrategy 3:LocalStrategy 4:EverywhereStrategy
4+ "strategy": 3,
5+ "connection":
36 {
4- "keyspace": "behh_test_scylladb",
5- // 0:undefined 1:SimpleStrategy 2:NetworkTopologyStrategy 3:LocalStrategy 4:EverywhereStrategy
6- "strategy": 3,
7- "connection":
8- {
9- // 0:undefined 1:AllowAllAuthenticator 2:PasswordAuthenticator 3:com.scylladb.auth.TransitionalAuthenticator
10- "auth": 2,
11- "hosts":
12- [
13- "127.0.0.1"
14- ],
15- // CHANGE_THIS_IF_REQUIRED_OR_LET_IT_EMPTY
16- "username": "",
17- // CHANGE_THIS_IF_REQUIRED_OR_LET_IT_EMPTY
18- "password": ""
19- },
20- "factors_configs": // array index is set by strategy
7+ // 0:undefined 1:AllowAllAuthenticator 2:PasswordAuthenticator 3:com.scylladb.auth.TransitionalAuthenticator
8+ "auth": 2,
9+ "hosts":
2110 [
22- // expected for: undefined
23- [
24- ""
25- ],
26- // expected for: SimpleStrategy
27- [
28- "'replication_factor': 3"
29- ],
30- // expected for: NetworkTopologyStrategy
31- [
32- "'replication_factor': 1"
33- ],
34- // expected for: LocalStrategy
35- [
36- "'replication_factor': 3"
37- ],
38- // expected for: EverywhereStrategy
39- [
40- "'replication_factor': 3"
41- ]
11+ "127.0.0.1"
4212 ],
43- // if true, factors_configs_extra will be use
44- // replication factor need to be specific across datacenter/s
45- "multiple_datacenters": false,
46- // will ignore if length is 0 & only applied with multiple data center
47- "factors_configs_extra": "'dc1': 3, 'dc2': 3, 'dc3': 3"
48- }
49- }
13+ // CHANGE_THIS_IF_REQUIRED_OR_LET_IT_EMPTY
14+ "username": "",
15+ // CHANGE_THIS_IF_REQUIRED_OR_LET_IT_EMPTY
16+ "password": ""
17+ },
18+ "factors_configs": // array index is set by strategy
19+ [
20+ // expected for: undefined
21+ [
22+ ""
23+ ],
24+ // expected for: SimpleStrategy
25+ [
26+ "'replication_factor': 3"
27+ ],
28+ // expected for: NetworkTopologyStrategy
29+ [
30+ "'replication_factor': 1"
31+ ],
32+ // expected for: LocalStrategy
33+ [
34+ "'replication_factor': 3"
35+ ],
36+ // expected for: EverywhereStrategy
37+ [
38+ "'replication_factor': 3"
39+ ]
40+ ],
41+ // if true, factors_configs_extra will be use
42+ // replication factor need to be specific across datacenter/s
43+ "multiple_datacenters": false,
44+ // will ignore if length is 0 & only applied with multiple data center
45+ "factors_configs_extra": "'dc1': 3, 'dc2': 3, 'dc3': 3"
46+ }
0 commit comments