Skip to content

Commit

Permalink
[MODORDSTOR-364] Remove ID as required field from Routing Lists
Browse files Browse the repository at this point in the history
  • Loading branch information
Saba-Zedginidze-EPAM committed Apr 26, 2024
1 parent af0d72e commit 1811754
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion ramls/acq-models
3 changes: 0 additions & 3 deletions src/main/java/org/folio/rest/impl/RoutingListsAPI.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,6 @@ public void getOrdersStorageRoutingLists(String query, String totalRecords, int
@Validate
public void postOrdersStorageRoutingLists(RoutingList entity, Map<String, String> okapiHeaders,
Handler<AsyncResult<Response>> asyncResultHandler, Context vertxContext) {
if (StringUtils.isBlank(entity.getId())) {
entity.setId(UUID.randomUUID().toString());
}
PgUtil.post(ROUTING_LIST_TABLE, entity, okapiHeaders, vertxContext, PostOrdersStorageRoutingListsResponse.class, asyncResultHandler);
}

Expand Down

0 comments on commit 1811754

Please sign in to comment.