feat(push): add service-owned firebase channels and delivery

Add push contracts, provider delivery and channel diagnostics. Link email channels to services and document migration and validation.

Ref: IT-1074
This commit is contained in:
2026-10-24 12:31:35 +03:00
parent b30dba93e8
commit 1631786ce2
105 changed files with 3838 additions and 147 deletions
@@ -0,0 +1,17 @@
using System.Security.Cryptography;
using System.Text.Json;
namespace HrynCo.NotificationService.Web.IntegrationTests;
internal static class PushChannelTestCredentials
{
public static string Create(string projectId = "test-project")
{
using var rsa = RSA.Create(2048);
return JsonSerializer.Serialize(new
{
type = "service_account", project_id = projectId,
client_email = "test@example.invalid", private_key = rsa.ExportPkcs8PrivateKeyPem()
});
}
}