Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

artifact definitions need clarification #313

Open
lauwers opened this issue Feb 6, 2025 · 0 comments
Open

artifact definitions need clarification #313

lauwers opened this issue Feb 6, 2025 · 0 comments

Comments

@lauwers
Copy link
Contributor

lauwers commented Feb 6, 2025

Tal's artifact definition example shows an artifact definition in a node template the refines an artifact definition in the corresponding node type. Neither the TOSCA v2.0 spec nor the TOSCA Simple Profile in YAML v1.3 spec suggests that this is allowed. In fact, the artifact definition in the TOSCA v2.0 spec states that if an artifact is redefined, no keyname definitions are inherited, which suggests that "refinement" is not allowed.

By the way, it has always bothered me that artifacts are handled different than all other entities in TOSCA. All other entities are defined in types definitions and assigned in templates. We should consider introducing separate artifact definitions in node types and artifact assignments in node templates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant