Closed Bug 660314 Opened 14 years ago Closed 14 years ago

Provide full list of environment names as part of environment-group response object

Categories

(Mozilla QA :: Case Conductor-Platform, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: carljm, Unassigned)

Details

The reasonable objection to https://bugzilla.mozilla.org/show_bug.cgi?id=659414 is that it could increase the size of responses too much, when environment profile data is not always needed. A compromise measure that would greatly reduce the number of queries needed to display environment profile data in a useful format, would be if responses for environment groups contained the full list of member environment names and their type names. So a single API call to fetch the environmentgroups for an object would contain all the data needed to display that object's environment profile usefully, whereas currently just displaying environment profile for a single object can require many API calls. If you are querying environment groups, you are pretty much always going to want the names of the member environments and their types. And environment groups are not likely to be so huge as to cause a response-size problem here.
Carl, would you like me to promote this to a candidate for 1.0 fixing in the platform?
Severity: normal → enhancement
Target Milestone: --- → 1.0
To be clear, environment-group response should include both name *and type name* of each member environment.
OK, I think, I'll add another end-point - /environmentgroups/exploded/ to return all the contained environments. This way you'll have options on what to return back... I'll do the same for profiles - /environmentprofiles/exploded/, which would return all the exploded groups for profile...
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.