mirror of
https://github.com/google/nomulus.git
synced 2025-05-03 21:47:51 +02:00
This eliminates the use of Objectify polymorphism for EPP resources entirely (yay!), which makes the Registry 3.0 database migration easier. It is unfortunate that the naming parallelism of EppResources is lost between ContactResource, HostResource, and DomainResource, but the actual type as far as Datastore was concerned was DomainBase all along, and it would be a much more substantial data migration to allow us to continue using the class name DomainResource now that we're no longer using Objectify polymorphism. This simply isn't worth it. This also removes the polymorphic Datastore indexes (which will no longer function as of this change). The non-polymorphic replacement indexes were added in [] ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=230930546
98 lines
4.8 KiB
XML
98 lines
4.8 KiB
XML
<datastore-indexes autoGenerate="false">
|
|
<!-- For finding contact resources by registrar. -->
|
|
<datastore-index kind="ContactResource" ancestor="false" source="manual">
|
|
<property name="currentSponsorClientId" direction="asc"/>
|
|
<property name="deletionTime" direction="asc"/>
|
|
<property name="searchName" direction="asc"/>
|
|
</datastore-index>
|
|
<!-- For finding domain resources by registrar. -->
|
|
<datastore-index kind="DomainBase" ancestor="false" source="manual">
|
|
<property name="currentSponsorClientId" direction="asc"/>
|
|
<property name="deletionTime" direction="asc"/>
|
|
</datastore-index>
|
|
<!-- For finding domain resources by TLD. -->
|
|
<datastore-index kind="DomainBase" ancestor="false" source="manual">
|
|
<property name="tld" direction="asc"/>
|
|
<property name="deletionTime" direction="asc"/>
|
|
</datastore-index>
|
|
<!-- For finding domain resources by registrar. -->
|
|
<datastore-index kind="DomainBase" ancestor="false" source="manual">
|
|
<property name="currentSponsorClientId" direction="asc"/>
|
|
<property name="deletionTime" direction="asc"/>
|
|
</datastore-index>
|
|
<!-- For finding the most recently created domain resources. -->
|
|
<datastore-index kind="DomainBase" ancestor="false" source="manual">
|
|
<property name="tld" direction="asc"/>
|
|
<property name="creationTime" direction="desc"/>
|
|
</datastore-index>
|
|
<!-- For finding host resources by registrar. -->
|
|
<datastore-index kind="HostResource" ancestor="false" source="manual">
|
|
<property name="currentSponsorClientId" direction="asc"/>
|
|
<property name="deletionTime" direction="asc"/>
|
|
<property name="fullyQualifiedHostName" direction="asc"/>
|
|
</datastore-index>
|
|
<!-- For finding account balance of registrar and viewing billing history. -->
|
|
<datastore-index kind="RegistrarBillingEntry" ancestor="true" source="manual">
|
|
<property name="currency" direction="asc"/>
|
|
<property name="created" direction="desc"/>
|
|
</datastore-index>
|
|
<!-- For determining the active domains linked to a given contact. -->
|
|
<datastore-index kind="DomainBase" ancestor="false" source="manual">
|
|
<property name="allContacts.contact" direction="asc"/>
|
|
<property name="deletionTime" direction="asc"/>
|
|
</datastore-index>
|
|
<!-- For determining the active domains linked to a given host. -->
|
|
<datastore-index kind="DomainBase" ancestor="false" source="manual">
|
|
<property name="nsHosts" direction="asc"/>
|
|
<property name="deletionTime" direction="asc"/>
|
|
</datastore-index>
|
|
<!-- For RDAP searches by linked nameserver. -->
|
|
<datastore-index kind="DomainBase" ancestor="false" source="manual">
|
|
<property name="nsHosts" direction="asc"/>
|
|
<property name="deletionTime" direction="asc"/>
|
|
</datastore-index>
|
|
<!-- For WHOIS IP address lookup -->
|
|
<datastore-index kind="HostResource" ancestor="false" source="manual">
|
|
<property name="inetAddresses" direction="asc"/>
|
|
<property name="deletionTime" direction="asc"/>
|
|
</datastore-index>
|
|
<!-- For Poll -->
|
|
<datastore-index kind="PollMessage" ancestor="false" source="manual">
|
|
<property name="clientId" direction="asc"/>
|
|
<property name="eventTime" direction="asc"/>
|
|
</datastore-index>
|
|
<datastore-index kind="PollMessage" ancestor="true" source="manual">
|
|
<property name="clientId" direction="asc"/>
|
|
<property name="eventTime" direction="asc"/>
|
|
</datastore-index>
|
|
<!-- For querying HistoryEntries. -->
|
|
<datastore-index kind="HistoryEntry" ancestor="true" source="manual">
|
|
<property name="modificationTime" direction="asc"/>
|
|
</datastore-index>
|
|
<datastore-index kind="HistoryEntry" ancestor="false" source="manual">
|
|
<property name="clientId" direction="asc"/>
|
|
<property name="modificationTime" direction="asc"/>
|
|
</datastore-index>
|
|
<!-- For RDAP. -->
|
|
<datastore-index kind="DomainBase" ancestor="false" source="manual">
|
|
<property name="currentSponsorClientId" direction="asc"/>
|
|
<property name="fullyQualifiedDomainName" direction="asc"/>
|
|
</datastore-index>
|
|
<datastore-index kind="DomainBase" ancestor="false" source="manual">
|
|
<property name="currentSponsorClientId" direction="asc"/>
|
|
<property name="tld" direction="asc"/>
|
|
<property name="fullyQualifiedDomainName" direction="asc"/>
|
|
</datastore-index>
|
|
<datastore-index kind="DomainBase" ancestor="false" source="manual">
|
|
<property name="tld" direction="asc"/>
|
|
<property name="fullyQualifiedDomainName" direction="asc"/>
|
|
</datastore-index>
|
|
<datastore-index kind="HostResource" ancestor="false" source="manual">
|
|
<property name="deletionTime" direction="asc"/>
|
|
<property name="fullyQualifiedHostName" direction="asc"/>
|
|
</datastore-index>
|
|
<datastore-index kind="ContactResource" ancestor="false" source="manual">
|
|
<property name="deletionTime" direction="asc"/>
|
|
<property name="searchName" direction="asc"/>
|
|
</datastore-index>
|
|
</datastore-indexes>
|