oasis-open / tosca-community-contributions

OASIS TC Open Repository: Manages TOSCA profiles, tests, and templates that are maintained by the TOSCA community. They are intended to be used as examples to help developers get started with TOSCA and to test compliance of TOSCA implementations with the standard.
https://github.com/oasis-open/tosca-community-contributions
Apache License 2.0
39 stars 25 forks source link

Extended metadata data model #109

Closed tliron closed 2 years ago

tliron commented 2 years ago

In TOSCA 1.X metadata comprises a key-value map of strings to strings.

For TOSCA 2.0 we propose that metadata would instead use all types supported by the YAML 1.2.2 recommended schemas. Namely:

map, seq, str, null, bool, int, float

Our only restriction would be that the metadata keyname itself be a map.

Important notes:

lauwers commented 2 years ago

New metadata grammar has been documented in TOSCA-v2.0-wd05-rev02