German Freelancer Java, Spring Boot, JUnit Jupiter, Apache Maven PMC Member @ASFMavenProject, Apache Software Foundation Member @TheASF, Mojo Haus Member, Java Developer, CI / CD Fan.
You might have already used the strategy pattern in relationship with Spring Boot where it is very convenient to use.
With a few changes in your code we can easily solve the problem of having different strategies which using the same keys in our code.K. Marbaise
During a code review, I suggested some code improvement related to JDK8+ streams.
Here is a discussion on readability and performance!K. Marbaise