From 2ad2418ccc8e464e584481f82200fd036ab71d29 Mon Sep 17 00:00:00 2001 From: Michael Hoennig Date: Mon, 15 Jul 2024 06:11:03 +0200 Subject: [PATCH] add TODO.spec for extensions --- .../validators/HsPostgreSqlDatabaseHostingAssetValidator.java | 2 ++ .../validators/HsPostgreSqlDbInstanceHostingAssetValidator.java | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/main/java/net/hostsharing/hsadminng/hs/hosting/asset/validators/HsPostgreSqlDatabaseHostingAssetValidator.java b/src/main/java/net/hostsharing/hsadminng/hs/hosting/asset/validators/HsPostgreSqlDatabaseHostingAssetValidator.java index a5cb9726..727d6e03 100644 --- a/src/main/java/net/hostsharing/hsadminng/hs/hosting/asset/validators/HsPostgreSqlDatabaseHostingAssetValidator.java +++ b/src/main/java/net/hostsharing/hsadminng/hs/hosting/asset/validators/HsPostgreSqlDatabaseHostingAssetValidator.java @@ -15,6 +15,8 @@ class HsPostgreSqlDatabaseHostingAssetValidator extends HostingAssetEntityValida AlarmContact.isOptional(), stringProperty("encoding").matchesRegEx("[A-Z0-9_]+").maxLength(24).provided("LATIN1", "UTF8").withDefault("UTF8") + + // TODO.spec: PostgreSQL extensions in instance and here? also decide which. Free selection or booleans/checkboxes? ); } diff --git a/src/main/java/net/hostsharing/hsadminng/hs/hosting/asset/validators/HsPostgreSqlDbInstanceHostingAssetValidator.java b/src/main/java/net/hostsharing/hsadminng/hs/hosting/asset/validators/HsPostgreSqlDbInstanceHostingAssetValidator.java index 73d41758..ecdd5441 100644 --- a/src/main/java/net/hostsharing/hsadminng/hs/hosting/asset/validators/HsPostgreSqlDbInstanceHostingAssetValidator.java +++ b/src/main/java/net/hostsharing/hsadminng/hs/hosting/asset/validators/HsPostgreSqlDbInstanceHostingAssetValidator.java @@ -15,6 +15,8 @@ class HsPostgreSqlDbInstanceHostingAssetValidator extends HostingAssetEntityVali super( PGSQL_DATABASE, AlarmContact.isOptional(), + + // TODO.spec: PostgreSQL extensions in database and here? also decide which. Free selection or booleans/checkboxes? NO_EXTRA_PROPERTIES); // TODO.spec: specify instance properties, e.g. installed extensions }