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

CIRCSTORE-554 Release 17.3.2 #502

Merged
merged 4 commits into from
Dec 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## 17.3.2 2024-12-12
* Add Intermediate ECS request phase (CIRCSTORE-542)

## 17.3.1 2024-11-30
* Add ILR support for publishing batch request update events (CIRCSTORE-526)
* Publish request batch event when requests are reordered (CIRCSTORE-521)
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<modelVersion>4.0.0</modelVersion>
<artifactId>mod-circulation-storage</artifactId>
<groupId>org.folio</groupId>
<version>17.3.2-SNAPSHOT</version>
<version>17.3.3-SNAPSHOT</version>
<licenses>
<license>
<name>Apache License 2.0</name>
Expand Down
2 changes: 1 addition & 1 deletion ramls/request.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"ecsRequestPhase": {
"description": "Stage in ECS request process, absence of this field means this is a single-tenant request",
"type": "string",
"enum": ["Primary", "Secondary"]
"enum": ["Primary", "Secondary", "Intermediate"]
},
"requestDate": {
"description": "Date the request was made",
Expand Down
9 changes: 9 additions & 0 deletions src/test/java/org/folio/rest/api/RequestsApiTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -1982,6 +1982,15 @@ public void canCreateRequestWithEcsRequestPhase() throws MalformedURLException,
.create(),
requestStorageUrl()).getJson();
assertThat(representation.getString("ecsRequestPhase"), is("Secondary"));

representation = createEntity(
new RequestRequestBuilder()
.page()
.intermediate()
.withId(UUID.randomUUID())
.create(),
requestStorageUrl()).getJson();
assertThat(representation.getString("ecsRequestPhase"), is("Intermediate"));
}

@Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -402,4 +402,8 @@ public RequestRequestBuilder secondary() {
return withEcsRequestPhase("Secondary");
}

public RequestRequestBuilder intermediate() {
return withEcsRequestPhase("Intermediate");
}

}
Loading