[
https://issues.apache.org/jira/browse/ARIA-358?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Avia Efrat updated ARIA-358:
----------------------------
Description:
Restrict the usage of a node type assigned in a substitution_mappings'
node_type field to be used only in node templates which contain the
'substitutable' directive.
This will be achieved via introduction of a new top-level node type, that all
substitution types will inherit from it. Beside of simplifying the validation
of substituting type usages, introducing a new substitution type also makes
sense as it shouldn't have lifecycle interfaces, as opposed to other 'normal'
node types, that inherit from tosca.nodes.Root
was:
Restrict the usage of a node type assigned in a substitution_mappings'
node_type field to be used only in node templates which contain the
'substitutable' directive.
> Restrict usages of substitution mapping node type
> -------------------------------------------------
>
> Key: ARIA-358
> URL: https://issues.apache.org/jira/browse/ARIA-358
> Project: AriaTosca
> Issue Type: Story
> Affects Versions: 0.2.0
> Reporter: Avia Efrat
> Assignee: Avia Efrat
> Priority: Minor
>
> Restrict the usage of a node type assigned in a substitution_mappings'
> node_type field to be used only in node templates which contain the
> 'substitutable' directive.
> This will be achieved via introduction of a new top-level node type, that all
> substitution types will inherit from it. Beside of simplifying the validation
> of substituting type usages, introducing a new substitution type also makes
> sense as it shouldn't have lifecycle interfaces, as opposed to other 'normal'
> node types, that inherit from tosca.nodes.Root
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)