Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
f47d4d1
Added changes done in previous version. rel-3.6.0, rel-3.7.0, rel-3.9.0
karthik-tarento Dec 21, 2021
0528c6c
Added missing import
karthik-tarento Dec 21, 2021
47467d9
Updated mimeType definition
karthik-tarento Dec 21, 2021
3264987
aws setup for cloudstore
ankitv89 Jan 10, 2022
fc889ac
checkpoint disabled for flink
ankitv89 Jan 10, 2022
d78dfcb
flink job changes
ankitv89 Jan 13, 2022
28b12e7
Update values.j2
Haritest Jan 21, 2022
224bead
Update values.j2
Haritest Jan 21, 2022
f2e155d
Update values.j2
Haritest Jan 21, 2022
deee8be
updated cert_container_name
Haritest Jan 22, 2022
f50da77
asset-enrichment aws values added
Haritest Feb 4, 2022
e84ce4e
Update values.j2
Haritest Feb 4, 2022
8ae592c
Update values.j2
Haritest Feb 5, 2022
256404a
S3 details added
Haritest Dec 20, 2022
a504f47
Update values.j2
Haritest Dec 20, 2022
3635f15
Update flink_job_deployment.yaml
Haritest Dec 22, 2022
a1a4a9f
service_monitor_enabled disabled
Haritest Jan 19, 2023
4c6eaea
Update flink_job_deployment.yaml
Haritest Jan 25, 2023
60890e5
Removed the s3 endpoint parameters
Haritest Feb 6, 2023
248b18e
updated 4.8.0 changes
Haritest Feb 6, 2023
acb3a27
Merge pull request #2 from Sphere/cbrelease-4.0.1-aws-test-content-pu…
Haritest Feb 6, 2023
c4c4677
updated with 4.8.0
Haritest Feb 6, 2023
4041713
config update to 4.8.0
Haritest Feb 6, 2023
dbabbc1
Update main.yml
Haritest Feb 6, 2023
0c17142
Update main.yml
Haritest Feb 6, 2023
9029a80
Update all.yml
Haritest Feb 6, 2023
aaca687
Update main.yml
Haritest Feb 6, 2023
8fb9707
new variableas added for cert-gen with s3
gohilamariappan Apr 3, 2023
d427342
Merge pull request #3 from gohilamariappan/patch-2
Haritest Apr 3, 2023
84de907
Update values.j2
gohilamariappan May 9, 2024
edc4d3a
Update main.yml
gohilamariappan May 14, 2024
c6cdb2a
Update main.yml
gohilamariappan May 14, 2024
17e89e4
Update main.yml
gohilamariappan May 21, 2024
e76bbd1
Update main.yml
gohilamariappan May 21, 2024
b261d01
Update values.j2 for cert-email test
gohilamariappan May 27, 2024
bcd84c8
Update main.yml
gohilamariappan May 27, 2024
f06a39d
Update values.j2
gohilamariappan May 27, 2024
8430546
Update flink_job_deployment.yaml
gohilamariappan May 27, 2024
4a92485
Update flink_job_deployment.yaml
gohilamariappan May 27, 2024
ce508e7
Update values.j2
gohilamariappan May 27, 2025
97387c6
Activity aggrgator parallelism updated from 1 to 2
gohilamariappan Nov 19, 2025
22735cb
reverted activity parallelism from 2 to 1 and enrolment parllelism up…
gohilamariappan Nov 19, 2025
899ca24
activity_agg_consumer_parallelism updated from 1 to 2
gohilamariappan Nov 19, 2025
ab83d40
Update main.yml
gohilamariappan Nov 19, 2025
8dd278a
Update main.yml
gohilamariappan Nov 19, 2025
4e07dc9
parallelism changes for activity aggrgator
gohilamariappan Nov 19, 2025
01a01c8
Add user-assessment-summary configuration
AmiableAnil Nov 24, 2025
401f1d5
Update main.yml
gohilamariappan Dec 3, 2025
48ec916
Update values.j2
gohilamariappan Dec 18, 2025
9972099
Update main.yml
gohilamariappan Dec 18, 2025
a5682e7
Update main.yml
gohilamariappan Dec 18, 2025
507037b
Update flink_job_deployment.yaml-test
gohilamariappan Dec 29, 2025
a70e1d9
Update flink_job_deployment.yaml
gohilamariappan Dec 29, 2025
a1bb473
Update flink_job_deployment.yaml
gohilamariappan Dec 29, 2025
8cd1b98
parallelism increased 6
gohilamariappan Feb 3, 2026
f072fb2
Update main.yml
gohilamariappan Feb 3, 2026
107e00f
Update main.yml
gohilamariappan Feb 3, 2026
e7aa028
Updated main.yml with new parallelism configurations
gohilamariappan Feb 3, 2026
c605511
revrtedmain.yml
gohilamariappan Feb 3, 2026
954f7eb
Update main.yml
gohilamariappan Feb 9, 2026
48e12a8
fresh merge of cbrelease-4.0.1-aws-test and release-4.10.0_RC1_deploy…
rahu-tarento Apr 23, 2026
c06778e
search_indexer_ignored_fields and search_indexer_restrict_object_type…
rahu-tarento Apr 23, 2026
f348e2e
values.j2 is updated after review
rahu-tarento Apr 24, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ansible/inventory/env/group_vars/all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ cert_rc_base_url: "http://{{private_ingressgateway_ip}}/registry-service/api/v1"
cert_rc_entity: "TrainingCertificate"
certificate_base_path: "https://{{domain_name}}/certs"
cert_domain_url: "{{proto}}://{{domain_name}}"
cert_container_name: "{{cert_env_prefix}}-e-credentials"
cert_container_name: "e-credentials"
cert_cloud_storage_type: "azure"
cert_azure_storage_secret: "{{sunbird_private_storage_account_key}}"
cert_azure_storage_key: "{{sunbird_private_storage_account_name}}"
Expand Down
5 changes: 0 additions & 5 deletions ansible/roles/learning-service/templates/application.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -196,9 +196,7 @@ job.request.event.mimetype=["application/pdf",
"image/x-quicktime",
"video/avi",
"video/mpeg",
"video/quicktime",
"video/3gpp",
"video/mp4",
"video/ogg",
"video/webm",
"video/msvideo",
Expand All @@ -209,7 +207,6 @@ job.request.event.mimetype=["application/pdf",
"audio/mp4",
"audio/mpeg",
"audio/ogg",
"audio/webm",
"audio/x-wav",
"audio/wav",
"audio/mpeg3",
Expand Down Expand Up @@ -253,12 +250,10 @@ cloud_storage_type="{{ cloud_store }}"
azure_storage_key="{{sunbird_public_storage_account_name}}"
azure_storage_secret="{{sunbird_public_storage_account_key}}"
azure_storage_container="{{ azure_public_container }}"

aws_storage_key = "{{ aws_storage_key }}"
aws_storage_secret: "{{ aws_storage_secret }}"
aws_storage_container: "{{ aws_storage_container }}"


installation.id="{{ instance_name }}"

# Configuration for DIALCode linking
Expand Down
3 changes: 3 additions & 0 deletions ansible/roles/lp-contenttool/templates/application.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ destination.storage_type="{{ contenttool.destination.storage_type }}"
azure_storage_key="{{sunbird_public_storage_account_name}}"
azure_storage_secret="{{sunbird_public_storage_account_key}}"
azure_storage_container="{{ azure_public_container }}"
aws_storage_key = "{{ aws_storage_key }}"
aws_storage_secret: "{{ aws_storage_secret }}"
aws_storage_container: "{{ aws_storage_container }}"

content.external_fields="body,stageIcons,screenshots"
content.extract_mimetype="application/vnd.ekstep.h5p-archive,application/vnd.ekstep.ecml-archive,application/vnd.ekstep.html-archive"
Expand Down
2 changes: 1 addition & 1 deletion ansible/roles/lp-synctool-deploy/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ redis_port: 6379
graphevent_kafka_url: "{{groups['processing-cluster-zookeepers']|join(':9092,')}}:9092"
search_lms_index_host: "{{ groups['core-es']|join(':9200,')}}:9200"

cloud_store: azure
cloud_store: aws
azure_public_container:
azure_account_name:
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,9 @@ cloud_storage_type="{{ cloud_store }}"
azure_storage_key="{{sunbird_public_storage_account_name}}"
azure_storage_secret="{{sunbird_public_storage_account_key}}"
azure_storage_container="{{ azure_public_container }}"
aws_storage_key = "{{ aws_storage_key }}"
aws_storage_secret: "{{ aws_storage_secret }}"
aws_storage_container: "{{ aws_storage_container }}"

contentTypeToPrimaryCategory {
ClassroomTeachingVideo: "Explanation Content"
Expand Down
12 changes: 11 additions & 1 deletion ansible/roles/samza-jobs/tasks/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,17 @@
replace: dest="{{item[1].stdout}}" regexp="{{item[0].key}}" replace="{{item[0].value}}"
when: "{{item[1]|changed}}"
with_nested:
- [{key: "__yarn_host__", value: "{{__yarn_host__}}"}, {key: "__yarn_port__", value: "{{__yarn_port__}}"}, {key: "__env__", value: "{{env}}" }, {key: "__env_name__", value: "{{env_name}}" }, {key: "__zookeepers__", value: "{{zookeepers}}"}, {key: "__kafka_brokers__", value: "{{kafka_brokers}}"}, {key: "__delayInMilliSeconds__", value: "{{delayInMilliSeconds}}" }, {key: "__retryTimeInMilliSeconds__", value: "{{retryTimeInMilliSeconds}}" }, {key: "__bypass_reverse_search__", value: "{{bypass_reverse_search}}" }, {key: "__retryBackoffBaseInSeconds__", value: "{{retry_backoff_base_in_seconds}}" }, {key: "__retryLimit__", value: "{{retry_limit}}" }, {key: "__retryLimitEnable__", value: "{{retry_limit_enable}}" }, {key: "__google_api_key__", value: "{{google_api_key}}" }, {key: "__searchServiceEndpoint__", value: "{{search_service_endpoint}}" }, {key: "__objectDenormalizationAdditionalConfig__", value: "{{object_denormalization_additional_config}}" },{key: "__audit_es_host__", value: "{{audit_es_host}}"}, {key: "__search_es_host__", value: "{{search_es_host}}"}, {key: "__redis_host__", value: "{{redis_host}}"}, {key: "__dp_redis_host__", value: "{{dp_redis_host}}"}, {key: "__redis_port__", value: "{{redis_port}}"}, {key: "__environment_id__", value: "{{environment_id}}"}, {key: "__graph_passport_key__", value: "{{graph_passport_key}}"}, {key: "__lp_bolt_url__", value: "{{lp_bolt_url}}"}, {key: "__lp_bolt_read_url__", value: "{{lp_bolt_read_url}}"}, {key: "__lp_bolt_write_url__", value: "{{lp_bolt_write_url}}"}, {key: "__other_bolt_url__", value: "{{other_bolt_url}}"}, {key: "__other_bolt_read_url__", value: "{{other_bolt_read_url}}"}, {key: "__other_bolt_write_url__", value: "{{other_bolt_write_url}}"}, {key: "__mw_shard_id__", value: "{{mw_shard_id}}"}, {key: "__lp_url__", value: "{{lp_url}}"}, {key: "__cloud_storage_config_environment__", value: "{{cloud_storage_config_environment}}"}, {key: "__google_vision_tagging__", value: "{{google_vision_tagging}}"}, {key: "__lp_tmpfile_location__", value: "{{lp_tmpfile_location}}"}, {key: "__esRouterAdditionalConfig__", value: "{{es_router_additional_config}}"},{key: "__esRouterSecondaryAdditionalConfig__", value: "{{es_router_additional_secondary_config}}"},{key: "__es_port__", value: "{{es_port}}"}, {key: "__keyspace_name__", value: "{{content_keyspace_name}}"}, {key: "__collection_fullecar_disable__", value: "{{collection_fullecar_disable}}"},{key: "__max_iteration_count_for_samza_job__", value: "{{max_iteration_count_for_samza_job}}"},{key: "__cloud_storage_type__", value: "{{cloud_store}}"},{key: "__azure_storage_key__", value: "{{sunbird_public_storage_account_name}}"},{key: "__azure_storage_secret__", value: "{{sunbird_public_storage_account_key}}"},{key: "__azure_storage_container__", value: "{{azure_public_container}}"},{key: "__content_media_base_url__", value: "{{content_media_base_url}}"}, {key: "__plugin_media_base_url__", value: "{{plugin_media_base_url}}"}, {key: "__installation_id__", value: "{{instance_name}}"}, {key: "__content_media_base_url__", value: "{{content_media_base_url}}"}, {key: "__hierarchy_keyspace_name__", value: "{{hierarchy_keyspace_name}}"}, {key: "__composite_search_indexer_container_count__", value: "{{composite_search_indexer_container_count}}"},{key: "__cassandra_lp_connection__", value: "{{lp_cassandra_connection}}"}, {key: "__cassandra_lpa_connection__", value: "{{dp_cassandra_connection}}"}, {key: "__streaming_mime_type__", value: "{{streaming_mime_type}}"}, {key: "__cassandra_sunbird_connection__", value: "{{core_cassandra_connection}}"}, {key: "__cloud_upload_retry_count__", value: "{{cloud_upload_retry_count}}"}, {key: "__compositesearch_index_name__", value: "{{compositesearch_index_name}}"},{key: "__publish_pipeline_container_count__", value: "{{publish_pipeline_container_count}}"},{key: "__yarn_container_memory_mb__", value: "{{publish_yarn_container_memory_mb}}"},{key: "__youtube_api_key__", value: "{{youtube_api_key}}"},{key: "__kp_learning_service_base_url__", value: "{{kp_learning_service_base_url}}"},{key: "__sunbird_installation__", value: "{{sunbird_platform_installation}}"}, {key: "__search_lms_es_host__", value: "{{search_lms_es_host}}"},{key: "__dial_image_storage_container__", value: "{{dial_image_storage_container}}"},{key: "__dial_base_url__", value: "{{dial_base_url}}"},{key: "__learner_service_base_url__", value: "{{learner_service_base_url}}"},{key: "__cert_service_base_url__", value: "{{cert_service_base_url}}"},{key: "__certificate_base_path__", value: "{{certificate_base_path}}"},{key: "__kp_content_service_base_url__", value: "{{kp_content_service_base_url}}"},{key: "__kp_print_service_base_url__", value: "{{kp_print_service_base_url}}"},{key: "__cert_reg_service_base_url__", value: "{{cert_reg_service_base_url}}"},{key: "__kp_search_service_base_url__", value: "{{kp_search_service_base_url}}"},{key: "__samza_coordinator_replication_factor__", value: "{{samza_coordinator_replication_factor}}"},{key: "__samza_checkpoint_replication_factor__", value: "{{samza_checkpoint_replication_factor}}"},{key: "__course_batch_updater_container_count__", value: "{{course_batch_updater_container_count}}"},{key: "__course_certificate_generator_container_count__", value: "{{course_certificate_generator_container_count}}"},{key: "__course_progress_batch_size__", value: "{{course_progress_batch_size}}"},{key: "__itemset_generate_pdf__", value: "{{itemset_generate_pdf}}"},{key: "__auto_creator_container_count__", value: "{{auto_creator_container_count}}"},{key: "__content_streaming_enabled__", value: "{{content_streaming_enabled}}"},{key: "__lms_service_base_url__", value: "{{lms_service_base_url}}"},{key: "__mvc_search_indexer_container_count__", value: "{{mvc_search_indexer_container_count}}"}, {key: "__search_es7_host__", value: "{{search_es7_host}}"} , {key: "__ml-keywordapi__", value: "{{mlworkbench}}"},{key: "__auto_creator_artifact_allowed_sources__", value: "{{auto_creator_artifact_allowed_sources}}"},{key: "__publish_pipeline_task_opts__", value: "{{publish_pipeline_task_opts}}"},{key: "__auto_creator_g_service_acct_cred__", value: "{{auto_creator_gservice_acct_cred}}"},{key: "__certificate_pre_processor_container_count__", value: "{{certificate_pre_processor_container_count}}"},{key: "__master_category_validation_enabled__", value: "{{master_category_validation_enabled}}"}]
- [{key: "__yarn_host__", value: "{{__yarn_host__}}"}, {key: "__yarn_port__", value: "{{__yarn_port__}}"}, {key: "__env__", value: "{{env}}" }, {key: "__env_name__", value: "{{env_name}}" }, {key: "__zookeepers__", value: "{{zookeepers}}"}, {key: "__kafka_brokers__", value: "{{kafka_brokers}}"}, {key: "__delayInMilliSeconds__", value: "{{delayInMilliSeconds}}" }, {key: "__retryTimeInMilliSeconds__", value: "{{retryTimeInMilliSeconds}}" }, {key: "__bypass_reverse_search__", value: "{{bypass_reverse_search}}" }, {key: "__retryBackoffBaseInSeconds__", value: "{{retry_backoff_base_in_seconds}}" }, {key: "__retryLimit__", value: "{{retry_limit}}" }, {key: "__retryLimitEnable__", value: "{{retry_limit_enable}}" }, {key: "__google_api_key__", value: "{{google_api_key}}" }, {key: "__searchServiceEndpoint__", value: "{{search_service_endpoint}}" }, {key: "__objectDenormalizationAdditionalConfig__", value: "{{object_denormalization_additional_config}}" },{key: "__audit_es_host__", value: "{{audit_es_host}}"}, {key: "__search_es_host__", value: "{{search_es_host}}"}, {key: "__redis_host__", value: "{{redis_host}}"}, {key: "__dp_redis_host__", value: "{{dp_redis_host}}"}, {key: "__redis_port__", value: "{{redis_port}}"}, {key: "__environment_id__", value: "{{environment_id}}"}, {key: "__graph_passport_key__", value: "{{graph_passport_key}}"}, {key: "__lp_bolt_url__", value: "{{lp_bolt_url}}"}, {key: "__lp_bolt_read_url__", value: "{{lp_bolt_read_url}}"}, {key: "__lp_bolt_write_url__", value: "{{lp_bolt_write_url}}"}, {key: "__other_bolt_url__", value: "{{other_bolt_url}}"}, {key: "__other_bolt_read_url__", value: "{{other_bolt_read_url}}"}, {key: "__other_bolt_write_url__", value: "{{other_bolt_write_url}}"}, {key: "__mw_shard_id__", value: "{{mw_shard_id}}"}, {key: "__lp_url__", value: "{{lp_url}}"}, {key: "__cloud_storage_config_environment__", value: "{{cloud_storage_config_environment}}"}, {key: "__google_vision_tagging__", value: "{{google_vision_tagging}}"}, {key: "__lp_tmpfile_location__", value: "{{lp_tmpfile_location}}"}, {key: "__esRouterAdditionalConfig__", value: "{{es_router_additional_config}}"},{key: "__esRouterSecondaryAdditionalConfig__", value: "{{es_router_additional_secondary_config}}"},{key: "__es_port__", value: "{{es_port}}"}, {key: "__keyspace_name__", value: "{{content_keyspace_name}}"}, {key: "__collection_fullecar_disable__", value: "{{collection_fullecar_disable}}"},{key: "__max_iteration_count_for_samza_job__", value: "{{max_iteration_count_for_samza_job}}"},{key: "__cloud_storage_type__", value: "{{cloud_store}}"},{key: "__aws_access_key_id__",value: "{{aws_storage_key}}"},{key: "__aws_secret_access_key__",value: "{{aws_storage_secret}}"},{key: "__aws_storage_container__",value: "{{aws_storage_container}}"},{key: "__azure_storage_key__", value: "{{sunbird_public_storage_account_name}}"},{key: "__azure_storage_secret__", value: "{{sunbird_public_storage_account_key}}"},{key: "__azure_storage_container__", value: "{{azure_public_container}}"},{key: "__content_media_base_url__", value: "{{content_media_base_url}}"}, {key: "__plugin_media_base_url__", value: "{{plugin_media_base_url}}"}, {key: "__installation_id__", value: "{{instance_name}}"}, {key: "__content_media_base_url__", value: "{{content_media_base_url}}"}, {key: "__hierarchy_keyspace_name__", value: "{{hierarchy_keyspace_name}}"}, {key: "__composite_search_indexer_container_count__", value: "{{composite_search_indexer_container_count}}"},{key: "__cassandra_lp_connection__", value: "{{lp_cassandra_connection}}"}, {key: "__cassandra_lpa_connection__", value: "{{dp_cassandra_connection}}"}, {key: "__streaming_mime_type__", value: "{{streaming_mime_type}}"}, {key: "__cassandra_sunbird_connection__", value: "{{core_cassandra_connection}}"}, {key: "__cloud_upload_retry_count__", value: "{{cloud_upload_retry_count}}"}, {key: "__compositesearch_index_name__", value: "{{compositesearch_index_name}}"},{key: "__publish_pipeline_container_count__", value: "{{publish_pipeline_container_count}}"},{key: "__yarn_container_memory_mb__", value: "{{publish_yarn_container_memory_mb}}"},{key: "__youtube_api_key__", value: "{{youtube_api_key}}"},{key: "__kp_learning_service_base_url__", value: "{{kp_learning_service_base_url}}"},{key: "__sunbird_installation__", value: "{{sunbird_platform_installation}}"}, {key: "__search_lms_es_host__", value: "{{search_lms_es_host}}"},{key: "__dial_image_storage_container__", value: "{{dial_image_storage_container}}"},{key: "__dial_base_url__", value: "{{dial_base_url}}"},{key: "__learner_service_base_url__", value: "{{learner_service_base_url}}"},{key: "__cert_service_base_url__", value: "{{cert_service_base_url}}"},{key: "__certificate_base_path__", value: "{{certificate_base_path}}"},{key: "__kp_content_service_base_url__", value: "{{kp_content_service_base_url}}"},{key: "__kp_print_service_base_url__", value: "{{kp_print_service_base_url}}"},{key: "__cert_reg_service_base_url__", value: "{{cert_reg_service_base_url}}"},{key: "__kp_search_service_base_url__", value: "{{kp_search_service_base_url}}"},{key: "__samza_coordinator_replication_factor__", value: "{{samza_coordinator_replication_factor}}"},{key: "__samza_checkpoint_replication_factor__", value: "{{samza_checkpoint_replication_factor}}"},{key: "__course_batch_updater_container_count__", value: "{{course_batch_updater_container_count}}"},{key: "__course_certificate_generator_container_count__", value: "{{course_certificate_generator_container_count}}"},{key: "__course_progress_batch_size__", value: "{{course_progress_batch_size}}"},{key: "__itemset_generate_pdf__", value: "{{itemset_generate_pdf}}"},{key: "__auto_creator_container_count__", value: "{{auto_creator_container_count}}"},{key: "__content_streaming_enabled__", value: "{{content_streaming_enabled}}"},{key: "__lms_service_base_url__", value: "{{lms_service_base_url}}"},{key: "__mvc_search_indexer_container_count__", value: "{{mvc_search_indexer_container_count}}"}, {key: "__search_es7_host__", value: "{{search_es7_host}}"} , {key: "__ml-keywordapi__", value: "{{mlworkbench}}"},{key: "__auto_creator_artifact_allowed_sources__", value: "{{auto_creator_artifact_allowed_sources}}"},{key: "__publish_pipeline_task_opts__", value: "{{publish_pipeline_task_opts}}"},{key: "__auto_creator_g_service_acct_cred__", value: "{{auto_creator_gservice_acct_cred}}"}]
- "{{ (config_files|default({})).results|default([]) }}"


@@ -101,4 +101,4 @@
args:
chdir: "{{samza_jobs_dir}}/extract/"

- file: path={{samza_jobs_dir}} owner=hduser group=hadoop state=directory recurse=yes
- file: path={{samza_jobs_dir}} owner=hduser group=hadoop state=directory recurse=yes

- "{{ (config_files|default({})).results|default([]) }}"


Expand Down
4 changes: 3 additions & 1 deletion docs/domain_model_v2/definitions/content_definition.json
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,9 @@
"audio/ogg",
"audio/webm",
"audio/x-wav",
"audio/wav"
"audio/wav",
"application/json",
"application/quiz"
],
"defaultValue": "application/vnd.ekstep.ecml-archive",
"renderingHints": "{ 'inputType': 'select', 'order': 9 }",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,9 @@
"audio/ogg",
"audio/webm",
"audio/x-wav",
"audio/wav"
"audio/wav",
"application/json",
"application/quiz"
],
"defaultValue": "application/vnd.ekstep.ecml-archive",
"renderingHints": "{ 'inputType': 'select', 'order': 9 }",
Expand Down
12 changes: 6 additions & 6 deletions kubernetes/ansible/roles/flink-jobs-deploy/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,17 +39,17 @@ producer_max_request_size: 1572864

### Activity Aggregate job related vars
activity_agg_consumer_parallelism: 1
activity_agg_dedup_parallelism: 1
activity_agg_parallelism: 1
activity_agg_dedup_parallelism: "{{ activity_aggregate_updater_replica | default('1') }}"
activity_agg_parallelism: "{{ activity_aggregate_updater_replica | default('1') }}"
enrolment_complete_parallelism: 1
middleware_consumption_table: "user_content_consumption"
middleware_user_activity_agg_table: "user_activity_agg"
activity_agg_checkpointing_interval: 300000
activity_agg_checkpointing_pause_interval: 90000
activity_agg_checkpointing_interval: 180000
activity_agg_checkpointing_pause_interval: 60000
activity_agg_batch_interval: 60
activity_agg_batch_read_size: 1
activity_agg_batch_write_size: 10
activity_agg_window_shards: 1000
activity_agg_window_shards: 30
activity_agg_dedup_index: 13
activity_agg_dedup_expiry: 604800
activity_module_aggs_enabled: true
Expand Down Expand Up @@ -140,7 +140,7 @@ flink_job_names:
cpu_requests: 0.3
activity-aggregate-updater:
job_class_name: 'org.sunbird.job.aggregate.task.ActivityAggregateUpdaterStreamTask'
replica: 1
replica: "{{ activity_aggregate_updater_replica | default('1') }}"
jobmanager_memory: 1024m
taskmanager_memory: 1024m
taskslots: 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -156,17 +156,20 @@ kind: Deployment
metadata:
name: {{ .Release.Name }}-taskmanager
namespace: {{ .Values.namespace }}

spec:
replicas: {{ .Values.taskmanager.replicas }}
selector:
matchLabels:
app: flink
component: {{ .Release.Name }}-taskmanager

template:
metadata:
labels:
app: flink
component: {{ .Release.Name }}-taskmanager

spec:
volumes:
- name: flink-config-volume
Expand Down
Loading