Skip to content

Commit

Permalink
feat: delete deprecated shelf-locations API (#1103)
Browse files Browse the repository at this point in the history
Closes: MODINVSTOR-1183
  • Loading branch information
psmagin authored Oct 25, 2024
1 parent 6eb0a04 commit e61c27b
Show file tree
Hide file tree
Showing 14 changed files with 6 additions and 534 deletions.
8 changes: 4 additions & 4 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
## v28.0.0 In progress
### Breaking changes
* Migrate "publicationPeriod" data to the Dates object and remove it from the Instance schema ([MODINVSTOR-1232](https://folio-org.atlassian.net/browse/MODINVSTOR-1232))
* Delete deprecated `shelf-locations` API ([MODINVSTOR-1183](https://folio-org.atlassian.net/browse/MODINVSTOR-1183))

### New APIs versions
* Provides `instance-storage 11.0`
Expand All @@ -14,6 +15,9 @@
* Requires `bound-with-parts-storage 2.0`
* Requires `async-migration 1.0`

### Removed APIs
* `shelf-locations`

### Features
* Add module descriptor validator plugin and fix the permission names ([MODINVSTOR-1247](https://folio-org.atlassian.net/browse/MODINVSTOR-1247))

Expand Down Expand Up @@ -64,15 +68,12 @@
* Kafka testcontainers: kafka.KafkaContainer, apache/kafka-native:3.8.0, KafkaTopicsExistsTest fix ([MODINVSTOR-1251](https://folio-org.atlassian.net/browse/MODINVSTOR-1251))

### Dependencies
* Bump `LIB_NAME` from `OLD_VERSION` to `NEW_VERSION`
* Bump `domain-models-runtime` from `35.2.0` to `35.2.2`
* Bump `holdings-storage` from `6.0` to `7.0`
* Bump `holdings-storage-batch-sync` from `1.1` to `2.0`
* Bump `holdings-storage-batch-sync-unsafe` from `1.0` to `2.0`
* Bump `folio-kafka-wrapper` from `3.1.1` to `3.2.0`
* Add `folio-s3-client` `2.2.0`
* Add `LIB_NAME` `2.7.4`
* Remove `LIB_NAME`

## v27.1.0 2024-03-19
### New APIs versions
Expand All @@ -95,7 +96,6 @@
* Create base for reference data APIs integration tests ([MODINVSTOR-1164](https://issues.folio.org/browse/MODINVSTOR-1164))
* Make response message more informative for hrid exceptions ([MODINVSTOR-1100](https://issues.folio.org/browse/MODINVSTOR-1100))


### Dependencies
* Bump `vertx` from `4.3.5` to `4.5.5`
* Bump `log4j` from `2.17.2` to `2.23.1`
Expand Down
57 changes: 0 additions & 57 deletions descriptors/ModuleDescriptor-template.json
Original file line number Diff line number Diff line change
Expand Up @@ -370,33 +370,6 @@
}
]
},
{
"id": "shelf-locations",
"version": "1.1",
"handlers": [
{
"methods": ["GET"],
"pathPattern": "/shelf-locations",
"permissionsRequired": ["inventory-storage.shelf-locations.collection.get"]
}, {
"methods": ["GET"],
"pathPattern": "/shelf-locations/{id}",
"permissionsRequired": ["inventory-storage.shelf-locations.item.get"]
}, {
"methods": ["POST"],
"pathPattern": "/shelf-locations",
"permissionsRequired": ["inventory-storage.shelf-locations.item.post"]
}, {
"methods": ["PUT"],
"pathPattern": "/shelf-locations/{id}",
"permissionsRequired": ["inventory-storage.shelf-locations.item.put"]
}, {
"methods": ["DELETE"],
"pathPattern": "/shelf-locations/{id}",
"permissionsRequired": ["inventory-storage.shelf-locations.item.delete"]
}
]
},
{
"id": "location-units",
"version": "2.0",
Expand Down Expand Up @@ -1692,31 +1665,6 @@
"displayName": "inventory storage - delete individual material-type",
"description": "delete individual material-type from storage"
},
{
"permissionName": "inventory-storage.shelf-locations.collection.get",
"displayName": "inventory storage - get shelf location collection",
"description": "get shelf location collection from storage"
},
{
"permissionName": "inventory-storage.shelf-locations.item.get",
"displayName": "inventory storage - get individual shelf location",
"description": "get individual shelf location from storage"
},
{
"permissionName": "inventory-storage.shelf-locations.item.post",
"displayName": "inventory storage - create individual shelf location",
"description": "create individual shelf location in storage"
},
{
"permissionName": "inventory-storage.shelf-locations.item.put",
"displayName": "inventory storage - modify shelf location",
"description": "modify shelf location in storage"
},
{
"permissionName": "inventory-storage.shelf-locations.item.delete",
"displayName": "inventory storage - delete individual shelf location",
"description": "delete individual shelf location from storage"
},
{
"permissionName": "inventory-storage.location-units.institutions.collection.get",
"displayName": "inventory storage - location units - get institution collection",
Expand Down Expand Up @@ -2708,11 +2656,6 @@
"inventory-storage.material-types.item.post",
"inventory-storage.material-types.item.put",
"inventory-storage.material-types.item.delete",
"inventory-storage.shelf-locations.collection.get",
"inventory-storage.shelf-locations.item.get",
"inventory-storage.shelf-locations.item.post",
"inventory-storage.shelf-locations.item.put",
"inventory-storage.shelf-locations.item.delete",
"inventory-storage.location-units.institutions.collection.get",
"inventory-storage.location-units.institutions.item.get",
"inventory-storage.location-units.institutions.item.post",
Expand Down
4 changes: 0 additions & 4 deletions ramls/examples/shelflocation.json

This file was deleted.

13 changes: 0 additions & 13 deletions ramls/examples/shelflocations.json

This file was deleted.

70 changes: 0 additions & 70 deletions ramls/shelf-location.raml

This file was deleted.

19 changes: 0 additions & 19 deletions ramls/shelflocation.json

This file was deleted.

24 changes: 0 additions & 24 deletions ramls/shelflocations.json

This file was deleted.

Loading

0 comments on commit e61c27b

Please sign in to comment.