-
Notifications
You must be signed in to change notification settings - Fork 20
/
TEMPLATE.testing.env
32 lines (22 loc) · 1.17 KB
/
TEMPLATE.testing.env
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
export TEST_DB_MODE="ASTRA_DB" # "ASTRA_DB" / "TESTCONTAINERS_CASSANDRA" / "LOCAL_CASSANDRA"
########################################
### needed when TEST_DB_MODE=ASTRA_DB ##
########################################
export ASTRA_DB_SECURE_BUNDLE_PATH="/path/to/scb.zip"
export ASTRA_DB_APPLICATION_TOKEN="AstraCS:blablabla"
export ASTRA_DB_KEYSPACE="cassio_tutorials"
export ASTRA_DB_ID="ffffffff-ffff-ffff-ffff-ffffffffffff"
# for testing the init-string init() method.
# Create this with `cassio-create-init-string <bundle file> <keyspace> <token>`
export ASTRA_DB_INIT_STRING="(a very long random-looking string...)"
###############################################
### needed when TEST_DB_MODE=LOCAL_CASSANDRA ##
###############################################
# export CASSANDRA_USERNAME="cassandra" # (optional)
# export CASSANDRA_PASSWORD="cassandra" # (optional)
# export CASSANDRA_CONTACT_POINTS="192.168.0.1,192.168.0.2" # (optional)
export CASSANDRA_KEYSPACE="cassio_tutorials"
########################################################
### needed when TEST_DB_MODE=TESTCONTAINERS_CASSANDRA ##
########################################################
# No environment variables.