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

Gather data about bounced emails via API #1687

Merged
merged 24 commits into from
Dec 17, 2020
Merged

Gather data about bounced emails via API #1687

merged 24 commits into from
Dec 17, 2020

Conversation

karlerikounapuu
Copy link
Member

@karlerikounapuu karlerikounapuu commented Sep 17, 2020

Related to rest-whois#115

  • Run database migrations

  • Add api_shared_key key to config/application.yml with random value. This is shared key value between registry and rest-whois to authorize POST request.

It's expected that HTTP's Authorization header is arriving to rails and not thrown away.

@karlerikounapuu karlerikounapuu marked this pull request as draft September 17, 2020 08:16
@karlerikounapuu karlerikounapuu force-pushed the log-bounced-emails branch 2 times, most recently from af6fcbe to bc1db7b Compare September 17, 2020 11:23
@karlerikounapuu karlerikounapuu force-pushed the log-bounced-emails branch 2 times, most recently from cc0bcf8 to 1e37190 Compare September 18, 2020 13:22
@karlerikounapuu karlerikounapuu marked this pull request as ready for review September 21, 2020 08:47
config/routes.rb Outdated Show resolved Hide resolved
db/structure.sql Outdated Show resolved Hide resolved
@karlerikounapuu karlerikounapuu force-pushed the log-bounced-emails branch 3 times, most recently from 4025231 to 7648af2 Compare October 2, 2020 13:07
@vohmar
Copy link
Contributor

vohmar commented Oct 28, 2020

Amazon access info: https://intra.internet.ee/projects/infra/wiki/Amazon

@bounced_mail.diagnostic = 'smtp; 550 5.1.1 user unknown'
end

def test_email_is_required
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is no need to test if field is required - we are set it presence to be validated and validation is already tested in rails.

@vohmar vohmar merged commit 903f14d into master Dec 17, 2020
@vohmar vohmar deleted the log-bounced-emails branch January 28, 2021 09:52
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

Successfully merging this pull request may close these issues.

3 participants