secureCodeBox / engine

Part of the deprecated secureCodeBox v1, see secureCodeBox/secureCodeBox Repo for v2
Apache License 2.0
8 stars 7 forks source link

Update securityTest if already existing instead of throwing an Exception #138

Closed J12934 closed 4 years ago

J12934 commented 4 years ago

Previously the elasticsearch PersistenceProvider throws an exception if a security test with the same id already exists inside the elasticsearch index.

This Pull Requests changes this behavior as a duplicated UUID is more likely to mean that the porcess has multiple persistence steps, and not a UUID Collision.