From 6df6a083c1a2a70fb65d5d737eaec1a0f7fe2117 Mon Sep 17 00:00:00 2001 From: Michael Hoennig Date: Mon, 5 Aug 2024 15:22:37 +0200 Subject: [PATCH] persist Domain-Setups (WIP) --- .../hs/migration/ImportHostingAssets.java | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/src/test/java/net/hostsharing/hsadminng/hs/migration/ImportHostingAssets.java b/src/test/java/net/hostsharing/hsadminng/hs/migration/ImportHostingAssets.java index 1b398061..81578cfa 100644 --- a/src/test/java/net/hostsharing/hsadminng/hs/migration/ImportHostingAssets.java +++ b/src/test/java/net/hostsharing/hsadminng/hs/migration/ImportHostingAssets.java @@ -642,6 +642,38 @@ public class ImportHostingAssets extends ImportOfficeData { persistHostingAssetsOfType(DOMAIN_SETUP); } + @Test + @Order(19301) + @Commit + void persistDomainDnsSetups() { + System.out.println("PERSISTING domain DNS setups to database '" + jdbcUrl + "' as user '" + postgresAdminUser + "'"); + persistHostingAssetsOfType(DOMAIN_DNS_SETUP); + } + + @Test + @Order(19302) + @Commit + void persistDomainHttpSetups() { + System.out.println("PERSISTING domain HTTP setups to database '" + jdbcUrl + "' as user '" + postgresAdminUser + "'"); + persistHostingAssetsOfType(DOMAIN_HTTP_SETUP); + } + + @Test + @Order(19303) + @Commit + void persistDomainMboxSetups() { + System.out.println("PERSISTING domain MBOX setups to database '" + jdbcUrl + "' as user '" + postgresAdminUser + "'"); + persistHostingAssetsOfType(DOMAIN_MBOX_SETUP); + } + + @Test + @Order(19304) + @Commit + void persistDomainSmtpSetups() { + System.out.println("PERSISTING domain SMTP setups to database '" + jdbcUrl + "' as user '" + postgresAdminUser + "'"); + persistHostingAssetsOfType(DOMAIN_SMTP_SETUP); + } + @Test @Order(19900) void verifyPersistedUnixUsersWithUserId() {