Added epp spec description and rules to domain_statuses

This commit is contained in:
Priit Tark 2015-03-10 12:37:25 +02:00
parent a3dab19fa1
commit f598a2e8bf

View file

@ -4,22 +4,64 @@ class DomainStatus < ActiveRecord::Base
belongs_to :domain
# Requests to delete the object MUST be rejected.
CLIENT_DELETE_PROHIBITED = 'clientDeleteProhibited'
SERVER_DELETE_PROHIBITED = 'serverDeleteProhibited'
# DNS delegation information MUST NOT be published for the object.
CLIENT_HOLD = 'clientHold'
SERVER_HOLD = 'serverHold'
# Requests to renew the object MUST be rejected.
CLIENT_RENEW_PROHIBITED = 'clientRenewProhibited'
SERVER_RENEW_PROHIBITED = 'serverRenewProhibited'
# Requests to transfer the object MUST be rejected.
CLIENT_TRANSFER_PROHIBITED = 'clientTransferProhibited'
SERVER_TRANSFER_PROHIBITED = 'serverTransferProhibited'
# Requests to update the object (other than to remove this status) MUST be rejected.
CLIENT_UPDATE_PROHIBITED = 'clientUpdateProhibited'
SERVER_UPDATE_PROHIBITED = 'serverUpdateProhibited'
# Delegation information has not been associated with the object.
# This is the default status when a domain object is first created
# and there are no associated host objects for the DNS delegation.
# This status can also be set by the server when all host-object
# associations are removed.
INACTIVE = 'inactive'
# This is the normal status value for an object that has no pending
# operations or prohibitions. This value is set and removed by the
# server as other status values are added or removed.
# "ok" status MUST NOT be combined with any other status.
OK = 'ok'
# A transform command has been processed for the object, but the
# action has not been completed by the server. Server operators can
# delay action completion for a variety of reasons, such as to allow
# for human review or third-party action. A transform command that
# is processed, but whose requested action is pending, is noted with
# response code 1001.
# When the requested action has been completed, the pendingCreate,
# pendingDelete, pendingRenew, pendingTransfer, or pendingUpdate status
# value MUST be removed. All clients involved in the transaction MUST
# be notified using a service message that the action has been
# completed and that the status of the object has changed.
# The pendingCreate, pendingDelete, pendingRenew, pendingTransfer, and
# pendingUpdate status values MUST NOT be combined with each other.
PENDING_CREATE = 'pendingCreate'
# "pendingDelete" status MUST NOT be combined with either
# "clientDeleteProhibited" or "serverDeleteProhibited" status.
PENDING_DELETE = 'pendingDelete'
# "pendingRenew" status MUST NOT be combined with either
# "clientRenewProhibited" or "serverRenewProhibited" status.
PENDING_RENEW = 'pendingRenew'
# "pendingTransfer" status MUST NOT be combined with either
# "clientTransferProhibited" or "serverTransferProhibited" status.
PENDING_TRANSFER = 'pendingTransfer'
# "pendingUpdate" status MUST NOT be combined with either
# "clientUpdateProhibited" or "serverUpdateProhibited" status.
PENDING_UPDATE = 'pendingUpdate'
SERVER_MANUAL_INZONE = 'serverManualInzone'