Migrate contributor agreements to All-Projects.

Added a new schema to move the ContributorAgreement, AccountAgreement,
and AccountGroupAgreement information into the All-Projects
project.config.

Updated VersionedMetaData to expose a way to do batch commits to the
meta data.

Change-Id: Ifb3fdd8c0d6a0c988941d6949f6501b8f8856412
This commit is contained in:
Colby Ranger
2012-04-18 16:16:30 -07:00
parent fb1039c287
commit 1eee2c9d8f
7 changed files with 601 additions and 69 deletions

View File

@@ -80,9 +80,14 @@ public final class AccountGroupMemberAudit {
public AccountGroupMemberAudit(final AccountGroupMember m,
final Account.Id adder) {
this(m, adder, now());
}
public AccountGroupMemberAudit(final AccountGroupMember m,
final Account.Id adder, Timestamp addedOn) {
final Account.Id who = m.getAccountId();
final AccountGroup.Id group = m.getAccountGroupId();
key = new AccountGroupMemberAudit.Key(who, group, now());
key = new AccountGroupMemberAudit.Key(who, group, addedOn);
addedBy = adder;
}