Runway 1.2.0
This commit is contained in:
1 parent
5fa0c1ef9f
commit
9144c206be
90 files changed
+2737
-554
No files matched your search
+12
-26
@@ -9,18 +9,21 @@
|
||||
# read only from its own jar and checked for ownership.
|
||||
# - A site's database data travels in its full backups (not in transfer copies).
|
||||
# - The product comes from a provider plugin: database-postgresql or
|
||||
# database-mariadb. This plugin holds no driver.
|
||||
# database-mariadb. This plugin holds no driver, and since 2.0.0 no server
|
||||
# settings either: host, account, password and TLS are set on the
|
||||
# provider plugin's own settings page.
|
||||
#
|
||||
# The install folder name MUST equal this `id`: external/plugins/database/.
|
||||
# =============================================================================
|
||||
id: database
|
||||
name: Database
|
||||
version: 1.0.0
|
||||
version: 2.0.0
|
||||
|
||||
mainClass: mx.quest.database.DatabasePluginConfig
|
||||
|
||||
# SPI 1.1.0: PluginSettings.appSecret, which reads the Runway-wide password in clear.
|
||||
requiresSpi: ">=1.1.0"
|
||||
# SPI 1.2.0: PluginSettings.savedApp, which the providers use to hand over their saved settings for the
|
||||
# connection test (the database plugin itself reads no secret).
|
||||
requiresSpi: ">=1.2.0"
|
||||
|
||||
# In each site's folder (sites/<id>/plugins/database/): the token that ties the site to its schema, and data kept
|
||||
# for plugins that were not installed when a backup was restored. Both stay out of transfer copies: a copy of a site
|
||||
@@ -31,31 +34,16 @@ siteData:
|
||||
- deferred/
|
||||
|
||||
settingGroups:
|
||||
- { id: connection, label: database.group.connection, help: database.group.connection.help }
|
||||
- { id: provider, label: database.group.provider, help: database.group.provider.help }
|
||||
- { id: limits, label: database.group.limits, help: database.group.limits.help }
|
||||
|
||||
# Runway-wide settings, applied on RESTART. In a cluster every node needs the same values and the same platform
|
||||
# secret key. Changing the server or the provider does not move data: move sites with backup and restore.
|
||||
# secret key. The server's settings are on the provider plugin's page. Changing the server or the provider does not
|
||||
# move data: move sites with backup and restore. The connection tests sit below this form (templates/admin-app.html).
|
||||
settings:
|
||||
- { key: provider, type: enum, range: "postgresql,mariadb", default: postgresql, group: connection,
|
||||
- { key: provider, type: enum, range: "auto,postgresql,mariadb", default: auto, group: provider,
|
||||
label: database.set.provider, help: database.set.provider.help }
|
||||
- { key: host, type: string, group: connection, label: database.set.host, help: database.set.host.help }
|
||||
- { key: port, type: int, range: "1..65535", group: connection, label: database.set.port,
|
||||
help: database.set.port.help }
|
||||
- { key: database, type: string, group: connection, label: database.set.database,
|
||||
help: database.set.database.help }
|
||||
- { key: username, type: string, group: connection, label: database.set.username }
|
||||
# Bound to where it goes: changing any of these without typing the password again removes the stored one.
|
||||
- key: password
|
||||
type: secret
|
||||
group: connection
|
||||
label: database.set.password
|
||||
secretBoundTo: [provider, host, port, database, username, tls, caCertificate]
|
||||
- { key: tls, type: enum, range: "verify-full,require,disable", default: verify-full, group: connection,
|
||||
label: database.set.tls, help: database.set.tls.help }
|
||||
- { key: caCertificate, type: text, group: connection, advanced: true, label: database.set.caCertificate,
|
||||
help: database.set.caCertificate.help }
|
||||
- { key: namespace, type: string, default: rw, group: connection, advanced: true, label: database.set.namespace,
|
||||
- { key: namespace, type: string, default: rw, group: provider, advanced: true, label: database.set.namespace,
|
||||
help: database.set.namespace.help }
|
||||
- { key: poolMax, type: int, default: 10, range: "2..200", group: limits, label: database.set.poolMax,
|
||||
help: database.set.poolMax.help }
|
||||
@@ -63,8 +51,6 @@ settings:
|
||||
label: database.set.statementTimeoutSeconds, help: database.set.statementTimeoutSeconds.help }
|
||||
- { key: backupBudgetMiB, type: int, default: 128, range: "1..4096", group: limits,
|
||||
label: database.set.backupBudgetMiB, help: database.set.backupBudgetMiB.help }
|
||||
- { key: collation, type: string, group: limits, advanced: true, label: database.set.collation,
|
||||
help: database.set.collation.help }
|
||||
|
||||
# The health screen, under the application console's Settings menu. The controller enforces the same permission.
|
||||
menu:
|
||||
|
||||
Reference in new issue
Block a user