-
Notifications
You must be signed in to change notification settings - Fork 5
feat(documenten): added operations to bulk upload documents, check th… #1785
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
base: next-minor
Are you sure you want to change the base?
feat(documenten): added operations to bulk upload documents, check th… #1785
Conversation
…e bulk upload status and get a report on the upload
zgw/documenten-api/src/main/kotlin/com/ritense/documentenapi/bulk/DocumentImportStatus.kt
Show resolved
Hide resolved
zgw/documenten-api/src/main/kotlin/com/ritense/documentenapi/bulk/CreateImportResult.kt
Show resolved
Hide resolved
zgw/documenten-api/src/test/kotlin/com/ritense/documentenapi/bulk/TestOutboxService.kt
Show resolved
Hide resolved
@@ -0,0 +1,31 @@ | |||
package com.ritense.documentenapi.bulk |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If the goal is to use it more often, maybe it should be moved to the test-utils-common
module instead?
…this makes usage easier
@@ -30,5 +30,6 @@ class ResourcePermissionActionProvider : ResourceActionProvider<ResourcePermissi | |||
var CREATE = Action<ResourcePermission>(Action.CREATE) | |||
var MODIFY = Action<ResourcePermission>(Action.MODIFY) | |||
var DELETE = Action<ResourcePermission>(Action.DELETE) | |||
var IMPORT = Action<ResourcePermission>(Action.DELETE) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wrong action
@@ -17,6 +17,7 @@ | |||
package com.ritense.authorization.request | |||
|
|||
import com.ritense.authorization.Action | |||
import java.util.* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use individual imports instead of * imports. Pointing it out for this one, but it's in a bunch of files.
Added operations to bulk upload documents, check the bulk upload status and get a report on the upload
Describe the changes
There is no GitHub issue. I was missing a few endpoints from open-zaak to import bulk documents; see https://open-zaak.readthedocs.io/en/stable/api/experimental.html#id2
I added a few things to make testing of these libs easier.
I have not been able to test it against a running open-zaak as I do not know how I can build Valtimo locally. Maybe someone can help me with that?
Breaking changes
Documentation
Link to the pull request in the Valtimo documentation repository:
New features or changes that have been introduced have been documented.
Tests
Unit tests have been added that cover these changes
Integration tests have been added that cover these changes
Security
The Secure by Default principle has been applied to these changes
Added or changed REST API endpoints have authentication and authorization in place
Valtimo access control checks have been implemented
Dependencies
Newly added dependencies do not introduce known vulnerabilities/CVE's and are in line with the Valtimo license