Further streamline the request YAML
So far the YAML we need to prepare (now via templates, easier) contains various bits of lines such as
output:
- type: SL.DST
visible: false
- type: CHARM.DST
visible: false
- type: B2CC.DST
visible: false
- type: RD.DST
visible: false
- type: BANDQ.DST
visible: false
- type: QEE.DST
visible: false
- type: B2OC.DST
visible: false
- type: BNOC.DST
visible: false
While OK, I feel this could be simplified for the 99.9% of cases where visible is set to false/true. For example, you could have a visible_all
that would take "lower priority" compared to visible
(in case you want to keep the possibility to change the one item and not keep the above syntax) and would set false/true for all items in one go. It would certainly make the YAML quite smaller and hence more readable.
You could go further and have types
as a list. All in all the above would be replaced with
output:
- type: ["B2CC.DST", "B2OC.DST", "BANDQ.DST", "BNOC.DST", "CHARM.DST", "QEE.DST", "RD.DST", "SL.DST"]
visible_all: false
, which seems so much nicer to me :-).
WDYT @fstagni, @nraja and @nskidmor?
Let's try and converge and get this simplified. [Maybe you prefer not to have the list ["SL.DST", ...]
but rather keep one per line, for example.]
Many thanks.