xlab-si / xopera-examples

Runnable TOSCA examples for xOpera orchestrator
https://xlab-si.github.io/xopera-docs/07-examples.html
Creative Commons Attribution 4.0 International
5 stars 2 forks source link

tosca.capabilities.Compute is incompatible with tosca.relationships.DependsOn #30

Closed philippemerle closed 3 years ago

philippemerle commented 3 years ago

Several xOpera examples define requirements like:

  requirements:
    - <requirement_name>:
         capability: tosca.capabilities.Compute
         relationship: tosca.relationships.DependsOn

But tosca.capabilities.Compute is incompatible with valid target types of tosca.relationships.DependsOn, aka [ tosca.capabilities.Node ].

Line capability: tosca.capabilities.Compute should be replaced by capability: tosca.capabilities.Node in following files:

philippemerle commented 3 years ago

Line capability: tosca.capabilities.Root should be replaced by capability: tosca.capabilities.Node in following files:

anzoman commented 3 years ago

@philippemerle many thanks for finding and fixing these TOSCA inconsistincies!