Errors guidelines reference service name, should be type
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openstack-api-sig |
Fix Released
|
Medium
|
Chris Dent |
Bug Description
In the Errors guideline: http://
Should this be "type"?
I think it should, since as a general rule we don't like to use the project name as a "public" thing. However, that requires that any other implementation of a service type (presumably such a thing is possible, even though not probable) must use the same error codes, which implies that they are the same API.
I've heard both sides of this: some (most?) people say service type _is_ the API.
In any case, it is likely that the errors doc needs to be updated.
If it does, then there's chance that other older docs do as well.
Changed in openstack-api-wg: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
assignee: | nobody → Chris Dent (cdent) |
Changed in openstack-api-wg: | |
status: | Confirmed → Fix Released |
the main downside i can see from switching to the service type instead of the service name would be a situation where there are multiple services which could satisfy a type. that would become confusing in the error output to determine where the actual error originated.
i'm not sure if this is an actual problem that would exist though or merely a hypothetical. i don't personally have an issue with changing this to the service type but it would be nice to hear from someone in the operators group as they would actually deal with these issues more frequently.