Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CIRC-2198 Implement the code for the feature UXPROD-5001 #1521

Merged
merged 13 commits into from
Dec 16, 2024

Conversation

AntonAntonich
Copy link
Contributor

@AntonAntonich AntonAntonich commented Dec 10, 2024

Purpose

Implement the code for the feature UXPROD-5001

Jira

CIRC-2198

@AntonAntonich AntonAntonich self-assigned this Dec 10, 2024
@AntonAntonich AntonAntonich changed the title Uxprod 5001 CIRC-2198 Implement the code for the feature UXPROD-5001 Dec 11, 2024
@@ -427,6 +428,10 @@ public boolean hasLoan() {
return loan != null;
}

public boolean getDcbReRequestCancellationValue() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
public boolean getDcbReRequestCancellationValue() {
public boolean isDcbReRequestCancellation() {

sendCancellationNoticeForRequestWithItemId(request);
} else {
sendCancellationNoticeForRequestWithoutItemId(request);
// Send the cancellation notice only if the isDcbReRequestCancellation flag is false
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we really need this comment? I think code below speaks for itself

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will remove it

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

Comment on lines 33 to 34
Mockito.verify(immediatePatronNoticeService, times(0)).acceptNoticeEvent(any());
Mockito.verify(immediatePatronNoticeService, times(0)).sendNotice(any(), any());
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Mockito.verify(immediatePatronNoticeService, times(0)).acceptNoticeEvent(any());
Mockito.verify(immediatePatronNoticeService, times(0)).sendNotice(any(), any());
Mockito.verify(immediatePatronNoticeService, times(0)).acceptNoticeEvent(any());
Mockito.verify(immediatePatronNoticeService, times(0)).sendNotice(any(), any());

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@AntonAntonich AntonAntonich merged commit 511e096 into master Dec 16, 2024
6 checks passed
gurleenkaurbp pushed a commit that referenced this pull request Jan 17, 2025
CIRC-2198 Implement the code for the feature UXPROD-5001
gurleenkaurbp added a commit that referenced this pull request Jan 17, 2025
* CIRC-2198 Implement the code for the feature UXPROD-5001 (#1521)

CIRC-2198 Implement the code for the feature UXPROD-5001

* Update NEWS.md

* [maven-release-plugin] prepare release v24.3.9

* [maven-release-plugin] prepare for next development iteration

---------

Co-authored-by: Antony Hruschev <[email protected]>
Co-authored-by: Antony_Hruschev <[email protected]>
gurleenkaurbp added a commit that referenced this pull request Jan 17, 2025
* release branch

* Release 24.3.1 (#1517)

* CIRC-2168 Patron notices for the trigger “Item recalled” not sent if the item is not 1st in the title request queue (#1512)

* CIRC-2168 Fix patron notice issue

* CIRC-2168 Fix patron notice issue

* CIRC-2168 Adding test case for the new scenario

* CIRC-2168 Fix sonar issues

* Fixing test case error

* Update NEWS

* [maven-release-plugin] prepare release v24.3.1

* [maven-release-plugin] prepare for next development iteration

* Update NEWS

* [maven-release-plugin] prepare release v24.3.2

* [maven-release-plugin] prepare for next development iteration

* CIRC-2182 Intermediate request support (#1520)

* CIRC-2182 Add support for intermediate request

* CIRC-2182 Add missing permissions

* CIRC-2182 Add missing permissions

* CIRC-2182 Add missing permissions

* CIRC-2182 Refactoring and logging

* CIRC-2182 Extend test

(cherry picked from commit 7d6bfe8)

* [CIRC-2199] Avoid self-invocation for request rules while moving requests (#1522)

* [EUREKA-430] Avoid self-invocation for request rules while moving requests

* [EUREKA-430] Remove unnecessary new constructor

* [EUREKA-430] Add unit tests

* [EUREKA-430] Improve tests

(cherry picked from commit 4414f1d)

* Update NEWS

* [maven-release-plugin] prepare release v24.3.3

* [maven-release-plugin] prepare for next development iteration

* CIRC-2205 Remove redundant permission set declarations

(cherry picked from commit 6b91a09)

* Update NEWS

* [maven-release-plugin] prepare release v24.3.4

* [maven-release-plugin] prepare for next development iteration

* CIRC-2197 Fix search slips for requests queue (#1526)

* CIRC-2197 Fix search slips for requests queue

* CIRC-2197 fix code smells

(cherry picked from commit 6654963)

* Update NEWS

* [maven-release-plugin] prepare release v24.3.5

* [maven-release-plugin] prepare for next development iteration

* CIRC-2219 rename incorrect permissions (#1531)

(cherry picked from commit 297dbe6)

* Update NEWS

* [maven-release-plugin] prepare release v24.3.6

* [maven-release-plugin] prepare for next development iteration

* To release 24.3.7 (#1535)

* CIRC-2177: Filter request by Retrieval Service Point (#1518)

* CIRC-2177: populating request.item new fields before request update and create

* CIRC-2177: populating request.item new fields for request get API's

* CIRC-2177: added debugging log

* CIRC-2177: setting SP and location from requestRepresentation

* CIRC-2177: unit test case implementation

* CIRC-2177: fix unit test issue

* CIRC-2177: fix unit test issue

* CIRC-2177: added check for location and SP in StoredRequestRepresentation

* CIRC-2177: upgraded request-storage interface version from 6.1 to 6.2

* Update NEWS.md file

* [maven-release-plugin] prepare release v24.3.7

* [maven-release-plugin] prepare for next development iteration

* CIRC-2197 add limit to requests fetching query

(cherry picked from commit 2b857d9)

* Update NEWS

* [maven-release-plugin] prepare release v24.3.8

* [maven-release-plugin] prepare for next development iteration

* CIRC-2198 Implement the code for the feature UXPROD-5001 (#1521)

CIRC-2198 Implement the code for the feature UXPROD-5001

* Update NEWS.md

* [maven-release-plugin] prepare release v24.3.9

* [maven-release-plugin] prepare for next development iteration

---------

Co-authored-by: MagzhanArtykov <[email protected]>
Co-authored-by: Vignesh <[email protected]>
Co-authored-by: Roman_Barannyk <[email protected]>
Co-authored-by: Roman Barannyk <[email protected]>
Co-authored-by: OleksandrVidinieiev <[email protected]>
Co-authored-by: Saba-Zedginidze-EPAM <[email protected]>
Co-authored-by: Oleksandr Vidinieiev <[email protected]>
Co-authored-by: Kapil Verma <[email protected]>
Co-authored-by: Antony Hruschev <[email protected]>
Co-authored-by: Antony_Hruschev <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants