Re: [regext] draft-ietf-regext-epp-fees-02.txt: currency error handling, command wildcard

Jody Kolker <jkolker@godaddy.com> Tue, 28 March 2017 15:28 UTC

Return-Path: <jkolker@godaddy.com>
X-Original-To: regext@ietfa.amsl.com
Delivered-To: regext@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 417D6128C83 for <regext@ietfa.amsl.com>; Tue, 28 Mar 2017 08:28:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.922
X-Spam-Level:
X-Spam-Status: No, score=-1.922 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=secureservernet.onmicrosoft.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Bej4nfN96SWU for <regext@ietfa.amsl.com>; Tue, 28 Mar 2017 08:28:53 -0700 (PDT)
Received: from NAM03-CO1-obe.outbound.protection.outlook.com (mail-co1nam03on0124.outbound.protection.outlook.com [104.47.40.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2CDEE126FB3 for <regext@ietf.org>; Tue, 28 Mar 2017 08:28:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=secureservernet.onmicrosoft.com; s=selector1-godaddy-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=X5CZ/uCsScyaPUg2L0n5cDk6CkO/xNb1NvGcqFP8xf4=; b=Um+VCSwMNXqxSRhpK0AyHZK5Gpy+qdDK/ENW58uYz8othANj11S65v4eeDhh265D2V/WRK85OnvHa8xUK/ZhK3jpeTc03ZFXdWF1yihAutGi98bB+tS/G6/nQ3LchAWzpHEsqEdIaMvoAM3/kKVdW0T3LveLeaJY1nhxyzNmBqY=
Received: from BLUPR02MB034.namprd02.prod.outlook.com (10.242.191.17) by BLUPR02MB036.namprd02.prod.outlook.com (10.242.191.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.977.11; Tue, 28 Mar 2017 15:28:47 +0000
Received: from BLUPR02MB034.namprd02.prod.outlook.com ([169.254.15.11]) by BLUPR02MB034.namprd02.prod.outlook.com ([169.254.15.11]) with mapi id 15.01.0977.021; Tue, 28 Mar 2017 15:28:48 +0000
From: Jody Kolker <jkolker@godaddy.com>
To: "Gould, James" <jgould@verisign.com>, Thomas Corte <Thomas.Corte@knipp.de>, Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>, regext <regext@ietf.org>
Thread-Topic: Re: [regext] draft-ietf-regext-epp-fees-02.txt: currency error handling, command wildcard
Thread-Index: AQHSp8R8dgOav7nA3UuL9tYyJOOBJaGqX7+A
Date: Tue, 28 Mar 2017 15:28:48 +0000
Message-ID: <BLUPR02MB034AC6B1A8A80D7E107DD7EBF320@BLUPR02MB034.namprd02.prod.outlook.com>
References: <216C099C-41E6-48EA-8925-E239AA3F2015@verisign.com>
In-Reply-To: <216C099C-41E6-48EA-8925-E239AA3F2015@verisign.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: verisign.com; dkim=none (message not signed) header.d=none;verisign.com; dmarc=none action=none header.from=godaddy.com;
x-originating-ip: [31.133.136.224]
x-microsoft-exchange-diagnostics: 1; BLUPR02MB036; 7:CfdBLJ9Uqp3UFLhhceK2H/jedlE293OQuCZfTiMl8Kmq0LndSGSsceax934l+9O4BIufKgMfj9mH/qDn0Uzcni3tA6FGuKGQK8Tw/ylQoGOWCRFrM8Nkn2sEnkUbDiHnMRaads27mPZ8Sh1sUyVcJc+lq9zlS3uY1illPN9phd3biWLIl05/rbqvzPPFCTpW6l1Tx7cslp7MQc7PiZGsnPv3NRRXo5e5xvAOfSab6zLDRfup2/96xLpBsHCxdKD4qCVOVYlzMNCEXEHqEC2CN4hdj+RT6Bp563u3te7hxtgFtp4aaG7iXGS03ldr8gghf8hpfBvm9QC+8a0yAXTz5Q==
x-ms-office365-filtering-correlation-id: 51575865-0ddc-4e92-c783-08d475ef218f
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254075)(48565401081)(201703131423062)(201703031133068); SRVR:BLUPR02MB036;
x-microsoft-antispam-prvs: <BLUPR02MB0361CFDB1A44C384707A45ABF320@BLUPR02MB036.namprd02.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(158342451672863)(131327999870524)(246761809553906);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040437)(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001)(6055026)(6041248)(201703131423062)(201702281528062)(201703061421062)(201703061406062)(20161123562025)(20161123560025)(20161123558025)(20161123555025)(20161123564025)(6072148); SRVR:BLUPR02MB036; BCL:0; PCL:0; RULEID:; SRVR:BLUPR02MB036;
x-forefront-prvs: 0260457E99
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(39400400002)(39410400002)(39850400002)(39840400002)(39860400002)(39450400003)(377454003)(24454002)(38284003)(13464003)(189998001)(102836003)(7696004)(6116002)(3846002)(230783001)(2906002)(86362001)(2950100002)(25786009)(229853002)(53546009)(6246003)(3280700002)(38730400002)(3660700001)(53376002)(66066001)(39060400002)(5660300001)(33656002)(74316002)(55016002)(305945005)(6436002)(99286003)(5890100001)(6506006)(2900100001)(122556002)(50986999)(8676002)(54356999)(8936002)(53936002)(6306002)(81166006)(76176999)(561944003)(7736002)(9686003); DIR:OUT; SFP:1102; SCL:1; SRVR:BLUPR02MB036; H:BLUPR02MB034.namprd02.prod.outlook.com; FPR:; SPF:None; MLV:ovrnspm; PTR:InfoNoRecords; LANG:en;
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: godaddy.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Mar 2017 15:28:48.5856 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: d5f1622b-14a3-45a6-b069-003f8dc4851f
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR02MB036
Archived-At: <https://mailarchive.ietf.org/arch/msg/regext/wUZqx5wmXSnmZGu70ZNv9mWs6uI>
Subject: Re: [regext] draft-ietf-regext-epp-fees-02.txt: currency error handling, command wildcard
X-BeenThere: regext@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Registration Protocols Extensions <regext.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/regext>, <mailto:regext-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/regext/>
List-Post: <mailto:regext@ietf.org>
List-Help: <mailto:regext-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/regext>, <mailto:regext-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 28 Mar 2017 15:28:56 -0000

Thanks James.

In the example listed below, reserved.domain is unavailable and apparently does not have any pricing information for the domain.  However, if fee information were available for the reserved domain, I would expect that fee information to be returned in this command even though the domain is not available for registration. 

Thanks,
Jody Kolker
319-294-3933 (office)
319-329-9805 (mobile) Please contact my direct supervisor Charles Beadnall (cbeadnall@godaddy.com) with any feedback.

This email message and any attachments hereto is intended for use only by the addressee(s) named herein and may contain confidential information. If you have received this email in error, please immediately notify the sender and permanently delete the original and any copy of this message and its attachments.


-----Original Message-----
From: regext [mailto:regext-bounces@ietf.org] On Behalf Of Gould, James
Sent: Tuesday, March 28, 2017 8:09 AM
To: Thomas Corte <Thomas.Corte@knipp.de>; Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>; regext <regext@ietf.org>
Subject: Re: [regext] draft-ietf-regext-epp-fees-02.txt: currency error handling, command wildcard

I agree that the entire check command should not fail due to passing of an incorrect domain name, currency, command, period, or phase, but instead the extension should return the fee as unable for the specific domain name with a reason.  This is similar to how the availability check works, where if an invalid domain name is passed in the list of domain names, the availability check returns successfully but with the avail=”false” for the invalid domain name.  The check command should return a success with the appropriate availability (object or fee) indicated in the response for each object.    

I had an action item from the working session yesterday to describe the proposal for the extension to the check response that matches Option C discussed at IETF-95.  The “more complex option” outlined in the list message https://www.ietf.org/mail-archive/web/eppext/current/msg00883.html provides an example of the extension to the check command and response for what was called Option C.  Option C included a single currency and a list of commands that is applied to all the domains in the availability check.  In the case of an invalid currency, the <fee:cd avail=”false”> with a <fee:reason>Invalid currency</fee:reason> could be returned for each of the domain names in the check instead of returning a failure to the availability check.  In this case Option C truly is an extension of the check with a single set of requested fee information.  

C: <?xml version="1.0" encoding="utf-8" standalone="no"?>
C: <epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
C:   <command>
C:     <check>
C:       <domain:check
C:         xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
C:         <domain:name>domain.example</domain:name>
C:         <domain:name>reserved.example</domain:name>
C:       </domain:check>
C:     </check>
C:     <extension>
C:       <fee:check
C:         xmlns:fee="urn:ietf:params:xml:ns:fee-0.9">
C:         <fee:currency>USD</fee:currency>
C:         <fee:command name="create"/>
C:         <fee:command phase="open" name="renew">
C:           <fee:period unit="y">1</fee:period>
C:         </fee:command>
C:         <fee:command phase="open" name="create"/>
C:         <fee:command phase="claims" subphase="landrush" name="create"/>
C:         </fee:command>
C:       </fee:check>
C:     </extension>
C:     <clTRID>ABC-12345</clTRID>
C:   </command>
C: </epp>


S: <?xml version="1.0" encoding="utf-8" standalone="no"?>
S: <epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
S:   <response>
S:     <result code="1000">
S:       <msg>Command completed successfully</msg>
S:     </result>
S:     <resData>
S:       <domain:chkData
S:         xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
S:         <domain:cd>
S:           <domain:name avail="1">domain.example</domain:name>
S:         </domain:cd>
S:         <domain:cd>
S:           <domain:name avail="0">reserved.example</domain:name>
S:           <domain:reason>Reserved domain</domain:reason>
S:         </domain:cd>
S:       </domain:chkData>
S:     </resData>
S:     <extension>
S:       <fee:chkData
S:         xmlns:fee="urn:ietf:params:xml:ns:fee-0.9">
S:         <fee:currency>USD</fee:currency>
S:         <fee:cd avail="1">
S:           <fee:objID>domain.example</fee:objID>
S:           <fee:command phase="sunrise" name="create">
S:             <fee:period unit="y">1</fee:period>
S:             <fee:fee description="Application Fee"
S:               refundable="0">5.00</fee:fee>
S:             <fee:fee description="Registration Fee"
S:               refundable="1"
S:               grace-period="P5D">5.00</fee:fee>
S:           </fee:command>
S:           <fee:command phase="open" name="renew">
S:             <fee:period unit="y">1</fee:period>
S:             <fee:fee description="Renewal Fee"
S:               refundable="1"
S:               grace-period="P5D">5.00</fee:fee>
S:           </fee:command>
S:           <fee:command phase="open" name="create">
S:             <fee:period unit="y">1</fee:period>
S:             <fee:fee description="Registration Fee"
S:               refundable="1"
S:               grace-period="P5D">5.00</fee:fee>
S:           </fee:command>
S:           <fee:command phase="claims" subphase="landrush" name="create">
S:             <fee:period unit="y">1</fee:period>
S:             <fee:fee description="Registration Fee"
S:               refundable="1"
S:               grace-period="P5D">10.00</fee:fee>
S:           </fee:command>
S:         </fee:cd>
S:         <fee:cd avail="0">
S:           <fee:objID>reserved.example</fee:objID>
S:           <fee:reason>Reserved domain</fee:currency>
S:         </fee:cd>
S:       </fee:chkData>
S:     </extension>
S:     <trID>
S:       <clTRID>ABC-12345</clTRID>
S:       <svTRID>54322-XYZ</svTRID>
S:     </trID>
S:   </response>
S: </epp>


  
—
 
JG



James Gould
Distinguished Engineer
jgould@Verisign.com

703-948-3271
12061 Bluemont Way
Reston, VA 20190

VerisignInc.com <http://verisigninc.com/> 

On 3/28/17, 5:55 AM, "regext on behalf of Thomas Corte" <regext-bounces@ietf.org on behalf of Thomas.Corte@knipp.de> wrote:

    However, for wrong currencies detected within some <fee:object> elements
    of a <fee:check> extension, I'm not sure whether letting the entire
    check command fail with a 2306 error is the best approach.
    
    Instead, the server could still return useful results for other
    <fee:object> elements in the command (which may have contained a correct
    currency), or even return additional information in the <reason>
    elements returned within the <fee:command avail="false"> elements
    returned for all nested <fee:command> affected by the wrong currency.
    I think the draft should be clarified regarding when to create an EPP
    error result as opposed to <fee:command avail="false"> results in the
    response to a <domain:check> command with fee extension.
    
    

_______________________________________________
regext mailing list
regext@ietf.org
https://www.ietf.org/mailman/listinfo/regext