alphagov/whitehall — pull request #1773 by tommyp (2014-10-10 10:37:55+00:00)
Title: Publish Organisations to the Publishing API

As part of the work of moving other Applications to rely on the Content Store we need access to Organisations. This work sends the Organisation to the Publishing API after save which kicks off a worker and queues it up to send to the publishing API.

This commit adds the content_id to the Organisation table. This is generated and used by the content store as a UUID. It generates this on a before_validation callback.

Work was based off the work in 63e4f7c. [Ticket](https://trello.com/c/MUqfVwLp/358-getting-orgs-from-whitehall-into-content-store).