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

LGA 2451 update email to use notify #1186

Merged
merged 28 commits into from
May 23, 2023

Conversation

jogilder
Copy link
Contributor

@jogilder jogilder commented May 16, 2023

What does this pull request do?

We are no longer able to use sendgrid so must get cla_public to send emails via gov.notify

Any other changes that would benefit highlighting?

  • Created templates in the Gov UK Notify service to reflect CLA_Public
  • Uploaded secret keys to kubernetes

Checklist

  • [ LGA-2451] (https://dsdmoj.atlassian.net/jira/software/c/projects/LGA/boards/226?modal=detail&selectedIssue=LGA-2451)
  • Import Gov UK Notify into python requirements
  • Created a Gov UK Notify class to send emails in GovUK_Notify/api.py
  • Generated an API Key for Gov UK Notify and assigned this to Helm
  • Amended the views.py file to contain email template logic required to generate individual Gov UK email templates
  • Amended the common.py file to include Gov UK Notify templates and reference the API key
  • Added unit tests for the new Gov UK Notify email system, testing paths for callbacks, third party and confirmation pages

@jogilder jogilder requested a review from a team as a code owner May 16, 2023 09:28
@jogilder jogilder force-pushed the feature/LGA-2451-update-email-to-use-notify branch from 894a483 to 0926042 Compare May 18, 2023 09:17
jogilder and others added 24 commits May 18, 2023 10:31
Use different templates depending on whether a callback number is provided
Add in third party name
… changed the reference for callback requested to session stored
@TawneeOwl TawneeOwl changed the title WIP LGA 2451 update email to use notify LGA 2451 update email to use notify May 19, 2023
@sonarcloud
Copy link

sonarcloud bot commented May 22, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

No Coverage information No Coverage information
0.0% 0.0% Duplication

Copy link
Contributor

@said-moj said-moj left a comment

Choose a reason for hiding this comment

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

👍 LGTM

Copy link
Contributor

@sarahyjja sarahyjja left a comment

Choose a reason for hiding this comment

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

💫

@TawneeOwl TawneeOwl merged commit a181daa into master May 23, 2023
12 of 14 checks passed
@TawneeOwl TawneeOwl deleted the feature/LGA-2451-update-email-to-use-notify branch May 23, 2023 09:18
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.

None yet

5 participants