actions missing attribute definitions
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ooi |
Expired
|
Undecided
|
Unassigned |
Bug Description
Some actions served in the OOI model are missing attribute definitions for `method` or other applicable attributes, e.g. 'http://
Example:
{
"attributes": {
"method": {
"type": "string"
}
},
"scheme": "http://
"term": "suspend",
"title": "Change compute status to suspended"
}
vs.
{
"scheme": "http://
"term": "suspend",
"title": "suspend compute instance"
}
Changed in ooi: | |
importance: | Undecided → High |
milestone: | none → 1.2.0 |
status: | New → Confirmed |
Changed in ooi: | |
milestone: | 1.2.0 → none |
importance: | High → Undecided |
Hi Boris,
is the "method" attribute mandatory? I have reviewed the OCCI spec and I only could found the following (OCCI core): "An Action instance MAY identify Attributes which correspond to parameters of the invocable operation."
In this particular case OpenStack does not allow any method to be specified, therefore I guess not having any attributes here is ok.