forked from project-sunbird/ml-survey-service
-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy path.env.sample
43 lines (30 loc) · 3.13 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
# ML Survey Service Config
APPLICATION_PORT = 3000 // Application port number
APPLICATION_ENV = 'development' // Application running enviornment
# Setting for custom request timeout for reports
MONGODB_URL = mongodb://localhost:27017/sl-assessment // Mongodb connection url
USER_SERVICE_URL = "http://user-service:3000" // Base url of the sunbird enviornment
INTERNAL_ACCESS_TOKEN = "Internal access token to access reports" // Internal access token for accessing Admin specific APIs
# Kafka Configuration
KAFKA_COMMUNICATIONS_ON_OFF = "ON/OFF" // Kafka enable or disable communication flag
KAFKA_URL = "100.0.0.1:9092" // IP address of kafka server with port without HTTP
SUBMISSION_RATING_QUEUE_TOPIC = "dev.sl.submission.rating.raw" // Kafka topic name for pushing submissions for which rating has to be done.
COMPLETED_SURVEY_SUBMISSION_TOPIC = "dev.sl.survey.raw" // Kafka topic name for completed survey submission
INCOMPLETE_SURVEY_SUBMISSION_TOPIC = "dev.sl.incomplete.survey.raw" // Kafka topic name for incomplete survey submission
KAFKA_GROUP_ID = "survey" // Kafka consumer group for ML Survey Service
IMPROVEMENT_PROJECT_SUBMISSION_TOPIC = "dev.sl.improvement.project.submission" // Kafka topic name for pushing project submission related data
OBSERVATION_SUBMISSION_TOPIC = "dev.sl.observation.raw" // Kafka topic name for pushing observation submission
# ML Core Service
ML_CORE_SERVICE_URL = "http://ml-core-service:3000" // ML Core Service URL
# IMPROVEMENT PROJECT SERVICE
ML_PROJECT_SERVICE_URL = "http://ml-project-service:3000" // Project Service URL
KEYCLOAK_PUBLIC_KEY_PATH = "keycloak-public-keys" // Keycloak public keys path
DISABLE_LEARNER_SERVICE_ON_OFF = "ON" // Disable learner service check
FORM_SERVICE_URL = "http://player:3000" // Base url for form search
USER_DELETE_ON_OFF = ON/OFF // enable/disable user delete flow
USER_DELETE_TOPIC = {{env_name}}.delete.user // Topic name for user delete event consumer
ID = ID = {{env_name}}.{{sunbird_instance}}.ml.core.service // ID of service
TELEMETRY_ON_OFF = ON/OFF // telemetry service on off
TELEMETRY_TOPIC = {{env_name}}.telemetry.raw
VALIDATE_ENTITIES = "ON/OFF" // validate entities enable and disable
PROGRAM_JOIN_ON_OFF = "ON/OFF" // Program Join Feature enable and disable