Class Name | com.midvision.rapiddeploy.plugins.database.flyway.FlywayBaselineTask |
Category | Flyway |
Name | Type | Default Value | Optional | Description |
---|---|---|---|---|
baseliningResultParam | java.lang.String | ${baseliningResult} | false | The name of the output parameter, which can pass the return value from the task. The task output will be false when the schema baselining failed. Define a unique parameter name starting with '${', ending with '}' for the whole orchestration (latter tasks can override the parameter value if the same parameter name is specified). You can refer to this parameter in any task below in the tasklist, as an input parameter ${baseliningResult}. |
databaseUrl | java.lang.String | jdbc:hsqldb:hsql://localhost:9001/rapiddeploydb | false | The JDBC URL of the database. |
dbMigrationLocationPaths | java.lang.String | sa | false | Locations to scan recursively for migrations. The location type is determined by its prefix. Unprefixed locations or locations starting with classpath: point to a package on the classpath and may contain both sql and java-based migrations. Locations starting with filesystem: point to a directory on the filesystem and may only contain sql migrations. |
failOnError | java.lang.Boolean | true | false | This task will not fail the deployment on error if set to false. |
password | java.lang.String | sa | false | The password of the database. |
schemas | java.lang.String | true | Sets the schemas managed by Flyway. These schema names are case-sensitive. (default: The default schema for the datasource connection) | |
skipOnFailure | java.lang.String | Previous Task Name | true | Skip current task based on the name of the previous task whether has failed or not. |
username | java.lang.String | sa | false | The user of the database. |
Class Name | com.midvision.rapiddeploy.plugins.database.flyway.FlywayCleanTask |
Category | Flyway |
Name | Type | Default Value | Optional | Description |
---|---|---|---|---|
cleanResultParam | java.lang.String | ${cleanResult} | false | The name of the output parameter, which can pass the return value from the task. The task output will be false when the schema cleaning failed. Define a unique parameter name starting with '${', ending with '}' for the whole orchestration (latter tasks can override the parameter value if the same parameter name is specified). You can refer to this parameter in any task below in the tasklist, as an input parameter ${cleanResult}. |
databaseUrl | java.lang.String | jdbc:hsqldb:hsql://localhost:9001/rapiddeploydb | false | The JDBC URL of the database. |
failOnError | java.lang.Boolean | true | false | This task will not fail the deployment on error if set to false. |
password | java.lang.String | sa | false | The password of the database. |
schemas | java.lang.String | true | Sets the schemas managed by Flyway. These schema names are case-sensitive. (default: The default schema for the datasource connection) | |
skipOnFailure | java.lang.String | Previous Task Name | true | Skip current task based on the name of the previous task whether has failed or not. |
username | java.lang.String | sa | false | The user of the database. |
Class Name | com.midvision.rapiddeploy.plugins.database.flyway.FlywayInfoTask |
Category | Flyway |
Name | Type | Default Value | Optional | Description |
---|---|---|---|---|
databaseUrl | java.lang.String | jdbc:hsqldb:hsql://localhost:9001/rapiddeploydb | false | The JDBC URL of the database. |
failOnError | java.lang.Boolean | true | false | This task will not fail the deployment on error if set to false. |
latestVersionDateParam | java.lang.String | ${lastMigrationDate} | false | The name of the output parameter, which can pass the return value from the task. The task output will be the timestamp when latest migration was installed Define a unique parameter name starting with '${', ending with '}' for the whole orchestration (latter tasks can override the parameter value if the same parameter name is specified). You can refer to this parameter in any task below in the tasklist, as an input parameter ${lastMigrationDate}. |
latestVersionDescriptionParam | java.lang.String | ${description} | false | The name of the output parameter, which can pass the return value from the task. The task output will be the description of current version of database. Define a unique parameter name starting with '${', ending with '}' for the whole orchestration (latter tasks can override the parameter value if the same parameter name is specified). You can refer to this parameter in any task below in the tasklist, as an input parameter ${description}. |
latestVersionParam | java.lang.String | ${version} | false | The name of the output parameter, which can pass the return value from the task. The task output will be the current version of database. Define a unique parameter name starting with '${', ending with '}' for the whole orchestration (latter tasks can override the parameter value if the same parameter name is specified). You can refer to this parameter in any task below in the tasklist, as an input parameter ${version}. |
latestVersionUserParam | java.lang.String | ${lastMigrationUser} | false | The name of the output parameter, which can pass the return value from the task. The task output will be the user that installed latest migration. Define a unique parameter name starting with '${', ending with '}' for the whole orchestration (latter tasks can override the parameter value if the same parameter name is specified). You can refer to this parameter in any task below in the tasklist, as an input parameter ${lastMigrationUser}. |
password | java.lang.String | sa | false | The password of the database. |
schemas | java.lang.String | true | Sets the schemas managed by Flyway. These schema names are case-sensitive. (default: The default schema for the datasource connection) | |
skipOnFailure | java.lang.String | Previous Task Name | true | Skip current task based on the name of the previous task whether has failed or not. |
username | java.lang.String | sa | false | The user of the database. |
Class Name | com.midvision.rapiddeploy.plugins.database.flyway.FlywayMigrateTask |
Category | Flyway |
Name | Type | Default Value | Optional | Description |
---|---|---|---|---|
baselineOnMigrate | java.lang.Boolean | true | false | Whether to automatically call baseline when migrate is executed against a non-empty schema with no metadata table. This schema will then be baselined with the baselineVersion before executing the migrations. Only migrations above baselineVersion will then be applied. This is useful for initial Flyway production deployments on projects with an existing DB. Be careful when enabling this as it removes the safety net that ensures Flyway does not migrate the wrong database in case of a configuration mistake! |
databaseUrl | java.lang.String | jdbc:hsqldb:hsql://localhost:9001/rapiddeploydb | false | The JDBC URL of the database. |
dbMigrationLocationPaths | java.lang.String | sa | false | Locations to scan recursively for migrations. The location type is determined by its prefix. Unprefixed locations or locations starting with classpath: point to a package on the classpath and may contain both sql and java-based migrations. Locations starting with filesystem: point to a directory on the filesystem and may only contain sql migrations. |
failOnError | java.lang.Boolean | true | false | This task will not fail the deployment on error if set to false. |
migrationResultParam | java.lang.String | ${migrationResult} | false | The name of the output parameter, which can pass the return value from the task. The task output will be the number of successfully applied migrations. Define a unique parameter name starting with '${', ending with '}' for the whole orchestration (latter tasks can override the parameter value if the same parameter name is specified). You can refer to this parameter in any task below in the tasklist, as an input parameter ${migrationResult}. |
password | java.lang.String | sa | false | The password of the database. |
schemas | java.lang.String | true | Sets the schemas managed by Flyway. These schema names are case-sensitive. (default: The default schema for the datasource connection) | |
skipOnFailure | java.lang.String | Previous Task Name | true | Skip current task based on the name of the previous task whether has failed or not. |
username | java.lang.String | sa | false | The user of the database. |
Class Name | com.midvision.rapiddeploy.plugins.database.flyway.FlywayRepairTask |
Category | Flyway |
Name | Type | Default Value | Optional | Description |
---|---|---|---|---|
databaseUrl | java.lang.String | jdbc:hsqldb:hsql://localhost:9001/rapiddeploydb | false | The JDBC URL of the database. |
dbMigrationLocationPaths | java.lang.String | sa | false | Locations to scan recursively for migrations. The location type is determined by its prefix. Unprefixed locations or locations starting with classpath: point to a package on the classpath and may contain both sql and java-based migrations. Locations starting with filesystem: point to a directory on the filesystem and may only contain sql migrations. |
failOnError | java.lang.Boolean | true | false | This task will not fail the deployment on error if set to false. |
password | java.lang.String | sa | false | The password of the database. |
repairingResultParam | java.lang.String | ${repairingResult} | false | The name of the output parameter, which can pass the return value from the task. The task output will be false when the schema repairing failed. Define a unique parameter name starting with '${', ending with '}' for the whole orchestration (latter tasks can override the parameter value if the same parameter name is specified). You can refer to this parameter in any task below in the tasklist, as an input parameter ${repairingResult}. |
schemas | java.lang.String | true | Sets the schemas managed by Flyway. These schema names are case-sensitive. (default: The default schema for the datasource connection) | |
skipOnFailure | java.lang.String | Previous Task Name | true | Skip current task based on the name of the previous task whether has failed or not. |
username | java.lang.String | sa | false | The user of the database. |
Class Name | com.midvision.rapiddeploy.plugins.database.flyway.FlywayValidateTask |
Category | Flyway |
Name | Type | Default Value | Optional | Description |
---|---|---|---|---|
databaseUrl | java.lang.String | jdbc:hsqldb:hsql://localhost:9001/rapiddeploydb | false | The JDBC URL of the database. |
dbMigrationLocationPaths | java.lang.String | sa | false | Locations to scan recursively for migrations. The location type is determined by its prefix. Unprefixed locations or locations starting with classpath: point to a package on the classpath and may contain both sql and java-based migrations. Locations starting with filesystem: point to a directory on the filesystem and may only contain sql migrations. |
failOnError | java.lang.Boolean | true | false | This task will not fail the deployment on error if set to false. |
password | java.lang.String | sa | false | The password of the database. |
schemas | java.lang.String | true | Sets the schemas managed by Flyway. These schema names are case-sensitive. (default: The default schema for the datasource connection) | |
skipOnFailure | java.lang.String | Previous Task Name | true | Skip current task based on the name of the previous task whether has failed or not. |
username | java.lang.String | sa | false | The user of the database. |
validationResultParam | java.lang.String | ${validationResult} | false | The name of the output parameter, which can pass the return value from the task. The task output will be false when the schema validation failed. Define a unique parameter name starting with '${', ending with '}' for the whole orchestration (latter tasks can override the parameter value if the same parameter name is specified). You can refer to this parameter in any task below in the tasklist, as an input parameter ${validationResult}. |