mirror of
https://github.com/google/nomulus
synced 2026-04-24 02:00:50 +00:00
* Begin saving the EppResource parent in *History objects We use DomainCreateFlow as an example here of how this will work. There were a few changes necessary: - various changes around GracePeriod / GracePeriodHistory so that we can actually store them without throwing NPEs - Creating one injectable *History.Builder field and using in place of the HistoryEntry.Builder injected field in DomainCreateFlow - Saving the EppResource as the parent in the *History.Builder setParent calls - Converting to/from HistoryEntry/*History classes in DatastoreTransactionManager. Basically, we'll want to return the *History subclasses (and similar in the ofy portions of HistoryEntryDao) - Converting a few HistoryEntry.Builder usages to DomainHistory.Builder usages. Eventually we should convert all of them.