Functional Configurations
sunbird_username_num_digits=4
download_link_expiry_timeout=300
sunbird_default_country_code=+91
sunbird_encryption_key=SunBird
sunbird_encryption=ON
sunbird_otp_allowed_attempt=2
Bulk Upload Config
#size of bulk upload data is 1001 including header in csv file
sunbird_user_bulk_upload_size=1001
bulk_upload_org_data_size=300
# Bulk upload file max size in MB
file_upload_max_size=10
Batch Service Config
# Batch size for cassandra batch operation
cassandra_write_batch_size=100
OTP Config
sunbird_otp_expiration=1800
sunbird_otp_length=6
sunbird_otp_hour_rate_limit=5
sunbird_otp_day_rate_limit=20
Other Config
managed_user_limit=30
sunbird_api_request_lower_case_fields=source,externalId,userName,provider,loginId,email,prevUsedEmail
sunbird_rate_limit_enabled=true
sunbird_health_check_enable=true
sunbird_sync_read_wait_time=1500
sunbird_gzip_size_threshold=262144
sunbird_fuzzy_search_threshold=0.5
ekstep_authorization=
JSON Key | Key | Default Value |
---|---|---|
ENV_NAME | ENV_NAME | sunbirdstaging |
PORTAL_SERVICE_PORT | PORTAL_SERVICE_PORT | http://player.staging.svc.cluster.local:3000 |
SUNBIRD_KAFKA_URL | sunbird_KAFKA_URL | 11.3.2.16:9092,11.3.2.15:9092,11.3.2.14:9092 |
| accesstoken.publickey.basepath | /keys/ |
| api_actor_provider | local (off) |
| background_actor_provider | local (remote) |
EKSTEP_BASE_URL | ekstep_api_base_url | http://11.3.3.22:8080/learning-service |
EKSTEP_AUTHORIZATION | ekstep_authorization | eg: public_key |
| feed_limit | 30 |
FORM_API_ENDPOINT | form_api_endpoint | /plugin/v1/form/read |
GOOGLE_CAPTCHA_PRIVATE_KEY | google_captcha_mobile_private_key | eg: mbl_private_key |
GOOGLE_CAPTCHA_PRIVATE_KEY | google_captcha_private_key | eg: private_key |
SUNBIRD_KAFKA_URL | kafka_urls | 11.3.2.16:9092,11.3.2.15:9092,11.3.2.14:9092 |
learner_in_memory_cache_ttl | 600 | |
NOTIFICATION_SERVICE_BASE_URL | notification_service_base_url | http://notification-service:9000 |
| org_index_alias | org_alias |
| quartz_shadow_user_migration_timer | 0 0/10 * 1/1 * ? * |
ACCOUNT_KEY | sunbird_account_key | eg: key |
ACCOUNT_NAME | sunbird_account_name | sunbirdstagingpublic |
ANALYTICS_API_BASE_URL | sunbird_analytics_api_base_url | http://analytics-service.staging.svc.cluster.local:9000 |
ANALYTICS_ACCOUNT_KEY | sunbird_analytics_blob_account_key | eg: key |
ANALYTICS_ACCOUNT_NAME | sunbird_analytics_blob_account_name | sunbirdstagingprivate |
SUNBIRD_API_BASE_URL | sunbird_api_base_url | http://knowledge-mw-service:5000 |
SUNBIRD_AUTHORIZATION | sunbird_authorization | eg: key |
sunbird_badger_baseurl | http://badger-service:8004 | |
SUNBIRD_CASSANDRA_CONSISTENCY_LEVEL | sunbird_cassandra_consistency_level | quorum |
SUNBIRD_CASSANDRA_IP | sunbird_cassandra_host | 11.3.2.4,11.3.2.5,11.3.2.6 |
| sunbird_cassandra_password | password |
| sunbird_cassandra_port | 9042, 9042, 9042 |
| sunbird_cassandra_username | cassandra |
| sunbird_default_channel | ntp |
SUNBIRD_EMAIL_MAX_RECEPIENT_LIMIT | sunbird_email_max_recipients_limit | 100 |
ENCRYPTION_KEY | sunbird_encryption_key | eg: key |
| sunbird_encryption_mode | local |
SUNBIRD_ENV_LOGO_URL | sunbird_env_logo_url | https://staging.sunbirded.org/tenant/ntp/logo.png |
SUNBIRD_ES_IP | sunbird_es_host | 11.3.2.811.3.2.8,11.3.2.9,11.3.2.10 |
SUNBIRD_ES_PORT | sunbird_es_port | 9300,9300,93009300 |
SUNBIRD_FUZZY_SEARCH_THRESHOLD | sunbird_fuzzy_search_threshold | 0.5 |
SUNBIRD_HEALTH_CHECK_ENABLE | sunbird_health_check_enable | false |
SUNBIRD_INSTALLATION | sunbird_installation | sunbird_Stage |
SUNBIRD_INSTALLATION_DISPLAY_NAME | sunbird_installation_display_name_for_sms | DIKSHA |
| sunbird_installation_email | dummy@dummy.org |
SUNBIRD_KEYCLOAK_LINK_EXPIRATION_TIME | sunbird_keycloak_required_action_link_expiration_seconds | 2592000 |
SUNBIRD_KEYCLOAK_USER_FEDERATION_PROVIDER_ID | sunbird_keycloak_user_federation_provider_id | eg: id |
EMAIL_SERVER_FROM | sunbird_mail_server_from_email | support@staging.sunbirded.org |
EMAIL_SERVER_HOST | sunbird_mail_server_host | smtp.sendgrid.net |
EMAIL_SERVER_PASSWORD | sunbird_mail_server_password | eg: password |
EMAIL_SERVER_PORT | sunbird_mail_server_port | 587 |
EMAIL_SERVER_USERNAME | sunbird_mail_server_username | apikey |
| sunbird_msg_91_auth | eg: key |
| sunbird_msg_sender | DKSAPP |
| sunbird_mw_system_host | learner-service |
| sunbird_mw_system_port | 8088 |
SUNBIRD_OTP_ALLOWED_ATTEMPT | sunbird_otp_allowed_attempt | 2 |
SUNBIRD_OTP_EXPIRATION | sunbird_otp_expiration | 1800 |
SUNBIRD_OTP_LENGTH | sunbird_otp_length | 6 |
| sunbird_pg_db | quartz |
| sunbird_pg_host | staging-pg11.postgres.database.azure.com |
| sunbird_pg_password | eg: password |
| sunbird_pg_port | 5432 |
| sunbird_pg_user | sunbirdstaging@staging-pg11 |
| sunbird_quartz_mode | cluster |
| sunbird_remote_bg_req_router_path | akka.tcp://SunbirdMWSystem@actor-service:8088/user/BackgroundRequestRouter |
| sunbird_remote_req_router_path | akka.tcp://SunbirdMWSystem@actor-service:8088/user/RequestRouter |
| sunbird_reset_pass_msg | You have requested to reset password. Click on the link to set a password: {0} |
SUNBIRD_SSO_CLIENT_ID | sunbird_sso_client_id | lms |
SUNBIRD_SSO_CLIENT_SECRET | sunbird_sso_client_secret | eg: key |
SUNBIRD_SSO_LB_IP | sunbird_sso_lb_ip | http://11.3.0.17 |
SUNBIRD_SSO_PASSWORD | sunbird_sso_password | eg: password |
SSO_PUBLIC_KEY | sunbird_sso_publickey | eg: key |
SSO_REALM | sunbird_sso_realm | sunbird |
SSO_URL | sunbird_sso_url | https://staging.sunbirded.org/auth/ |
SSO_USERNAME | sunbird_sso_username | sunbird-staging-new-admin |
SUNBIRD_SUBDOMAIN_KEYCLOAK_BASE_URL | sunbird_subdomain_keycloak_base_url | https://merge.staging.sunbirded.org/auth/ |
sunbird_url_shortner_access_token | eg: token | |
SUNBIRD_URL_SHORTNER_ENABLE | sunbird_url_shortner_enable | True |
BULK_UPLOAD_USER_DATA_SIZE | sunbird_user_bulk_upload_size | 1001 |
SUNBIRD_USER_CERT_KAFKA_TOPIC | sunbird_user_cert_kafka_topic | sunbirdstaging.lms.user.account.merge |
SUNBIRD_WEB_URL | sunbird_web_url | https://staging.sunbirded.org |
PDATA_ID | telemetry_pdata_id | staging.sunbird.learning.service |
PDATA_PID | telemetry_pdata_pid | learner-service |
| user_index_alias | user_alias |
Key | Default Value |
---|---|
ACCESS_TOKEN_VALIDITY | 86400 |
AM_ADMIN_API_ACCESS_BASEPATH | /keys/ |
AM_ADMIN_API_ACCESS_KEYCOUNT | 10 |
AM_ADMIN_API_ACCESS_KEYPREFIX | accessv1_key |
AM_ADMIN_API_ACCESS_KEYSTART | 1 |
AM_ADMIN_API_DESKTOP_DEVICE_BASEPATH | /keys/ |
AM_ADMIN_API_DESKTOP_DEVICE_KEYCOUNT | 10 |
AM_ADMIN_API_DESKTOP_DEVICE_KEYPREFIX | desktop_devicev2_key |
AM_ADMIN_API_DESKTOP_DEVICE_KEYSTART | 1 |
AM_ADMIN_API_ENDPOINT | http://kong.staging.svc.cluster.local:8001 |
AM_ADMIN_API_KEYS | mobile_device,desktop_device,portal_anonymous,portal_loggedin,access |
AM_ADMIN_API_MOBILE_DEVICE_BASEPATH | /keys/ |
AM_ADMIN_API_MOBILE_DEVICE_KEYCOUNT | 10 |
AM_ADMIN_API_MOBILE_DEVICE_KEYPREFIX | mobile_devicev2_key |
AM_ADMIN_API_MOBILE_DEVICE_KEYSTART | 11 |
AM_ADMIN_API_PORTAL_ANONYMOUS_BASEPATH | /keys/ |
AM_ADMIN_API_PORTAL_ANONYMOUS_KEYCOUNT | 10 |
AM_ADMIN_API_PORTAL_ANONYMOUS_KEYPREFIX | portal_anonymous_key |
AM_ADMIN_API_PORTAL_ANONYMOUS_KEYSTART | 1 |
AM_ADMIN_API_PORTAL_LOGGEDIN_BASEPATH | /keys/ |
AM_ADMIN_API_PORTAL_LOGGEDIN_KEYCOUNT | 10 |
AM_ADMIN_API_PORTAL_LOGGEDIN_KEYPREFIX | portal_loggedin_key |
AM_ADMIN_API_PORTAL_LOGGEDIN_KEYSTART | 1 |
DEFAULT_CONSUMER_GROUP | contentUser |
EMBED_ROLE | true |
ENDPOINTS_HEALTH_ID | apihealth |
ENDPOINTS_HEALTH_SENSITIVE | false |
ENDPOINTS_METRICS_ID | metrics |
ENDPOINTS_METRICS_SENSITIVE | false |
JAVA_OPTS | -Xms256m -Xmx256m |
LEARNER_API_AUTH_KEY | eg: key |
LEARNER_BASE_API_URL | http://kong:8000 |
REFRESH_TOKEN_DOMAIN | https://staging.sunbirded.org/auth/realms/sunbird |
REFRESH_TOKEN_KID | eg: token |
REFRESH_TOKEN_LOG_OLDER_THAN | 30 |
REFRESH_TOKEN_OFFLINE_VALIDITY | 15552000 |
REFRESH_TOKEN_PRELOAD | true |
REFRESH_TOKEN_PUBLIC_BASEPATH | /keys/ |
REFRESH_TOKEN_PUBLIC_KEYPREFIX | refresh_token_public_key |
REFRESH_TOKEN_SECRET_KEY | eg:key |
SERVER_PORT | 4000 |
SPRING_PROFILES_ACTIVE | production |
Last updated