Skip to content

Conversation

@kaladay
Copy link
Contributor

@kaladay kaladay commented Nov 24, 2025

Resolves MODWRKFLOW-57 .

Utilize RepositoryEventHandler annotation to pre-process the Workflow before creating.
Detect if the workflow already exists and if it does then throw an error.

Implement the error handling functionality.
Make sure this functionality is consistently being handled for all defined exceptions.

Perform this check relative to the version tag string to allow for different versions of the same UUID.

Enable @Version annotation support.

Ensure that a valid version number is used by default.

This tells Spring Data Rest to utilize this field when implementing optimistic locking on entities.
The minimum length is 1, so a version must be supplied.

Provide `1.0` as the default.
Utilize `RepositoryEventHandler` annotation to pre-process the Workflow before creating.
Detect if the workflow already exists and if it does then throw an error.

Implement the error handling functionality.
Make sure this functionality is consistently being handled for all defined exceptions.

Perform this check relative to the version tag string to allow for different versions of the same UUID.
@kaladay kaladay requested a review from a team November 24, 2025 22:37
Make the logger static.

Remove `public` modifiers from unit tests.

Remove unnecessary `throws` on unit test.
The `openapi.xml` file is rebuilt using `mvn clean verify -P openapi`.
@sonarqubecloud
Copy link

@kaladay kaladay merged commit 2549273 into master Nov 25, 2025
6 checks passed
@kaladay kaladay deleted the MODWRKFLOW-57 branch November 25, 2025 16:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants