Skip to content

Add DELETE for the default SMTP and POP mail servers#478

Merged
pathob merged 1 commit into
mainfrom
mail-server-delete
Jul 4, 2026
Merged

Add DELETE for the default SMTP and POP mail servers#478
pathob merged 1 commit into
mainfrom
mail-server-delete

Conversation

@pathob

@pathob pathob commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

Allows removing the default mail server configuration through the API; the operation is idempotent and returns 204 whether or not a server was configured. Crowd does not support removing its mail configuration and throws UnsupportedOperationException, consistent with its POP operations.

This also makes the mail server functional tests deterministic and duplication-free: the "not configured" precondition tests now delete any existing configuration first instead of relying on a pristine instance, so they no longer depend on test class execution order or on a freshly extracted product home. The EXAMPLE_2 mail server models are redefined to be greenmail-compatible (see ci.yaml), letting the Confluence and Jira functional tests use the shared defaults instead of per-product overrides.

Allows removing the default mail server configuration through the API; the
operation is idempotent and returns 204 whether or not a server was
configured. Crowd does not support removing its mail configuration and
throws UnsupportedOperationException, consistent with its POP operations.

This also makes the mail server functional tests deterministic and
duplication-free: the "not configured" precondition tests now delete any
existing configuration first instead of relying on a pristine instance, so
they no longer depend on test class execution order or on a freshly
extracted product home. The EXAMPLE_2 mail server models are redefined to
be greenmail-compatible (see ci.yaml), letting the Confluence and Jira
functional tests use the shared defaults instead of per-product overrides.
@sonarqubecloud

sonarqubecloud Bot commented Jul 4, 2026

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
0.0% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

@pathob pathob merged commit eb2302f into main Jul 4, 2026
8 of 9 checks passed
@pathob pathob deleted the mail-server-delete branch July 4, 2026 09:56
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.

1 participant