forked from gandham-santhosh/test-repo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.sample
151 lines (114 loc) · 4.42 KB
/
.env.sample
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
# Service Config
HOST = localhost
PORT = 4201
LOG = debug
NODE_ENV = 'development'
# Setting to turn on/off debug
ENABLE_DEBUG_LOGGING = "ON/OFF"
# Setting to turn on/off bunyan logger service
ENABLE_BUNYAN_LOGGING = "ON/OFF"
# Setting for custom request timeout for reports
REQUEST_TIMEOUT_FOR_REPORTS = 600000
APPLICATION_BASE_URL = "/assessment/"
MOBILE_APPLICATION_APP_TYPE = "assessment"
APPLICATION_BASE_HOST = "https://devhome.shikshalokam.org"
SHIKSHALOKAM_USER_PROFILE_FETCH_ENDPOINT = "/api/user/v1/read"
AUTHORIZATION = "Server authorization code"
#Cloud Storage Configuration
CLOUD_STORAGE = "AWS/GC/AZURE" // Cloud storage provider.
# Google Cloud Configuration
GCP_PATH = "./generics/helpers/credentials/sl-dev-storage.json"
GCP_BUCKET_NAME = "gcp bucket name"
# Azure Cloud Configuration
AZURE_ACCOUNT_NAME = ""
AZURE_ACCOUNT_KEY = ""
AZURE_STORAGE_CONTAINER = ""
# AWS Cloud Configuration
AWS_ACCESS_KEY_ID = "AK...........WA"
AWS_SECRET_ACCESS_KEY = "QB......................9sB"
AWS_BUCKET_NAME = "aws bucket name"
AWS_BUCKET_REGION = "ap-south-1"
AWS_BUCKET_ENDPOINT = "s3.ap-south-1.amazonaws.com"
MONGODB_URL = mongodb://localhost:27017
SHIKSHALOKAM_BASE_HOST = "dev.shikshalokam.org"
DB = "sl-assessment"
# For reports generation.
INTERNAL_ACCESS_TOKEN = "Internal access token to access reports"
# Auth Config
sunbird_keycloak_auth_server_url="https://dev.shikshalokam.org/auth"
sunbird_keycloak_realm="sunbird"
sunbird_keycloak_client_id="portal"
sunbird_keycloak_public=true
sunbird_cache_store="memory"
sunbird_cache_ttl=1800
# Setting for migrations
MIGRATION_COLLECTION = "migrations"
MIGRATION_DIR = "migrations"
# Slack Configuration
SLACK_COMMUNICATIONS_ON_OFF = "OFF"
SLACK_EXCEPTION_LOG_URL = ""
SLACK_TOKEN = ""
RUBRIC_ERROR_MESSAGES_TO_SLACK = "ON/OFF"
# CSV Config
# Create the respective directory as provided in the path below.
CSV_REPORTS_PATH = "./public/reports"
# Disable token check
DISABLE_TOKEN_CHECK_ON_OFF = "ON/OFF"
DISABLE_TOKEN_CHECK_FOR_API = "endpoint1,endpoint2"
DISABLE_TOKEN_endpoint1_USERS = "comma-seperated-userIds-for-multiple-values"
DISABLE_TOKEN_endpoint2_USERS = "comma-seperated-userIds-for-multiple-values"
DISABLE_TOKEN_DEFAULT_USERID = "DISABLE_TOKEN_CHECK_DEFAULT_USERID"
DISABLE_TOKEN_DEFAULT_USER_ROLE = "ASSESSOR"
DISABLE_TOKEN_DEFAULT_USER_NAME = "DISABLE_TOKEN_CHECK_DEFAULT_USER_NAME"
DISABLE_TOKEN_DEFAULT_USER_EMAIL = "DISABLE_TOKEN_CHECK_DEFAULT_USER_EMAIL"
# Disable learner service check
DISABLE_LEARNER_SERVICE_ON_OFF = "OFF"
# Kafka Configuration
KAFKA_COMMUNICATIONS_ON_OFF = "ON/OFF"
KAFKA_URL = "100.0.0.1:9092" // IP address of kafka server with port without HTTP
COMPLETED_SUBMISSION_TOPIC = "OFF/TOPIC_NAME"
INCOMPLETE_SUBMISSION_TOPIC = "OFF/TOPIC_NAME"
SUBMISSION_RATING_QUEUE_TOPIC = "OFF/TOPIC_NAME"
COMPLETED_OBSERVATION_SUBMISSION_TOPIC = "OFF/TOPIC_NAME"
INCOMPLETE_OBSERVATION_SUBMISSION_TOPIC = "OFF/TOPIC_NAME"
NOTIFICATIONS_TOPIC = "OFF/TOPIC_NAME"
COMPLETED_SURVEY_SUBMISSION_TOPIC = "OFF/TOPIC_NAME"
INCOMPLETE_SURVEY_SUBMISSION_TOPIC = "OFF/TOPIC_NAME"
KAFKA_ERROR_MESSAGES_TO_SLACK = "ON/OFF"
KAFKA_GROUP_ID = ""
# Email Configuration
EMAIL_COMMUNICATIONS_ON_OFF = "ON/OFF"
EMAIL_SERVICE_BASE_URL = "" // Complete URL for email service endpoint.
EMAIL_SERVICE_TOKEN = "" // Token for sending email
SUBMISSION_RATING_DEFAULT_EMAIL_RECIPIENTS = "" // Comma separated multiple emails
DEFAULT_USER_ID = "" // user id.
# Default User Organisations - Used for migrations only
USER_DEFAULT_ROOT_ORGANISATION = "0125747659358699520"
USER_DEFAULT_ORGANISATION = "0125747659358699520,0126189555108741123"
# CASSANDRA DATABASE CONFIGURATION
CASSANDRA_HOST = ""
CASSANDRA_PORT = ""
CASSANDRA_DB = ""
# Elastic search configurations
ELASTICSEARCH_COMMUNICATIONS_ON_OFF = ""
ELASTICSEARCH_HOST_URL = ""
ELASTIC_SEARCH_REQUEST_TIMEOUT = ""
ELASTIC_SEARCH_MAX_RETRIES = ""
ELASTIC_SEARCH_SNIFF_ON_START = ""
ELASTICSEARCH_USER_EXTENSION_INDEX = ""
# KENDRA SERVICE
KENDRA_APPLICATION_ENDPOINT = ""
KENDRA_BASE_URL = ""
ELASTICSEARCH_ENTITIES_INDEX = ""
PUBLIC_FOLDER_PATH = "public"
APP_PORTAL_BASE_URL = ""
# OFFLINE TOKEN VALIDATION
VALIDATE_ACCESS_TOKEN_OFFLINE = "ON/OFF"
KEYCLOAK_PUBLIC_KEY_PATH = "keycloak-public-keys"
# PUSH SUBMISSION IN IMPROVEMENT SERVICE
IMPROVEMENT_PROJECT_SUBMISSION_TOPIC = ""
URL_PREFIX = "api/v1"
USE_USER_ORGANISATION_ID_FILTER = ""
# IMPROVEMENT PROJECT SERVICE
IMPROVEMENT_PROJECT_HOST = "http://localhost:4004"
IMPROVEMENT_PROJECT_BASE_URL = "/improvement-project/"