The requirement of exclusivity of the relationship between Segment and application is probably a bit too strict. While it is true that this is a requirement at run time (the time of generate_modules call), when creating the schema, this is not strictly necessary and it enforces a certain rigidity and duplication in the configuration database.
We should investigate:
- impact of removing the exclusivity constraint
- Moving the check in a verification step and at run time
Example of issues caused by this have been reported also in the case of daqsystemtest: see 19 August 2025 SWIT meeting, slides here