We have the following annotation for a Component in a project:
@Profile("!department")
This means starting this component when the department is not an active profile. However, you can do something like:
@Profile("!department" || "datamigration" )
OR
@Profile(["!department","datamigration"] )
Basically, I want to be able to speak, use this Component
if:
- profile is not a department
- Profile - datamigration
source
share