Let all mutating flows accept metadata extension

This is so we can associate history records with all mutations when doing
database maintenance.
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=123209304
This commit is contained in:
mmuller 2016-05-25 06:58:51 -07:00 committed by Ben McIlwain
parent 40a6dbe4fe
commit ee148ce630
6 changed files with 36 additions and 6 deletions

View file

@ -48,6 +48,7 @@ public abstract class ResourceCreateOrMutateFlow
@Override
protected final void initSingleResourceFlow() throws EppException {
registerExtensions(MetadataExtension.class);
metadataExtension = eppInput.getSingleExtension(MetadataExtension.class);
initRepoId();
initHistoryEntry();