This is a static archive of the previous Open Grid Forum Redmine content management system saved from host redmine.ogf.org file /boards/19/topics/368?r=372 at Thu, 03 Nov 2022 15:39:01 GMT 5.4 Mixin Format -- related vs. depends + applies - Public Comments Archive - Open Grid Forum

5.4 Mixin Format -- related vs. depends + applies

Added by Boris Parak over 8 years ago

A while ago, there was a discussion about the "related" property in mixins and the possibility of replacing it with "depends" and "applies", e.g.

"mixins":[
{
  "depends":[
    "http://schemas.ogf.org/occi/infrastructure#resource_tpl" 
  ],
  "applies":[
    "http://schemas.ogf.org/occi/infrastructure#compute" 
  ],
  "location":"/mixin/resource_tpl/large/",
  "scheme":"http://schema.example.org/occi/infrastructure/resource_tpl#",
  "term":"large",
  "title":"Large Instance",
  "attributes":{ ... }
}
]

This was supposed to provide more information and improve readability.

I guess this is something for OCCI 1.2 as it would require changes in the HTTP rendering as well. Am I wrong?


Replies (1)

RE: 5.4 Mixin Format -- related vs. depends + applies - Added by Andy Edmonds about 8 years ago

I believe this is now in core so if accepted must be reflected in the JSON rendering.

Andy

(1-1/1)

This is a static archive of the previous Open Grid Forum Redmine content management system saved from host redmine.ogf.org file /boards/19/topics/368?r=372 at Thu, 03 Nov 2022 15:39:01 GMT