pulp/pulp — pull request #126 by jortel (2012-11-05 16:42:01+00:00)
Title: Jortel ta1478

Okay, let me just say that this pull request got a little out of control :/
It includes the stories for hardening bind/unbind and removes rebind. All of these things were related and just ended up on the same branch. A lot of files changed but many of these changes are just tweaking parameters and docstirngs for the bind flows. As such, may of the diffs are not particularly useful.

The most significant changes are:

* Tracking consumer actions on bindings in the DB.
* Introduces the notion of a binding having a (deleted) state.
* bind payload sent in bind request (RMI) instead of query back to the consumer.
* Added (options) passed to handlers for bind/unbind.
* Added bind/unbind itineraries.
* Repository delete REST API using more complex itinerary to track consumer actions for unbinding.
* Distributor delete/update REST API using more complex itinerary to track consumer actions for unbinding.
* bind/unbind agent request changed from fire-and-forget to asynchronous w/ reply so we can track consumer actions.
* Agent handler called once per bind instead of getting a list of binds.
* Added get_consumer_config() to handler conduit.
* Extensive unit test rewrites to support all the above.

See: companion pull request for branch jortel-TA1478 in pulp_rpm.

Oh, by the way, TA1478 is the story ID.