mv com/google/domain/registry google/registry

This change renames directories in preparation for the great package
rename. The repository is now in a broken state because the code
itself hasn't been updated. However this should ensure that git
correctly preserves history for each file.
This commit is contained in:
Justine Tunney 2016-05-13 18:55:08 -04:00
parent a41677aea1
commit 5012893c1d
2396 changed files with 0 additions and 0 deletions

View file

@ -0,0 +1,10 @@
package(default_visibility = ["//java/com/google/domain/registry:registry_project"])
load("//third_party/closure/templates:closure_template_java_library.bzl", "closure_template_java_library")
closure_template_java_library(
name = "soy_java_wrappers",
srcs = glob(["*.soy"]),
java_package = "com.google.domain.registry.tools.soy",
)

View file

@ -0,0 +1,48 @@
{namespace domain.registry.tools autoescape="strict"}
/**
* Create anchor tenant domain
*/
{template .createanchortenant}
{@param domainName: string}
{@param contactId: string}
{@param password: string}
{@param period: int}
{@param? reason: string}
{@param? feeCurrency: string}
{@param? fee: string}
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
<command>
<create>
<domain:create
xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
<domain:name>{$domainName}</domain:name>
<domain:period unit="y">{$period}</domain:period>
<domain:registrant>{$contactId}</domain:registrant>
<domain:contact type="admin">{$contactId}</domain:contact>
<domain:contact type="tech">{$contactId}</domain:contact>
<domain:authInfo>
<domain:pw>{$password}</domain:pw>
</domain:authInfo>
</domain:create>
</create>
<extension>
<metadata:metadata xmlns:metadata="urn:google:params:xml:ns:metadata-1.0">
{if $reason}
<metadata:reason>{$reason}</metadata:reason>
{/if}
<metadata:requestedByRegistrar>false</metadata:requestedByRegistrar>
<metadata:anchorTenant>true</metadata:anchorTenant>
</metadata:metadata>
{if $fee}
<fee:create xmlns:fee="urn:ietf:params:xml:ns:fee-0.6">
<fee:currency>{$feeCurrency}</fee:currency>
<fee:fee>{$fee}</fee:fee>
</fee:create>
{/if}
</extension>
<clTRID>GTechTool</clTRID>
</command>
</epp>
{/template}

View file

@ -0,0 +1,72 @@
{namespace domain.registry.tools autoescape="strict"}
/**
* Create contact
*/
{template .createcontact}
{@param? id: string}
{@param? name: string}
{@param? org: string}
{@param? street: list<string>}
{@param? city: string}
{@param? state: string}
{@param? zip: string}
{@param? cc: string}
{@param? phone: string}
{@param? fax: string}
{@param? email: string}
{@param password: string}
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
<command>
<create>
<contact:create
xmlns:contact="urn:ietf:params:xml:ns:contact-1.0">
{if $id}
<contact:id>{$id}</contact:id>
{/if}
<contact:postalInfo type="loc">
{if $name}
<contact:name>{$name}</contact:name>
{/if}
{if $org}
<contact:org>{$org}</contact:org>
{/if}
<contact:addr>
{if $street}
{foreach $s in $street}
<contact:street>{$s}</contact:street>
{/foreach}
{/if}
{if $city}
<contact:city>{$city}</contact:city>
{/if}
{if $state}
<contact:sp>{$state}</contact:sp>
{/if}
{if $zip}
<contact:pc>{$zip}</contact:pc>
{/if}
{if $cc}
<contact:cc>{$cc}</contact:cc>
{/if}
</contact:addr>
</contact:postalInfo>
{if $phone}
<contact:voice>{$phone}</contact:voice>
{/if}
{if $fax}
<contact:fax>{$fax}</contact:fax>
{/if}
{if $email}
<contact:email>{$email}</contact:email>
{/if}
<contact:authInfo>
<contact:pw>{$password}</contact:pw>
</contact:authInfo>
</contact:create>
</create>
<clTRID>GTechTool</clTRID>
</command>
</epp>
{/template}

View file

