Fix IntegrationManagementConfiguration.obtainObservationPatterns()
for HashSet
sort
#9260
Milestone
IntegrationManagementConfiguration.obtainObservationPatterns()
for HashSet
sort
#9260
When we provide config like:
that
HashSet
in theIntegrationManagementConfiguration.obtainObservationPatterns()
makes specific pattern useless: the common*
is moved to the first position and when we callPatternMatchUtils.smartMatch()
, this*
always wins.That is according to Javadocs:
Revise the logic in the
IntegrationManagementConfiguration.obtainObservationPatterns()
to retain order of the provided patterns.Or even make it smarter to ignore all the regular patterns if common
*
is present.Plus move
*
to the end of the final array to let all those negative patterns make their decision.The text was updated successfully, but these errors were encountered: