inQuiry: Release-5.2.0 Configuration details
Configuration Added:
Please check the configuration files and add below configuration.
For variable information, Please refer to Variable Section.
assessment-service:
cloud_storage_container: "{{ cloud_storage_content_bucketname }}"
cloudstorage {
metadata.replace_absolute_path={{ cloudstorage_replace_absolute_path | default('false') }}
metadata.list={{ cloudstorage_metadata_list }}
relative_path_prefix="{{ cloudstorage_relative_path_prefix | default('CLOUD_STORAGE_BASE_PATH') }}"
read_base_path="{{ cloudstorage_base_path }}"
write_base_path={{ valid_cloudstorage_base_urls }}
}
Configuration File Link For Reference:
async-questionset-publish:
#Cloud Storage Config
cloud_storage_type: "{{ cloud_service_provider }}"
cloud_storage_key: "{{ cloud_public_storage_accountname }}"
cloud_storage_secret: "{{ cloud_public_storage_secret }}"
cloud_storage_endpoint: "{{ cloud_public_storage_endpoint }}"
cloud_storage_container: "{{ cloud_storage_content_bucketname }}"
cloudstorage {
metadata.replace_absolute_path={{ cloudstorage_replace_absolute_path | default('false') }}
metadata.list={{ cloudstorage_metadata_list }}
relative_path_prefix="{{ cloudstorage_relative_path_prefix }}"
read_base_path="{{ cloudstorage_base_path }}"
write_base_path={{ valid_cloudstorage_base_urls }}
}
Configuration File Link For Reference:
questionset-republish:
#Cloud Storage Config
cloud_storage_type: "{{ cloud_service_provider }}"
cloud_storage_key: "{{ cloud_public_storage_accountname }}"
cloud_storage_secret: "{{ cloud_public_storage_secret }}"
cloud_storage_endpoint: "{{ cloud_public_storage_endpoint }}"
cloud_storage_container: "{{ cloud_storage_content_bucketname }}"
cloudstorage {
metadata.replace_absolute_path={{ cloudstorage_replace_absolute_path | default('false') }}
metadata.list={{ cloudstorage_metadata_list }}
relative_path_prefix="{{ cloudstorage_relative_path_prefix }}"
read_base_path="{{ cloudstorage_base_path }}"
write_base_path={{ valid_cloudstorage_base_urls }}
}
Configuration File Link For Reference:
Deprecated variables:
sunbird_cloud_storage_type
sunbird_public_storage_account_name
sunbird_public_storage_account_key
azure_public_container
sunbird_content_azure_storage_container
Variables Added:
Below table has all variables and its default values present in the configuration file. Please override them with values as per the environment.
variable name | description | Default Value Given in the Configuration File | service/job name which uses variable |
---|---|---|---|
| Boolean value is required to enable/disable cloud storage agnostic urls in db. | false | assessment, async-questionset-publish, questionset-republish |
| String value is required. This value will be used as prefix for any metadata which holds cloud storage path | CLOUD_STORAGE_BASE_PATH | assessment, async-questionset-publish, questionset-republish |
| Array of String value is required. This array will have list of metadata keys which holds cloud storage path |
| assessment, async-questionset-publish, questionset-republish |
| String value is required. The value could be either cloud specific base path or cname configured for current cloud storage provider. |
| assessment, async-questionset-publish, questionset-republish |
| Array of String value is required. This array will have list of all cloud path which should be accepted by service. |
| assessment, async-questionset-publish, questionset-republish |
| String value is required. e.g: azure | azure | async-questionset-publish, questionset-republish |
| String value is required. | NA | async-questionset-publish, questionset-republish |
| String value is required. | NA | async-questionset-publish, questionset-republish |
| String value is required. It could be empty string | NA | async-questionset-publish, questionset-republish |
| String value is required. | NA | assessment, async-questionset-publish, questionset-republish |
|
|
|
|
Variables & Values For Sunbird-Ed:
Variables | Value |
---|---|
| true |
|
|
| [ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|