In the event repository it is allowed to query the data.identity using a regex and the ETOS API supports this. However, when running with certain regexes the ETOS Client will scream and shout that it's not a valid package url. For instance: pkg:something/other[?] would fail (because of ?).
Motivation
A common use-case is to use a regex for ETOS, we should allow this.
Exemplification
Example was provided in description.
Benefits
Happy users.
Possible Drawbacks
Allowing regex will make users use regex and regex is a heavy operation in mongodb. We don't really want users to use regex, but there are cases where they must.
Description
In the event repository it is allowed to query the data.identity using a regex and the ETOS API supports this. However, when running with certain regexes the ETOS Client will scream and shout that it's not a valid package url. For instance:
pkg:something/other[?]
would fail (because of?
).Motivation
A common use-case is to use a regex for ETOS, we should allow this.
Exemplification
Example was provided in description.
Benefits
Happy users.
Possible Drawbacks
Allowing regex will make users use regex and regex is a heavy operation in mongodb. We don't really want users to use regex, but there are cases where they must.