Flyway Dapr URL Setting
Published 15 January 2025
Description
The REST API URL of your Dapr sidecar,
Example: http://localhost:3500/v1.0/secrets/my-secrets-store
Type
String
Default
none
Usage
Flyway Desktop
This can't be set in a config file via Flyway Desktop, although it will be honoured, and it can be configured as an advanced parameter in operations on the Migrations page.
Command-line
./flyway -dapr.url="http://localhost:3500/v1.0/secrets/my-secrets-store" info
TOML Configuration File
[flyway.dapr]
url = "http://localhost:3500/v1.0/secrets/my-secrets-store"
Configuration File
flyway.dapr.url=http://localhost:3500/v1.0/secrets/my-secrets-store
Environment Variable
FLYWAY_DAPR_URL=http://localhost:3500/v1.0/secrets/my-secrets-store
API
DaprConfigurationExtension daprConfigurationExtension = configuration.getPluginRegister().getPlugin(DaprConfigurationExtension.class)
daprConfigurationExtension.setDaprUrl("http://localhost:3500/v1.0/secrets/my-secrets-store");
Gradle
flyway {
pluginConfiguration = [
daprUrl: 'http://localhost:3500/v1.0/secrets/my-secrets-store'
]
}
Maven
<configuration>
<pluginConfiguration>
<daprUrl>http://localhost:3500/v1.0/secrets/my-secrets-store</daprUrl>
</pluginConfiguration>
</configuration>