This is a static archive of the previous Open Grid Forum Redmine content management system saved from host redmine.ogf.org file /boards/30/topics/458?r=461 at Thu, 03 Nov 2022 15:29:57 GMT Rendering/Parsing issues with hierarchical 'attributes' - Public Comments - Open Grid Forum

Rendering/Parsing issues with hierarchical 'attributes'

Added by Boris Parak over 7 years ago

A rendering specification cannot decide to split attribute names on '.' to create a hierarchical structure when the Core document defines attribute names as indivisible identifiers (without any internal structure). Forcing this approach will break attributes with names containing other attribute names as prefixes:

occi.core.target = "value"
occi.core.target.type = "value"

It will also make complex attribute values difficult/impossible to identify, e.g. Object (Hash) as an attribute value.

I would recommend flattening this hierarchical structure to:

"attributes": {
"occi.core.attribute.name": Object,
...
}

IMHO, this is an important issue that needs to be addressed.


Replies (2)

(1-2/2)

This is a static archive of the previous Open Grid Forum Redmine content management system saved from host redmine.ogf.org file /boards/30/topics/458?r=461 at Thu, 03 Nov 2022 15:29:57 GMT