REST endpoint: Give a more descriptive response

A request to the plugin returns "204 No content" on success, and a
generic 500 on any error without any more details. Provide the caller
with more information, so they know what happened and if they should
retry.

New responses:
* A noop call (no projects to update) returns "204 No content"
* A successfull update returns "200 OK"
* A problem in conf is a "412 Precondition Failure"
* An exception return 500 (as before) but now with an error message.

Change-Id: I453b3a674cb252b79d02b65d5255675a1d7dd291
2 files changed
tree: d18e0368dd8259ed8587b0610b8e87e6903b9b33
  1. java/
  2. javatests/
  3. BUILD
  4. external_plugin_deps.bzl
  5. LICENSE
  6. README.md
README.md

The plugin will update a superproject to contain the submodules defined in the manifest XML file whenever the manifest repo is changed.

For more information see the documentation or the build instructions