feat(alerting): Plan 01 — outbound HTTP infra + admin-managed outbound connections #139

Merged
hsiegeln merged 22 commits from feat/alerting-01-outbound-infra into main 2026-04-20 08:57:41 +02:00
Showing only changes of commit 0c9d12d8e0 - Show all commits

View File

@@ -38,7 +38,7 @@ class ApacheOutboundHttpClientFactoryIT {
@AfterEach
void tearDown() {
wm.stop();
if (wm != null) wm.stop();
}
@Test
@@ -55,7 +55,7 @@ class ApacheOutboundHttpClientFactoryIT {
void systemDefaultRejectsSelfSignedCert() {
CloseableHttpClient client = factory.clientFor(OutboundHttpRequestContext.systemDefault());
assertThatThrownBy(() -> client.execute(new HttpGet("https://localhost:" + wm.httpsPort() + "/ping")))
.hasMessageContaining("PKIX");
.isInstanceOfAny(javax.net.ssl.SSLException.class, javax.net.ssl.SSLHandshakeException.class);
}
@Test