mirror of
https://github.com/google/nomulus.git
synced 2025-05-21 19:59:34 +02:00
Make VKey persist to datastore as a key (#591)
* Make VKey persist to datastore as a key Convert nsHosts entirely to VKey as a proof-of-concept. Tested as follows: 1) Deployed to crash, verified that nameservers were visible for several domains (indicating that we are able to load a set of Keys as VKeys) 2) Updated the set of nameservers for a domain (removing some initial hosts) and verified that the changes went through. 3) Deployed the old version to crash, verified that I was able to retrieve the newly saved VKeys as Keys. 4) Modified the hosts for the same domain (adding back one of the hosts) and verified that the change took effect. 5) Redeployed this change to crash, again updated the nameservers to add another host. 6) Again restored the old version, verified that the new hosts were visible. * Changes in response to review * Convert to a single VKeyTranslatorFactory instance * Moved vkey field rename to V25
This commit is contained in:
parent
afafe60767
commit
b54c19e6c4
9 changed files with 69 additions and 152 deletions
|
@ -122,7 +122,7 @@
|
|||
|
||||
create table "DomainHost" (
|
||||
domain_repo_id text not null,
|
||||
ns_host_v_keys text
|
||||
ns_hosts text
|
||||
);
|
||||
|
||||
create table "GracePeriod" (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue