Skip to content

Commit

Permalink
MODEXPW-489 - Remove unused updating functionality (#557)
Browse files Browse the repository at this point in the history
  • Loading branch information
siarhei-charniak authored Aug 15, 2024
1 parent 3a92660 commit b38fa56
Show file tree
Hide file tree
Showing 61 changed files with 43 additions and 5,608 deletions.
237 changes: 2 additions & 235 deletions descriptors/ModuleDescriptor-template.json
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@
"provides": [
{
"id": "bulk-edit",
"version": "3.0",
"version": "4.0",
"handlers": [
{
"methods": [ "POST" ],
Expand Down Expand Up @@ -210,75 +210,6 @@
"consortium-search.items.collection.get"
]
},
{
"methods": [ "POST" ],
"pathPattern": "/bulk-edit/{id}/item-content-update/upload",
"permissionsRequired": [ "bulk-edit.items-content-update.collection.post" ],
"modulePermissions": [
"inventory-storage.call-number-types.item.get",
"inventory-storage.call-number-types.collection.get",
"inventory-storage.item-damaged-statuses.item.get",
"inventory-storage.item-damaged-statuses.collection.get",
"inventory-storage.electronic-access-relationships.item.get",
"inventory-storage.electronic-access-relationships.collection.get",
"inventory-storage.item-note-types.item.get",
"inventory-storage.item-note-types.collection.get",
"inventory-storage.service-points.item.get",
"inventory-storage.service-points.collection.get",
"inventory-storage.statistical-codes.item.get",
"inventory-storage.statistical-codes.collection.get",
"inventory-storage.material-types.item.get",
"inventory-storage.material-types.collection.get",
"inventory-storage.loan-types.item.get",
"inventory-storage.loan-types.collection.get",
"inventory-storage.locations.item.get",
"inventory-storage.locations.collection.get",
"inventory-storage.instances.item.get",
"inventory-storage.instances.collection.get",
"inventory-storage.holdings.item.get",
"inventory-storage.holdings.collection.get",
"configuration.entries.collection.get"
]
},
{
"methods": [ "POST" ],
"pathPattern": "/bulk-edit/{id}/user-content-update/upload",
"permissionsRequired": [ "bulk-edit.users-content-update.collection.post" ],
"modulePermissions": [
"users.collection.get",
"users.item.get",
"users.item.put",
"usergroups.item.get",
"addresstypes.item.get",
"proxiesfor.item.get",
"departments.item.get",
"usergroups.collection.get",
"addresstypes.collection.get"
]
},
{
"methods": [ "POST" ],
"pathPattern": "/bulk-edit/{id}/holdings-content-update/upload",
"permissionsRequired": [ "bulk-edit.holdings-content-update.collection.post" ],
"modulePermissions": [
"inventory-storage.instances.item.get",
"inventory-storage.holdings-types.collection.get",
"inventory-storage.holdings-types.item.get",
"inventory-storage.locations.collection.get",
"inventory-storage.locations.item.get",
"inventory-storage.call-number-types.collection.get",
"inventory-storage.call-number-types.item.get",
"inventory-storage.holdings-note-types.collection.get",
"inventory-storage.holdings-note-types.item.get",
"inventory-storage.ill-policies.collection.get",
"inventory-storage.ill-policies.item.get",
"inventory-storage.holdings-sources.collection.get",
"inventory-storage.holdings-sources.item.get",
"inventory-storage.statistical-codes.collection.get",
"inventory-storage.statistical-codes.item.get",
"inventory-storage.electronic-access-relationships.collection.get"
]
},
{
"methods": [ "POST" ],
"pathPattern": "/bulk-edit/{id}/start",
Expand Down Expand Up @@ -331,104 +262,6 @@
"inventory-storage.holdings.item.put"
]
},
{
"methods": [
"POST"
],
"pathPattern": "/bulk-edit/{jobId}/roll-back",
"permissionsRequired": [
"bulk-edit.roll-back.item.post"
],
"modulePermissions": [
"users.collection.get",
"users.item.get",
"users.item.put",
"usergroups.item.get",
"addresstypes.item.get",
"proxiesfor.item.get",
"departments.item.get",
"usergroups.collection.get",
"addresstypes.collection.get",
"data-export.job.item.get"
]
},
{
"methods": [ "GET" ],
"pathPattern": "/bulk-edit/{jobId}/preview/users",
"permissionsRequired": [ "bulk-edit.preview-users.collection.get" ],
"modulePermissions": [
"users.collection.get",
"addresstypes.collection.get",
"usergroups.collection.get"
]
},
{
"methods": [ "GET" ],
"pathPattern": "/bulk-edit/{jobId}/preview/items",
"permissionsRequired": [ "bulk-edit.preview-items.collection.get" ],
"modulePermissions": [
"inventory.items.collection.get",
"inventory-storage.material-types.collection.get",
"inventory-storage.statistical-codes.collection.get",
"inventory-storage.item-note-types.collection.get",
"inventory-storage.call-number-types.collection.get",
"inventory-storage.electronic-access-relationships.collection.get",
"inventory-storage.service-points.collection.get",
"users.collection.get",
"inventory-storage.locations.collection.get",
"inventory-storage.loan-types.collection.get",
"inventory-storage.item-damaged-statuses.collection.get",
"inventory-storage.instances.collection.get",
"inventory-storage.holdings.collection.get",
"configuration.entries.collection.get"
]
},
{
"methods": [ "GET" ],
"pathPattern": "/bulk-edit/{jobId}/preview/holdings",
"permissionsRequired": [ "bulk-edit.preview-holdings.collection.get" ],
"modulePermissions": [
"inventory-storage.holdings.collection.get",
"inventory-storage.holdings-types.collection.get",
"inventory-storage.holdings-types.item.get",
"inventory-storage.locations.collection.get",
"inventory-storage.locations.item.get",
"inventory-storage.call-number-types.collection.get",
"inventory-storage.call-number-types.item.get",
"inventory-storage.ill-policies.collection.get",
"inventory-storage.ill-policies.item.get",
"inventory-storage.holdings-sources.collection.get",
"inventory-storage.instances.item.get",
"inventory-storage.statistical-codes.collection.get",
"inventory-storage.statistical-codes.item.get",
"inventory-storage.electronic-access-relationships.collection.get",
"inventory-storage.holdings-note-types.collection.get"
]
},
{
"methods": [ "GET" ],
"pathPattern": "/bulk-edit/{jobId}/errors",
"permissionsRequired": [ "bulk-edit.errors.collection.get" ],
"modulePermissions": []
},
{
"methods": [ "GET" ],
"pathPattern": "/bulk-edit/{jobId}/preview/updated-items/download",
"permissionsRequired": [ "bulk-edit.preview.updated-items.collection.get" ],
"modulePermissions": []
},
{
"methods": [ "GET" ],
"pathPattern": "/bulk-edit/{jobId}/preview/updated-users/download",
"permissionsRequired": [ "bulk-edit.preview.updated-users.collection.get" ],
"modulePermissions": []
},
{
"methods": [ "GET" ],
"pathPattern": "/bulk-edit/{jobId}/preview/updated-holdings/download",
"permissionsRequired": [ "bulk-edit.preview.updated-holdings.collection.get" ],
"modulePermissions": []
},
{
"methods": [ "GET" ],
"pathPattern": "/refresh-presigned-url",
Expand Down Expand Up @@ -489,66 +322,11 @@
"displayName" : "upload identifiers list",
"description" : "Upload list of item identifiers"
},
{
"permissionName" : "bulk-edit.items-content-update.collection.post",
"displayName" : "upload items content update collection",
"description" : "Upload collection of item content updates"
},
{
"permissionName" : "bulk-edit.users-content-update.collection.post",
"displayName" : "upload users content update collection",
"description" : "Upload collection of user content updates"
},
{
"permissionName" : "bulk-edit.holdings-content-update.collection.post",
"displayName" : "upload holdings records content update collection",
"description" : "Upload collection of holdings records content updates"
},
{
"permissionName" : "bulk-edit.preview.updated-items.collection.get",
"displayName" : "download updated items preview csv",
"description" : "Download csv of preview updated items"
},
{
"permissionName" : "bulk-edit.preview.updated-users.collection.get",
"displayName" : "download updated users preview csv",
"description" : "Download csv with preview of updated users"
},
{
"permissionName" : "bulk-edit.preview.updated-holdings.collection.get",
"displayName" : "download updated holdings records preview csv",
"description" : "Download csv with preview of updated holdings records"
},
{
"permissionName": "bulk-edit.start.item.post",
"displayName": "start update items",
"description": "Start update items"
},
{
"permissionName": "bulk-edit.roll-back.item.post",
"displayName": "roll back list of uploaded items",
"description": "Roll back list of uploaded items"
},
{
"permissionName" : "bulk-edit.preview-users.collection.get",
"displayName" : "get N users for preview",
"description" : "Get N users for preview"
},
{
"permissionName" : "bulk-edit.preview-items.collection.get",
"displayName" : "get N items for preview",
"description" : "Get N items for preview"
},
{
"permissionName" : "bulk-edit.preview-holdings.collection.get",
"displayName" : "get N holdings for preview",
"description" : "Get N holdings for preview"
},
{
"permissionName" : "bulk-edit.errors.collection.get",
"displayName" : "get errors for preview",
"description" : "Get errors for preview"
},
{
"permissionName" : "refresh-presigned-url.get",
"displayName" : "Get refreshed presigned url for export file",
Expand All @@ -560,18 +338,7 @@
"description" : "All permissions for bulk-edit module",
"subPermissions" : [
"bulk-edit.item.post",
"bulk-edit.items-content-update.collection.post",
"bulk-edit.users-content-update.collection.post",
"bulk-edit.holdings-content-update.collection.post",
"bulk-edit.preview.updated-items.collection.get",
"bulk-edit.preview.updated-users.collection.get",
"bulk-edit.preview.updated-holdings.collection.get",
"bulk-edit.start.item.post",
"bulk-edit.roll-back.item.post",
"bulk-edit.preview-users.collection.get",
"bulk-edit.preview-items.collection.get",
"bulk-edit.preview-holdings.collection.get",
"bulk-edit.errors.collection.get"
"bulk-edit.start.item.post"
]
},
{
Expand Down
Loading

0 comments on commit b38fa56

Please sign in to comment.