We have the following annotation for a Component in a project:
@Profile("!department")
This means run this component when department is not an active profile. However, can you do something like:
@Profile("!department" || "datamigration" )
OR
@Profile(["!department","datamigration"] )
Basically I want a way to be able to say, use this Component
if:
This should be enough
@Profile({"!department","datamigration"})
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With