Project

General

Profile

Task #3122

Feature #3116: Couple of changes to ChatGPT answer page on the site

Task #3119: BE: Create a new api for fetching the source-url based on books.

Allow caching for /bookSource API

Added by Anonymous almost 2 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
Start date:
07/10/2023
Due date:
% Done:

100%

Estimated time:
1.50 h
Spent time:

Description

Scheme:

Create a cache named "BOOKID_BOOKSOURCE_CACHE" where key is documentProcessingId and value is BookSource
(Here, bookId means documentProcessingId)
If the documentProcessingId is present in map
- get the BookSource from the map.
- log this message "getting book source-url from the Cache for the bookId : " and give the documentProcessingId
Else
- get the ourl from datastore and store it in BookSource
- log this message "getting book source-url from the Datastore for the bookId : " and give the documentProcessingId
- update the value in map.

Handle the bookIdAndBookSourceMap during overwrite/Delete:
For these scenarios, delete the entry for the documentProcessingId in bookIdAndBookSourceMap.

#1

Updated by Anonymous almost 2 years ago

  • Assignee set to Anonymous
  • Estimated time set to 1.50 h
#2

Updated by Anonymous almost 2 years ago

  • Description updated (diff)
#3

Updated by Anonymous almost 2 years ago

  • Status changed from New to In Progress
#4

Updated by Anonymous almost 2 years ago

  • Description updated (diff)
#6

Updated by Anonymous almost 2 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 100
#7

Updated by Anonymous almost 2 years ago

  • Status changed from Resolved to Review
  • Assignee changed from Anonymous to Anonymous
#8

Updated by Anonymous almost 2 years ago

  • Assignee changed from Anonymous to Anonymous
#9

Updated by Anonymous over 1 year ago

  • Status changed from Review to Feedback
  • Assignee changed from Anonymous to Anonymous
#10

Updated by Anonymous over 1 year ago

  • Assignee changed from Anonymous to Anonymous
#11

Updated by Anonymous over 1 year ago

  • Assignee changed from Anonymous to Anonymous
#12

Updated by Anonymous over 1 year ago

  • Assignee changed from Anonymous to Anonymous
#13

Updated by Anonymous over 1 year ago

  • Assignee changed from Anonymous to Anonymous
#14

Updated by Ram Kordale over 1 year ago

  • Status changed from Feedback to Closed

Also available in: Atom PDF