Skip to content

Conversation

@Tushar-Naik
Copy link
Contributor

This PR addresses the following

  • Adds support to override sender email
  • Removes authz check on housekeeping api


String fromName;

String fromAddress;
Copy link
Contributor

Choose a reason for hiding this comment

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

This should be @NotEmpty

val ts = mock(TopologyStore.class);
val trs = mock(TopologyRunInfoStore.class);
val mc = new MailNotificationConfig("localhost", 2525, false, "", "", List.of(), false);
val mc = new MailNotificationConfig("localhost", 2525, false, "", "", List.of(), "sender", "sender@email.com", false);
Copy link
Contributor

Choose a reason for hiding this comment

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

Please create a constant for these two strings.

@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
B Maintainability Rating on New Code (required ≥ A)

See analysis details on SonarCloud

Catch issues before they fail your Quality Gate with our IDE extension SonarLint

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