Policies in service templates are serialized not as a list
Closed this issue · 2 comments
miwurster commented
According to 3.9.2 in the TOSCA spec, policies in a service template must be serialized as a list of policy definitions. Like in this example:
policies:
- my_anti_collocation_policy:
type: my.policies.anticolocateion
targets: [ my_co_location_group ]
# For this example, specific policy definitions are considered
# domain specific and are not included here
Currently, Winery serializes policies in a map.
miwurster commented
Fixed by OpenTOSCA#216