New! – Spin up instant copies of your dev databases in the cloud for free Learn more

Flyway Documentation

Poll

Dapr URL

Flyway Teams

Description

The REST API URL of your Dapr sidecar,

Example: http://localhost:3500/v1.0/secrets/my-secrets-store

Usage

Commandline

./flyway -dapr.url="http://localhost:3500/v1.0/secrets/my-secrets-store" info

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

Configuration configuration = new ClassicConfiguration();
DaprApiExtension apiExtension = configuration.getExtensionConfiguration(DaprApiExtension.class);
apiExtension.setDaprUrl("http://localhost:3500/v1.0/secrets/my-secrets-store");

Gradle

flyway {
    daprConfiguration {
        daprUrl = 'http://localhost:3500/v1.0/secrets/my-secrets-store'
    }
}

Maven

<configuration>
    <daprConfiguration>
        <daprUrl>http://localhost:3500/v1.0/secrets/my-secrets-store</daprUrl>
    </daprConfiguration>
</configuration>