Title-Level Requests

Title-Level Requests

Role

Person

Comments

Role

Person

Comments

Solution Architect

@Raman Auramau

 

Java Lead

@Viachaslau Khandramai (Deactivated)

 

UI Lead

@Alex Mozolev

 

Product Owner

@Stephanie Buck

 

 

UXPROD-1796: Title Level Requests Complete (part 1)Closed - Title-Level Requests (Complete feature)

 

Requirements

Approach & Design

mod-configuration

Configuration for enablement of title requests should be created and seated to false by default:

{
    "module": "CIRCULATION",
   "configName": "title-requests",
   "enabled": true,
   "value": "{\"enableTitleRequests\":\"false\"}",
}

UI and BE clients operate with Configuration API to retrieve this setting for each tenant. This setting can be changed and should be used to determine if TitleLevel Request is enabled.

mod-circulation

There are two approaches.

1) Implement new endpoint for get title requests 

New endpoint should be implemented:

Method

Path

Provided permissions

Request

Response

Description

Notes

Method

Path

Provided permissions

Request

Response

Description

Notes

GET

circulation/requests/title-queue/{instanceId}

circulation.requests.title-queue.collection.get

NA

200 OK

Get title level requests collection

{instanceId} - corresponding instance id, should support CQL, ordering, sorting

based on existing RequestQueue logic.

2) Re-use existing request queue endpoint

Both of approaches only required extension of existing request schema to support {instanceId} and querying by using CQL.

Existing RequestQueue logic should be updated to save and retrieve title requests.

RequestQueue logic should aggregate re-ordering component to set needed requests ordering.