Using: pulp-server-2.0.6-1.noarch and based on the docs: https://pulp-dev-guide.readthedocs.org/en/latest/rest-api/repo/groups/members.html & https://pulp-dev-guide.readthedocs.org/en/latest/rest-api/consumer/group/membership.html These two sets of api calls do very similar things (associate/unassociate items with a group). Their return values are completely different. Repo Group associate/unassociate seems to return "list of repository IDs for all repositories in the group" (the state of the group after the add or remove). Consumer group associate/unassociate seems to return 'a list of matched consumer IDs' (what was added or removed) In every other way these two sets of api calls behave exactly the same. It would be very nice if the return data was the same too! -Justin
commit fd3c5b1dc8abd93d471b3b4f8ce49ed96c2ff9c1 Author: Sayli Karmarkar <skarmark> Date: Tue May 28 16:50:43 2013 -0700 927033 - updating consumer group associate and unassociate calls to return a list of all consumers belonging to consumer group similar to repo group membership instead of just those satisfied by the search criteria
Merged to master.
build: 2.2.0-0.2.beta. Some of these were likely included in an earlier build but found them this time with a better BZ query.
Updated consumer group associate and unassociate calls to return a list of all consumers belonging to consumer group similar to repo group membership instead of just those satisfied by the search criteria For testing please test following api- https://pulp-dev-guide.readthedocs.org/en/latest/integration/rest-api/consumer/group/membership.html The documentation is updated as well. Before this bugfix consumer group associate and unassociate apis were returning the consumer that matched criteria specified in the input to the api.
API documentation of how it worked before the bugfix - https://pulp-dev-guide.readthedocs.org/en/latest/rest-api/consumer/group/membership.html
verified
2.2 released http://repos.fedorapeople.org/repos/pulp/pulp/stable/2.2/