@ -0,0 +1,28 @@
{namespace domain.registry.tools autoescape="strict"}
/**
* Delete domain request
*/
{template .deletedomain}
{@param domainName: string}
{@param reason: string}
{@param requestedByRegistrar: any}
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
<command>
<delete>
<domain:delete
xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
<domain:name>{$domainName}</domain:name>
</domain:delete>
</delete>
<extension>
<metadata:metadata xmlns:metadata="urn:google:params:xml:ns:metadata-1.0">
<metadata:reason>Deleted by registry administrator: {$reason}</metadata:reason>
<metadata:requestedByRegistrar>{$requestedByRegistrar}</metadata:requestedByRegistrar>
</metadata:metadata>
</extension>
<clTRID>GTechTool</clTRID>
</command>
</epp>
{/template}

View file

@ -0,0 +1,75 @@
{namespace domain.registry.tools autoescape="strict"}
/**
* Domain allocate request.
*/
{template .create}
{@param name: string}
{@param period: int}
{@param registrant: string}
{@param contacts: map<string, string>}
{@param authInfo: string}
{@param applicationRoid: string}
{@param applicationTime: string}
{@param? clTrid: string}
{@param? nameservers: list<string>}
{@param? smdId: string}
{@param? launchNotice: map<string, string>}
{@param? dsRecords: list<map<string, any>>}
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
<command>
<create>
<domain:create xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
<domain:name>{$name}</domain:name>
<domain:period unit="y">{$period}</domain:period>
{if isNonnull($nameservers) and length($nameservers) > 0}
<domain:ns>
{foreach $nameserver in $nameservers}
<domain:hostObj>{$nameserver}</domain:hostObj>
{/foreach}
</domain:ns>
{/if}
<domain:registrant>{$registrant}</domain:registrant>
{foreach $type in keys($contacts)}
<domain:contact type="{$type}">{$contacts[$type]}</domain:contact>
{/foreach}
<domain:authInfo>
<domain:pw>{$authInfo}</domain:pw>
</domain:authInfo>
</domain:create>
</create>
<extension>
<allocate:create xmlns:allocate="urn:google:params:xml:ns:allocate-1.0">
<allocate:applicationRoid>{$applicationRoid}</allocate:applicationRoid>
<allocate:applicationTime>{$applicationTime}</allocate:applicationTime>
{if isNonnull($smdId)}
<allocate:smdId>{$smdId}</allocate:smdId>
{/if}
{if isNonnull($launchNotice)}
<allocate:notice xmlns:launch="urn:ietf:params:xml:ns:launch-1.0">
<launch:noticeID>{$launchNotice['noticeId']}</launch:noticeID>
<launch:notAfter>{$launchNotice['expirationTime']}</launch:notAfter>
<launch:acceptedDate>{$launchNotice['acceptedTime']}</launch:acceptedDate>
</allocate:notice>
{/if}
</allocate:create>
{if isNonnull($dsRecords) and length($dsRecords) > 0}
<secDNS:create xmlns:secDNS="urn:ietf:params:xml:ns:secDNS-1.1">
{foreach $dsRecord in $dsRecords}
<secDNS:dsData>
<secDNS:keyTag>{$dsRecord['keyTag']}</secDNS:keyTag>
<secDNS:alg>{$dsRecord['algorithm']}</secDNS:alg>
<secDNS:digestType>{$dsRecord['digestType']}</secDNS:digestType>
<secDNS:digest>{$dsRecord['digest']}</secDNS:digest>
</secDNS:dsData>
{/foreach}
</secDNS:create>
{/if}
</extension>
{if isNonnull($clTrid)}
<clTRID>{$clTrid}</clTRID>
{/if}
</command>
</epp>
{/template}

View file

@ -0,0 +1,29 @@
{namespace domain.registry.tools autoescape="strict"}
/**
* Domain application info request
*/
{template .domainapplicationinfo}
{@param domainName: string}
{@param id: string}
{@param phase: string}
{@param? subphase: string}
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
<command>
<info>
<domain:info
xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
<domain:name>{$domainName}</domain:name>
</domain:info>
</info>
<extension>
<launch:info
xmlns:launch="urn:ietf:params:xml:ns:launch-1.0">
<launch:phase{if $subphase} name="{$subphase}"{/if}>{$phase}</launch:phase>
<launch:applicationID>{$id}</launch:applicationID>
</launch:info>
</extension>
<clTRID>GTechTool</clTRID>
</command>
</epp>
{/template}

