Merge "Spliting compact services in multiples lines"

This commit is contained in:
Zuul 2018-12-15 18:14:40 +00:00 committed by Gerrit Code Review
commit 752695ae12
1 changed files with 2 additions and 2 deletions

View File

@ -87,7 +87,7 @@ resources:
properties:
value:
yaql:
expression: dict(coalesce($.data, []).where($ != null and $.type = 'node').select([$.service, $.network.replace('_', '')]).groupBy($[0], $[1]))
expression: dict(coalesce($.data, []).where($ != null and $.type = 'node').groupBy(concat('compact_service_', $.service), $.network.replace('_', '')))
data: {get_attr: [IncomingMetadataSettings, value]}
outputs:
@ -96,5 +96,5 @@ outputs:
value:
map_merge:
- {get_attr: [IndividualServices, value]}
- compact_services: {get_attr: [CompactServices, value]}
- {get_attr: [CompactServices, value]}