Github user tliron commented on a diff in the pull request:
https://github.com/apache/incubator-ariatosca/pull/143#discussion_r125753620
--- Diff:
extensions/aria_extension_tosca/profiles/tosca-simple-1.0/capabilities.yaml ---
@@ -132,6 +132,7 @@ capability_types:
specification: tosca-simple-1.0
specification_section: 5.4.10
specification_url:
'http://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.0/cos01/TOSCA-Simple-Profile-YAML-v1.0-cos01.html#DEFN_TYPE_CAPABILITIES_SCALABLE'
+ role: scaling
--- End diff --
The `role` meta data is the way to specify special behavior for types in
ARIA. This is much safer than checking if name == `aria.Scaling`, or even if it
inherits from that. Roles are inherited with the type, so subtypes will have
the same role (unless they override it). We use this in a few cases, for
example there is `host` role for Compute and for HostedOn relationships.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---