Skip to content

Commit

Permalink
Issue #SB-8924 feat: Upload TOC implementation changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Pradyumna Nagendra committed Dec 7, 2018
1 parent 5f90af2 commit 6afaa89
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ interface Message {
String INVALID_TEXTBOOK = "Invalid Textbook. Please Provide Valid Textbook Identifier.";
String CSV_ROWS_EXCEEDS = "Number of rows in csv file is more than ";
String INVALID_TEXTBOOK_NAME = "Textbook Name given in the file doesn’t match current Textbook name. Please check and upload again.";
String DUPLICATE_ROWS = "Duplicate rows found in csv.";
String DUPLICATE_ROWS = "Duplicate Textbook node found. Please check and upload again. Row number ";
String REQUIRED_HEADER_MISSING = "Required set of header missing: ";
String REQUIRED_FIELD_MISSING = "Data in mandatory fields is missing. Mandatory fields are: ";
String BLANK_CSV_DATA = "Did not find any TOC data. Please check and upload again.";
Expand Down
2 changes: 1 addition & 1 deletion common-util/src/main/resources/externalresource.properties
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ textbook_toc_max_csv_rows=2500
textbook_toc_input_mapping={\"metadata\":{\"medium\":\"Medium\",\"gradeLevel\":\"Grade\",\"subject\":\"Subject\",\"description\":\"Description\",\"dialcodeRequired\":\"QR Code Required?\",\"purpose\":\"Purpose of Content to be linked\",\"keywords\":\"Keywords\",\"identifier\":\"Identifier\"},\"hierarchy\":{\"Textbook\":\"Textbook Name\",\"L:1\":\"Level 1 Textbook Unit\",\"L:2\":\"Level 2 Textbook Unit\",\"L:3\":\"Level 3 Textbook Unit\",\"L:4\":\"Level 4 Textbook Unit\",\"L:5\":\"Level 5 Textbook Unit\",\"L:6\":\"Level 6 Textbook Unit\",\"L:7\":\"Level 7 Textbook Unit\"}}
textbook_toc_file_suppress_column_names=true
sunbird_texbook_toc_csv_ttl=86400
textbook_toc_mandatory_fields=Textbook,L:1
textbook_toc_mandatory_fields={\"Textbook\":\"Textbook Name\",\"L:1\":\"Level 1 Textbook Unit\"}

sunbird_content_cloud_storage_type=azure
sunbird_content_azure_storage_container=sunbird-content-dev
Expand Down

0 comments on commit 6afaa89

Please sign in to comment.