[NAE-1988] Extend Id of processes resource for better resolution #262
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Implements new id object ProcessResourceId that represents the id of an object that belongs to some process. The id is defined with two parts with the symbol '-' as a separator. The first part, prefix, is encoded Process (PetriNet) ObjectId named process short. The second part is an ObjectId that MongoDB generates and thus it is backwards compatible.
This definition of an id helps to identify to what process an object belongs to quickly. It is helpful in the process-resolving for NAE cluster.
Implements NAE-1988
Dependencies
There are no dependencies on other PR
How Has Been This Tested?
Manually tested and current tests refactored to match new id.
Test Configuration
Checklist: