Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check domain expiration logic #238

Closed
artur-intech opened this issue Nov 7, 2016 · 3 comments
Closed

Check domain expiration logic #238

artur-intech opened this issue Nov 7, 2016 · 3 comments

Comments

@artur-intech
Copy link
Contributor

artur-intech commented Nov 7, 2016

domain is set as expired when timpestamp now > valid to
domain is set on hold (removed from zone) when timestamp now > outzone at
domain is set as delete candidate and random delete time is calculated when timestamp now > delete at
domain is deleted if domain has delete candidate status set

extracted from #235

@vohmar
Copy link
Contributor

vohmar commented Nov 16, 2016

@teadur please have a quick code review https://github.com/internetee/registry/compare/master...registry-238?expand=1 - especially are the tests OK

@vohmar
Copy link
Contributor

vohmar commented Nov 16, 2016

@artur-beljajev https://github.com/internetee/registry/compare/master...registry-238?expand=1#diff-26556a08a299ddd06db8192756a22566R14 registered? is very bad usage of terminology as expired domains are also registered. It is preferable to avoid this kind of checks and test if a domain is expired (instead of "is it not expired"). But if this check is necessary rename registered? to not_expired - more descriptive and correct in domain terminology.

@vohmar
Copy link
Contributor

vohmar commented Dec 14, 2016

branch deleted

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants