[FOLIO-3179] ui-inventory-es: align dependency versions affected by Inventory's Optimistic Locking Created: 01/Jun/21  Updated: 23/Aug/21  Resolved: 23/Aug/21

Status: Closed
Project: FOLIO
Components: None
Affects versions: None
Fix versions: None

Type: Story Priority: P2
Reporter: Jakub Skoczen Assignee: Mikhail Fokanov
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original estimate: Not Specified

Issue links:
Cloners
clones UICR-138 align dependency versions affected by... Closed
is cloned by UIREC-139 align dependency versions affected by... Closed
Defines
defines UXPROD-3089 Inventory. Implementing Optimistic Lo... Closed
Sprint: CP: sprint 115, CP: sprint 117, CP: sprint 118, CP: sprint 121
Story Points: 1
Development Team: Core: Platform

 Description   

According to Okapi dependency graph:

http://localhost:9130/_/proxy/modules?require=item-storage,item-storage-batch-sync,holdings-storage,holdings-storage-batch-sync,instance-storage,instance-storace-batch,instance-storage-batch-sync&latest=1

this module depends on one of the Inventory's interfaces that requires a major version change due to introduction of Optimistic Locking (see MODINV-398 Closed and MODINVSTOR-726 Closed ).

The new dependency should support both version: previous and new one.



 Comments   
Comment by Charlotte Whitt [ 07/Jul/21 ]

Hi Jakub Skoczen - Inventory ES is only a prototype and is to be deprecated when we swap the current search in Inventory to be Elasticsearch - UXPROD-3046 Closed .
This I assume (hope) will happen during Lotus.

So I think we can close FOLIO-3179 Closed as won't do.

CC: Holly Mistlebauer Magda Zacharska lew235

Comment by Julian Ladisch [ 07/Jul/21 ]

ui-inventory-es is included into platform-complete https://github.com/folio-org/platform-complete/blob/master/package.json#L32 and deployed in the reference environments.

Either

  • ui-inventory-es is removed from platform-complete, or
  • ui-inventory-es is updated to accept the new inventory interface with optimistic locking.
Comment by Julian Ladisch [ 20/Aug/21 ]

https://github.com/folio-org/ui-inventory-es/blob/master/package.json declares these required interfaces:

  "okapiInterfaces": {
      "inventory": "10.0",
      "instance-storage": "7.0",
      "holdings-storage": "3.0 4.4",
      "item-storage": "8.0", 

These are the old interfaces without optimistic locking.

The new interfaces with optimistic locking needs to be added to this okapiInterfaces section, otherwise the build will fail and ui-inventory-es will not be included into platform-complete reference environments.

Generated at Thu Feb 08 23:26:12 UTC 2024 using Jira 1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d.