Skip to content

invalid requirement syntax #1

@glelouet

Description

@glelouet

requirements in tosca specification is eg

  requirements:
    - database:
        node: my_database
        capability: Endpoint.Database
        relationship: my.types.CustomDbConnection

in this yaml file it is

    requirements:
      - host: tosca.capabilities.Container
        relationship: tosca.relationships.HostedOn

however this syntax is invalid. It should instead be

    requirements:
      - host:
          capability: tosca.capabilities.Container
          relationship: tosca.relationships.HostedOn

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions