add-postgresql-instance-user-and-database-validation #76

Merged
hsh-michaelhoennig merged 4 commits from add-postgresql-instance-user-and-database-validation into master 2024-07-15 12:00:35 +02:00
2 changed files with 4 additions and 0 deletions
Showing only changes of commit 2ad2418ccc - Show all commits

View File

@ -15,6 +15,8 @@ class HsPostgreSqlDatabaseHostingAssetValidator extends HostingAssetEntityValida
AlarmContact.isOptional(), AlarmContact.isOptional(),
stringProperty("encoding").matchesRegEx("[A-Z0-9_]+").maxLength(24).provided("LATIN1", "UTF8").withDefault("UTF8") 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?
); );
} }

View File

@ -15,6 +15,8 @@ class HsPostgreSqlDbInstanceHostingAssetValidator extends HostingAssetEntityVali
super( super(
PGSQL_DATABASE, PGSQL_DATABASE,
AlarmContact.isOptional(), 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 NO_EXTRA_PROPERTIES); // TODO.spec: specify instance properties, e.g. installed extensions
} }