events: Add targetUri to deprecate targetNode

RefReplicatedEvent and ReplicationScheduledEvent have a targetNode field
that is populated using a method intended for human-readable SSH command
output. Deprecate that field and add a new targetUri that is the ASCII
string representation of the URI. This new field is more suitably named
and populated for consumers.

This will not break existing users of targetNode until a later change
removes that field. The only known user of the targetNode field is the
Jenkins Gerrit Trigger plugin [1][2].


Change-Id: If07f7103a1f9cf9e49e5eef4c91e9de1b5e46963
6 files changed
tree: 9a23d56d07ae6a675e4e9cdb256c8ad15271488a
  1. .gitignore
  2. .mailmap
  3. .settings/
  4. BUILD
  6. src/