📙
Sunbird Lern
AskDot
  • LEARN
    • Overview
    • Functional Capabilities
    • Technical Architecture
      • Technical Architecture Diagram
      • Tech Stack
    • Dependencies
    • Product Roadmap
  • USE
    • Overview
    • Release Notes
      • Release V 8.0.0 (Ongoing)
      • Release V 7.0.0
      • Release V 5.4.0
      • Release V 5.3.0
      • Release V 5.2.0
      • Release V 5.1.0
      • Release V 5.0.1
      • Release V 5.0.0
      • Release V 4.10.0
      • Release V 4.9.0
      • Release V 4.8.0
      • Release V 4.7.0
    • Developer Guide
      • USER & ORG SERVICE
        • Features/Core capabilities
        • Architecture
          • Code Flow
        • Developer Installation
          • System Requirements
          • Tech Stack
          • Installation Guide
          • Keycloak Local setup
          • Additional Installation Dependencies:
          • Source Code
          • Installation Configuration
        • Data Models
          • Cassandra
            • Data Dictionary
              • User
              • Organisation
              • System Settings
              • Role
              • Bulk Upload Process
              • Tenant Preference
              • Cassandra Migration Version
              • User Consent
              • Email Template
              • OTP
              • Page Management (LMS Service)
              • Location
              • User Notes
              • Deprecated
          • Elastic Search
          • Redis
        • APIs
          • User Management
            • User Deletion API
            • Ownership Transfer API
          • Organisation Management
          • Location Management
          • Consent Management
          • OTP Services
          • Tenant Configurations
          • Bulk Upload
          • System Settings
          • API Management Service
          • Data Sync
          • Notification APIs
        • Flink Jobs
          • User Cache Updater
          • User Deletion Cleanup Flink Job
          • Ownership Transfer Flink Job
        • Reports
          • Standard Exhaust
            • State Admin Geo report
            • State Admin Report
          • Other Jobs
            • User Cache Indexer Job
            • Delete Users Assets Report
          • Data Products Developer Installation
            • System Requirements
            • Tech Stack
            • Installation Dependencies
            • Local installation of data-products
            • Server setup Guide
            • Installation Configuration
            • Data-product creation guide
            • Troubleshooting a data-product
        • Logs, Telemetry Events
        • Configuration
          • Functional Configurations
          • System Settings
          • Email Configuration
          • SMS Configuration
          • OTP based SMS Configuration
        • Roles
          • System Roles
          • User Roles
          • RBAC
        • Dependencies
        • Keycloak on Sunbird
        • How to Guide
          • Create Organization
          • Create User
          • Add new user type & location
        • Single Sign-on with Sunbird
        • Caching and Denormalising User Metadata
          • ETLUserCacheUpdaterJob
          • UserCacheUpdaterFlinkJob
        • Unit Tests and Code Coverage
        • FAQs
      • LMS(BATCH) SERVICE
        • Features/Core Capabilities
        • Architecture
          • Code Flow
        • Developer Installation
          • System Requirements
          • Tech Stack
          • Installation Guide
          • Source Code
        • Data Models
          • Cassandra
            • Data Dictionary
          • ElasticSearch
          • Redis
        • APIs
        • Flink Jobs
          • Merge User Courses
          • Relation Cache Updater
          • Activity Aggregate Updater
          • Assessment Aggregator
          • Enrolment Reconciliation
          • Collection Certificate Pre-Processor
          • Collection Certificate Generator
        • Reports
          • On-Demand Exhaust
            • Response Exhaust
            • User Info Exhaust
            • Progress Exhaust
          • Other Jobs
            • Collection Summary Job
            • Course Batch Status Updater Job
            • Cassandra Migrator Job
            • Score Metric Migration Job
            • Assessment Score Correction Job
            • Collection Reconciliation Job
            • Course Enrollment Job
            • Course Consumption Job
        • Logs, Telemetry Events
        • Configuration
          • System Configuration
          • Functional Configuration
        • Dependencies
        • Certificate Registry and Credentialing using Sunbird-RC
          • Configuring PublicKey in Sunbird-RC
          • Server Setup guide for Sunbird-RC
          • API Guide For Sunbird-RC
        • Certificate Flow
          • Certificates Creation and Configuration
        • FAQs
      • GROUPS
        • Features/Core Capabilities
        • Architecture
          • Code Flow
        • Developer Installation
          • System Requirements
          • Tech Stack
          • Installation Guide
          • Source Code
          • Installation Configuration
        • Data Models
          • Cassandra
            • Data Dictionary
          • Redis
        • APIs
          • Create Group
        • Logs, Telemetry Events
          • UI Telemetry Events
          • Service Telemetry Events
        • Configuration
          • Functional Configurations
        • Design References
        • Dependencies
        • Unit Tests and Code Coverage
      • NOTIFICATION SERVICE
        • Features/Core Capabilities
        • Architecture
          • Code Flow
        • Developer Installation
          • System Requirements
          • Tech Stack
          • Installation Guide
          • Source Code
          • Installation Configuration
        • Data Models
          • Data Dictionary
        • APIs
        • Flink Jobs
        • Logs, Telemetry Events
        • Configuration
          • Functional Configurations
        • Dependencies
        • Unit Tests and Code Coverage
      • DISCUSSION FORUM
        • Features/Core capabilities
        • Architecture
          • Code Flow
        • Developer Installation
          • System Requirements
          • Tech Stack
          • Installation Guide
            • Nodebb setup
            • Discussion Middleware Setup
            • Discussion Middleware
            • Discussion forum integration with any application
            • Discussion-UI setup along with demo application.
            • Sunbird-lern portal for DF
          • Source Code
        • APIs
          • Category APIs
          • User APIs
          • Post APIs
          • Topic APIs
          • Forum APIs
        • Context Schema
        • Configurations
          • Nodebb Admin panel settings
          • Discussion MW & Nodebb System Config
        • Telemetry Events
        • Dependencies
      • ML SERVICE
        • DATA PIPELINE (Flink Jobs)
          • Program User Info
            • Component Diagram
            • Data Model
            • Folder Structure
          • Ml User Delete
            • Component Diagram
            • Data Model
            • Folder Structure
        • DATA PRODUCTS
          • Program Exhaust
            • Component Diagram
            • Folder Structure
    • Server Installation
    • Dependency setup
    • Deprecation
      • Release-5.4.0
    • Jenkins Jobs
    • Release Calendar
    • Learn More
      • Tech References
      • Telemetry Processing
      • Data Dictionary
        • Sample Data
      • Delete User Functionality
      • Asset Ownership Transfer
    • FAQs
  • Engage
    • Discuss
    • Contribute to Sunbird Lern
    • Raise an Issue
    • Contribution Guidelines
Powered by GitBook
On this page

Was this helpful?

Edit on GitHub
  1. USE
  2. Developer Guide
  3. USER & ORG SERVICE
  4. Configuration

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

PreviousConfigurationNextSystem Settings

Last updated 2 years ago

Was this helpful?