Skip to content

Latest commit

 

History

History
17 lines (10 loc) · 3.81 KB

functional-configurations.md

File metadata and controls

17 lines (10 loc) · 3.81 KB

Functional Configurations

Group Service Configuration

{% tabs %} {% tab title="Functional Config" %}

PropertyDescriptionDefault Value
max_group_limitMaximum number of groups a user can create50
max_group_members_limitMaximum number of members a group can have150
max_activity_limitMaximum number of activities a group can have20
enable_userid_redis_cacheTo enable cache for groups and group detailstrue
groups_redis_ttlGroup details cache duration86400
user_redis_ttlUser group list cache duration3600
activityConfigTo configure various types of activities and services to fetch it.

{% endtab %}

{% tab title="System Config" %}

JSON KeyKeyDefault Value
SUNBIRD_CS_BASE_URLCONTENT_SERVICE_PORThttp://search-service:9000
USER_SERVICE_BASE_URLLEARNER_SERVICE_PORThttp://learner-service:9000
ACCESS_TOKEN_PUBLICKEY_BASEPATHaccesstoken.publickey.basepath/keys/
ENABLE_TENANT_CONFIGURATIONenable_tenant_config*
ENABLE_USERID_REDIS_CACHEenable_userid_redis_cachetrue
GROUPS_REDIS_TTLgroups_redis_ttl864004
MAX_ACTIVITY_LIMITmax_activity_limi20
MAX_GROUP_LIMITmax_group_limit50
MAX_GROUP_MEMBERS_LIMITmax_group_members_limit150
NOTIFICATION_SERVICE_API_URLnotification_service_api_url/v2/notification/send
NOTIFICATION_SERVICE_BASE_URLnotification_service_base_urlhttp://notification-service:9000
SUNBIRD_CASSANDRA_CONSISTENCY_LEVELsunbird_cassandra_consistency_levelquorum
SUNBIRD_CASSANDRA_IPsunbird_cassandra_host11.3.2.4,11.3.2.5,11.3.2.6
sunbird_cassandra_passwordpassword
sunbird_cassandra_port9042,9042,9042
sunbird_cassandra_usernamecassandra
SUNBIRD_CS_SEARCH_URLsunbird_cs_search_url/v3/search
sunbird_keycloak_required_action_link_expiration_seconds2592000
sunbird_keycloak_user_federation_provider_idprovider id
sunbird_redis_host11.3.2.18
sunbird_redis_port6379
sunbird_sso_client_ideg: id
sunbird_sso_client_secreteg: id
sunbird_sso_passwordeg: passowrd
sunbird_sso_publickeyeg: encrypted public key
SUNBIRD_SSO_REALMsunbird_sso_realmsunbird
SUNBIRD_SSO_URLsunbird_sso_urlhttps://staging.sunbirded.org/auth/
sunbird_sso_usernamesunbird-staging-new-admin
USER_SERVICE_SEARCH_URLsunbird_user_service_search_url/private/api/user/v1/search
USER_REDIS_TTLuser_redis_ttl3600

{% endtab %} {% endtabs %}