ariatosca-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tliron <>
Subject [GitHub] incubator-ariatosca pull request #143: ARIA-254 Create multiple nodes per te...
Date Wed, 05 Jul 2017 20:48:51 GMT
Github user tliron commented on a diff in the pull request:
    --- 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: ''
    +      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

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 or file a JIRA ticket
with INFRA.

View raw message