View file

@ -0,0 +1,21 @@
{namespace domain.registry.tools autoescape="strict"}
/**
* Domain check request
*/
{template .domaincheck}
{@param domainNames: list<string>}
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
<command>
<check>
<domain:check xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
{foreach $d in $domainNames}
<domain:name>{$d}</domain:name>
{/foreach}
</domain:check>
</check>
<clTRID>GTechTool</clTRID>
</command>
</epp>
{/template}

View file

@ -0,0 +1,28 @@
{namespace domain.registry.tools autoescape="strict"}
/**
* Domain check claims request
*/
{template .domaincheckclaims}
{@param domainNames: list<string>}
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
<command>
<check>
<domain:check xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
{foreach $d in $domainNames}
<domain:name>{$d}</domain:name>
{/foreach}
</domain:check>
</check>
<extension>
<launch:check
xmlns:launch="urn:ietf:params:xml:ns:launch-1.0"
type="claims">
<launch:phase>claims</launch:phase>
</launch:check>
</extension>
<clTRID>GTechTool</clTRID>
</command>
</epp>
{/template}

View file

@ -0,0 +1,32 @@
{namespace domain.registry.tools autoescape="strict"}
/**
* Domain check fee request
*/
{template .domaincheckfee}
{@param domainNames: list<string>}
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
<command>
<check>
<domain:check xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
{foreach $d in $domainNames}
<domain:name>{$d}</domain:name>
{/foreach}
</domain:check>
</check>
<extension>
<fee:check xmlns:fee="urn:ietf:params:xml:ns:fee-0.6">
{foreach $d in $domainNames}
<fee:domain>
<fee:name>{$d}</fee:name>
<fee:command>create</fee:command>
<fee:period unit="y">1</fee:period>
</fee:domain>
{/foreach}
</fee:check>
</extension>
<clTRID>GTechTool</clTRID>
</command>
</epp>
{/template}

View file

@ -0,0 +1,27 @@
{namespace domain.registry.tools autoescape="strict"}
/**
* Login request.
*/
{template .login}
{@param clientIdentifier: string}
{@param password: string}
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
<command>
<login>
<clID>{$clientIdentifier}</clID>
<pw>{$password}</pw>
<options>
<version>1.0</version>
<lang>en</lang>
</options>
<svcs>
<objURI>urn:ietf:params:xml:ns:host-1.0</objURI>
<objURI>urn:ietf:params:xml:ns:domain-1.0</objURI>
<objURI>urn:ietf:params:xml:ns:contact-1.0</objURI>
</svcs>
</login>
<clTRID>FakeClTrid</clTRID>
</command>
</epp>
{/template}

View file

@ -0,0 +1,42 @@
{namespace domain.registry.tools autoescape="strict"}
/**
* Update server locks
*/
{template .updateserverlocks}
{@param domainName: string}
{@param locksToApply: list<string>}
{@param locksToRemove: list<string>}
{@param requestedByRegistrar: any}
{@param? reason: string}
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
<command>
<update>
<domain:update
xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
<domain:name>{$domainName}</domain:name>
<domain:add>
{foreach $a in $locksToApply}
<domain:status s="{$a}" lang="en"></domain:status>
{/foreach}
</domain:add>
<domain:rem>
{foreach $r in $locksToRemove}
<domain:status s="{$r}" lang="en"></domain:status>
{/foreach}
</domain:rem>
</domain:update>
</update>
<extension>
<metadata:metadata xmlns:metadata="urn:google:params:xml:ns:metadata-1.0">
{if $reason}
<metadata:reason>{$reason}</metadata:reason>
{/if}
<metadata:requestedByRegistrar>{$requestedByRegistrar}</metadata:requestedByRegistrar>
</metadata:metadata>
</extension>
<clTRID>GTechTool</clTRID>
</command>
</epp>
{/template}