Configuration
Last updated
Last updated
DIAL service file configuration is available at https://github.com/project-sunbird/sunbird-dial-service/blob/master/conf/application.conf
Variable | Purpose |
---|---|
dialcode.strip.chars
DIAL Codes are generated using AlphaNumeric characters (exculding 'O'). This variable is used to remove undesired leading character from the generated DIAL code.
Default value: 0 (zero)
dialcode.length
This variable is used to specify the length of DIAL code to be generated. Default value: 6
jsonld.basepath
base path of the jsonld.type folder contents
jsonld.type
'folder name' containing jsonld schema vocabulary and context json files to be referred to.
jsonld.localPath
server directory to which the 'contextValidation.json' file is to be downloaded.
jsonld.ttl
file caching refresh time of 'contextValidation.json'
jsonld.sb_schema
Sunbird vocabulary, 'schema.jsonld' file path whose reference is to be validated in the custom 'context.json'. Mupltiple vocabulary file paths can be mentioned in order to verify if the custom context.json has extended
dial_id
dial code URL to be returned in the dial code context during context read for '@id'
dial_type
'type' value to be shown during the dial code context read for '@type'.