Add domain pa notification response to first delete domain poll message (#1400)

* Add domain pa notification response to first delete domain poll message

* Add test case for poll message

* Change time in response data to now
This commit is contained in:
Rachel Guan
2021-10-28 15:45:50 -04:00
committed by GitHub
parent 93a479837f
commit 77bc072aac
4 changed files with 60 additions and 1 deletions
@@ -371,6 +371,10 @@ public final class DomainDeleteFlow implements TransactionalFlow {
String.format(
"Domain %s was deleted by registry administrator with final deletion effective: %s",
existingDomain.getDomainName(), deletionTime))
.setResponseData(
ImmutableList.of(
DomainPendingActionNotificationResponse.create(
existingDomain.getDomainName(), true, trid, now)))
.build();
}