-
Notifications
You must be signed in to change notification settings - Fork 6
/
.env.example
27 lines (27 loc) · 1.8 KB
/
.env.example
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
# This is the configuration file used while running tests `npm run test`.
# If DATA_API_URI is set, then the tests will run against the Data API.
# The token can be passed as part of the URL or as part of the connection options
# OR we can pass STARGATE_AUTH_URL, STARGATE_USERNAME and STARGATE_PASSWORD to authenticate against the Auth API.
############################ IMPORTAN ###########################################
# WARNING : INTEGRATION WITH ASTRADB IS EXPERIMENTAL AND NOT SUPPORTED YET. #
#################################################################################
# If ASTRA_URI is set, then the tests will run against Astra.
# The token can be passed as part of the URL or as part of the connection options
# OR we can pass STARGATE_AUTH_URL, STARGATE_USERNAME and STARGATE_PASSWORD to authenticate against the Auth API.
# When both DATA_API_URI and ASTRA_URI are set, the tests will run against both.
# Data API URL.
# Format : http[s]://${baseUrl}/${baseAPIPath}/${keyspace}?applicationToken=${applicationToken}
# Example : http://localhost:8181/v1/testks1
# baseUrl - http://localhost:8181
# baseAPIPath - v1 (optional)
# keyspaceName - testks1 (must be part of the URL, as the last path component)
# applicationToken - Query parameter. This can be passed as part of the URL or as part of the connection options
DATA_API_URI=http://localhost:8181/v1/testks1
# Stargate Authentication username.
STARGATE_USERNAME=cassandra
# Stargate Authentication password.
STARGATE_PASSWORD=cassandra
# ASTRA URI
# For example : https://64c2aea9-0390-4ae0-bf5e-f41ad360d340-eu-west-1.apps.astra-test.datastax.com/api/json/v1/json_store?applicationToken=AstraCS:asdasdsadasas:sagdafgdasdsadsadasdas
# where json_store is the keyspace name and applicationToken is the token generated from Astra UI.
ASTRA_URI=