Open tliron opened 2 years ago
A couple of comments:
description
should be in about
. It's basically an extension of description
.platform
could be something like "5G DU". The idea is to make room for an intended target environment, writ large or small. Note that I was indeed careful not to add an orchestrator
key.Is it useful to add a new about
keyname when we already have a metadata
keyname?
All these fields seem be useful for documenting a TOSCA file and seem to be useless for orchestration.
So why not describing them as metadata
?
How could we be sure to not miss an important/interessing/useful about field?
Do we need to let about
open? For instance about
could be a map with any YAML values, just like metadata
.
How will a user choice between defining an about
field or defining a metadata
?
Good question. about
is indeed a kind of metadata. However, during our discussions we seemed to agree on a few things:
description
. But this seemed to "soil" the top level and felt inelegant. So I proposed organizing them under their own keyname, about
.I also propose moving description
to about
, too (and actually having short and long versions), because it's metadata of exactly the same order. Note that the description
keyname at the file level here works very differently from the rest of its usage in TOSCA, where it applies to entities. The TOSCA file is not an entity in any grammatical sense. It makes sense to me to treat that kind of metadata differently.
So, what is the goal of this feature? In my view:
metadata
, it allows metadata to be more clearly focused on orchestration. (Generally, I would like to see examples in the TOSCA spec of real-world usage of metadata. I can contribute a few.)There are a number of existing standards available for metadata. Most seem to invoke the 'Dublin Core' or DCMI Using this standard would appear to provide formal specification of at least some of the attributes in the proposal including description, author/creator and licence. While the terms in that structure can be structured using RDF https://en.wikipedia.org/wiki/Resource_Description_Framework I don't think that complexity should put us off as the DCMI paragraph 2 of the DCMI Introduction section seems to specifically allow RDF to be disregarded in suituation such as TOSCA.
Every TOSCA file (see #112) can have an
about
keyname with the following keys, all optional: