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

Remove domain specific scalars #142

Closed pmjordan closed 4 weeks ago

pmjordan commented 1 year ago

TOSCA v2 is intended to be independent of the application domain but there three concrete scalars defined which are only relevant to some domains; they are probably only included to support profiles which have been removed. size is only used in the scalar example. frequency and bitrate are not used at all.

I suggest these three scalars are removed from V2.

tliron commented 1 year ago

TOSCA doesn't let you create new primitive types, so what's in the box is what we get. I personally find these extra scalar types useful in some of my profiles and examples. If anything, I think there's room to propose additional scalar types.

pmjordan commented 1 year ago

I'm planning to raise a new issue aimed at generalising the definition of scalars to allow users to define thier own.