mirror of
https://github.com/certbot/certbot.git
synced 2026-06-03 22:08:07 -04:00
Removed status and resource fields from NewOrder object
This commit is contained in:
parent
b1b4650804
commit
8943dffe0d
2 changed files with 0 additions and 5 deletions
|
|
@ -697,7 +697,6 @@ class ClientV2Test(ClientTestBase):
|
|||
|
||||
self.order = messages.Order(
|
||||
identifiers=(self.authz.identifier, self.authz2.identifier),
|
||||
status=messages.STATUS_PENDING,
|
||||
authorizations=(self.authzr.uri, self.authzr_uri2),
|
||||
finalize='https://www.letsencrypt-demo.org/acme/acct/1/order/1/finalize')
|
||||
self.orderr = messages.OrderResource(
|
||||
|
|
|
|||
|
|
@ -513,7 +513,6 @@ class Order(ResourceBody):
|
|||
"""Order Resource Body.
|
||||
|
||||
:ivar list of .Identifier: List of identifiers for the certificate.
|
||||
:ivar acme.messages.Status status:
|
||||
:ivar list of str authorizations: URLs of authorizations.
|
||||
:ivar str certificate: URL to download certificate as a fullchain PEM.
|
||||
:ivar str finalize: URL to POST to to request issuance once all
|
||||
|
|
@ -522,8 +521,6 @@ class Order(ResourceBody):
|
|||
:ivar .Error error: Any error that occurred during finalization, if applicable.
|
||||
"""
|
||||
identifiers = jose.Field('identifiers', omitempty=True)
|
||||
status = jose.Field('status', decoder=Status.from_json,
|
||||
omitempty=True, default=STATUS_PENDING)
|
||||
authorizations = jose.Field('authorizations', omitempty=True)
|
||||
certificate = jose.Field('certificate', omitempty=True)
|
||||
finalize = jose.Field('finalize', omitempty=True)
|
||||
|
|
@ -553,4 +550,3 @@ class OrderResource(ResourceWithURI):
|
|||
class NewOrder(Order):
|
||||
"""New order."""
|
||||
resource_type = 'new-order'
|
||||
resource = fields.Resource(resource_type)
|
||||
|
|
|
|||
Loading…
Reference in a new issue