Skip to content

Commit

Permalink
auto generated v4.29.0
Browse files Browse the repository at this point in the history
  • Loading branch information
liquibot committed Jul 26, 2024
1 parent 89ffe9b commit 8fcfa98
Show file tree
Hide file tree
Showing 5 changed files with 76 additions and 49 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Code generated by protoc-gen-liquibase. DO NOT EDIT.
FROM liquibase/liquibase:4.28.0
FROM liquibase/liquibase:4.29.0
COPY drop_all.sh /entry.sh
ENTRYPOINT ["/entry.sh"]
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Drop all database objects owned by the user
```yaml
steps:
- uses: actions/checkout@v3
- uses: liquibase-github-actions/drop-all@v4.28.0
- uses: liquibase-github-actions/drop-all@v4.29.0
with:
# The JDBC database connection URL
# string
Expand Down Expand Up @@ -75,7 +75,7 @@ The liquibase drop all action accepts all valid liquibase global options as opti
```yaml
steps:
- uses: actions/checkout@v3
- uses: liquibase-github-actions/drop-all@v4.28.0
- uses: liquibase-github-actions/drop-all@v4.29.0
with:
url: ""
headless: true
Expand Down
30 changes: 21 additions & 9 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ inputs:
description: 'Should Liquibase include the change description in the id when generating changesets?'
required: false
headless: # bool
description: 'Force liquibase to think it has no access to a keyboard'
description: 'Force Liquibase to think it has no access to a keyboard'
required: false
includeCatalogInSpecification: # bool
description: 'Should Liquibase include the catalog name when determining equality?'
Expand Down Expand Up @@ -197,7 +197,7 @@ inputs:
description: 'Line separator for output'
required: false
preserveSchemaCase: # bool
description: 'Should liquibase treat schema and catalog names as case sensitive?'
description: 'If true, Liquibase treats schema and catalog names as case sensitive'
required: false
proForceOnPartialChanges: # bool
description: 'If true, rollback execution will be forced when having partial changes that needs to be rolled back. Defaults to false.'
Expand Down Expand Up @@ -230,19 +230,22 @@ inputs:
description: 'Implementation of Properties class to provide additional driver properties'
required: false
reportsEnabled: # bool
description: 'Enable or disable reporting.'
description: '[PRO]Enable or disable reporting.'
required: false
reportsFormat: # string
description: 'The format of the report. Currently, can only be set to "html".'
description: '[PRO]The format of the report. Currently, can only be set to "html".'
required: false
reportsName: # string
description: 'The name of the reports.'
description: '[PRO]The name of the reports.'
required: false
reportsOpen: # bool
description: 'Open the newly generated report in your default browser.'
description: '[PRO]Open the newly generated report in your default browser.'
required: false
reportsPath: # string
description: 'The path to the directory to generate the reports.'
description: '[PRO]The path to the directory to generate the reports.'
required: false
reportsQuiet: # bool
description: '[PRO]Minimize the amount of logging when generating reports.'
required: false
searchPath: # string
description: 'Complete list of Location(s) to search for files such as changelog files in. Multiple paths can be specified by separating them with commas.'
Expand Down Expand Up @@ -272,19 +275,25 @@ inputs:
description: 'Show SQLWarning messages'
required: false
strict: # bool
description: 'Be stricter on allowed Liquibase configuration and setup?'
description: 'If true, Liquibase enforces certain best practices and proactively looks for common errors'
required: false
supportPropertyEscaping: # bool
description: 'Support escaping changelog parameters using a colon. Example: ${:user.name}'
required: false
supportsMethodValidationLevel: # string
description: 'Controls the level of validation performed on the supports method of Change classes. Options are OFF, WARN, FAIL.'
required: false
trimLoadDataFileHeader: # bool
description: 'If true column headers will be trimmed in case they were specified with spaces in the file.'
required: false
uiService: # string
description: 'Changes the default UI Service Logger used by Liquibase. Options are CONSOLE or LOGGER.'
required: false
useProcedureSchema: # bool
description: 'If set to true (default value), createProcedure tags with a set schemaName will modify the procedure body with the given schema name.'
required: false
validateXmlChangelogFiles: # bool
description: 'Will perform xsd validation of XML changelog files. When many XML changelog files are included this validation may impact Liquibase performance. Defaults to true.'
description: 'Will perform XSD validation of XML changelog files. When many XML changelog files are included, this validation may impact Liquibase performance. Defaults to true.'
required: false
workaroundOracleClobCharacterLimit: # bool
description: 'If true, long strings in Oracle will be chunked at 4000 characters when an insert statement is run, to avoid running afoul of Oracle"s 4000 character limit for insert statements to clob type columns (which appears as "ORA-01704: string literal too long.")'
Expand Down Expand Up @@ -373,6 +382,7 @@ runs:
- ${{ inputs.reportsName }}
- ${{ inputs.reportsOpen }}
- ${{ inputs.reportsPath }}
- ${{ inputs.reportsQuiet }}
- ${{ inputs.searchPath }}
- ${{ inputs.secureParsing }}
- ${{ inputs.shouldRun }}
Expand All @@ -384,6 +394,8 @@ runs:
- ${{ inputs.sqlShowSqlWarnings }}
- ${{ inputs.strict }}
- ${{ inputs.supportPropertyEscaping }}
- ${{ inputs.supportsMethodValidationLevel }}
- ${{ inputs.trimLoadDataFileHeader }}
- ${{ inputs.uiService }}
- ${{ inputs.useProcedureSchema }}
- ${{ inputs.validateXmlChangelogFiles }}
Expand Down
42 changes: 27 additions & 15 deletions drop_all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -83,21 +83,24 @@ REPORTSFORMAT=${77}
REPORTSNAME=${78}
REPORTSOPEN=${79}
REPORTSPATH=${80}
SEARCHPATH=${81}
SECUREPARSING=${82}
SHOULDRUN=${83}
SHOULDSNAPSHOTDATA=${84}
SHOWBANNER=${85}
SHOWHIDDENARGS=${86}
SQLALWAYSSETFETCHSIZE=${87}
SQLLOGLEVEL=${88}
SQLSHOWSQLWARNINGS=${89}
STRICT=${90}
SUPPORTPROPERTYESCAPING=${91}
UISERVICE=${92}
USEPROCEDURESCHEMA=${93}
VALIDATEXMLCHANGELOGFILES=${94}
WORKAROUNDORACLECLOBCHARACTERLIMIT=${95}
REPORTSQUIET=${81}
SEARCHPATH=${82}
SECUREPARSING=${83}
SHOULDRUN=${84}
SHOULDSNAPSHOTDATA=${85}
SHOWBANNER=${86}
SHOWHIDDENARGS=${87}
SQLALWAYSSETFETCHSIZE=${88}
SQLLOGLEVEL=${89}
SQLSHOWSQLWARNINGS=${90}
STRICT=${91}
SUPPORTPROPERTYESCAPING=${92}
SUPPORTSMETHODVALIDATIONLEVEL=${93}
TRIMLOADDATAFILEHEADER=${94}
UISERVICE=${95}
USEPROCEDURESCHEMA=${96}
VALIDATEXMLCHANGELOGFILES=${97}
WORKAROUNDORACLECLOBCHARACTERLIMIT=${98}

if [[ -z "$URL" ]]; then
echo "url is required"
Expand Down Expand Up @@ -349,6 +352,9 @@ fi
if [[ -n "$REPORTSPATH" ]]; then
GLOBALS+=("--reports-path=$REPORTSPATH")
fi
if [[ -n "$REPORTSQUIET" ]]; then
GLOBALS+=("--reports-quiet=$REPORTSQUIET")
fi
if [[ -n "$SEARCHPATH" ]]; then
GLOBALS+=("--search-path=$SEARCHPATH")
fi
Expand Down Expand Up @@ -382,6 +388,12 @@ fi
if [[ -n "$SUPPORTPROPERTYESCAPING" ]]; then
GLOBALS+=("--support-property-escaping=$SUPPORTPROPERTYESCAPING")
fi
if [[ -n "$SUPPORTSMETHODVALIDATIONLEVEL" ]]; then
GLOBALS+=("--supports-method-validation-level=$SUPPORTSMETHODVALIDATIONLEVEL")
fi
if [[ -n "$TRIMLOADDATAFILEHEADER" ]]; then
GLOBALS+=("--trim-load-data-file-header=$TRIMLOADDATAFILEHEADER")
fi
if [[ -n "$UISERVICE" ]]; then
GLOBALS+=("--ui-service=$UISERVICE")
fi
Expand Down
47 changes: 25 additions & 22 deletions global_options.proto
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ message GlobalOptions {
optional bool flow_verbose_to_string = 30; // If true, display a more verbose output for the FlowFile toString representation
optional bool generate_changeset_created_values = 31; // Should Liquibase include a 'created' attribute in diff/generateChangelog changesets with the current datetime
optional bool generated_changeset_ids_contains_description = 32; // Should Liquibase include the change description in the id when generating changesets?
optional bool headless = 33; // Force liquibase to think it has no access to a keyboard
optional bool headless = 33; // Force Liquibase to think it has no access to a keyboard
optional bool include_catalog_in_specification = 34; // Should Liquibase include the catalog name when determining equality?
optional bool include_matching_tag_in_rollback_oldest = 35; // If set to true, and there are multiple identical tags in the database changelog table, all of the newer matching tags will be rolled back while rolling back to the oldest tag. The default value for this option was false for all Liquibase versions equal to or older than 4.25.1.
optional bool include_relations_for_computed_columns = 36; // If true, the parent relationship for computed columns is preserved in snapshot-dependent commands: snapshot and diff
Expand All @@ -64,7 +64,7 @@ message GlobalOptions {
optional string output_file = 53;
optional string output_file_encoding = 54; // Encoding to use when writing files
optional string output_line_separator = 55; // Line separator for output
optional bool preserve_schema_case = 56; // Should liquibase treat schema and catalog names as case sensitive?
optional bool preserve_schema_case = 56; // If true, Liquibase treats schema and catalog names as case sensitive
optional bool pro_force_on_partial_changes = 57; // If true, rollback execution will be forced when having partial changes that needs to be rolled back. Defaults to false.
optional string pro_global_end_delimiter = 58; // [PRO]The default end delimiter to use for all change sets
optional bool pro_global_end_delimiter_prioritized = 59; // [PRO]If true, the global end delimiter overrides all other settings
Expand All @@ -75,25 +75,28 @@ message GlobalOptions {
optional bool pro_strict = 64; // [PRO]If true, the Liquibase operations will fail when specified paths to Pro resource files (flow files, checks settings files, native executor conf files, etc) or rollback scripts are missing or empty.
optional bool prompt_for_non_local_database = 65; // Should Liquibase prompt if a non-local database is being accessed
optional string property_provider_class = 66; // Implementation of Properties class to provide additional driver properties
optional bool reports_enabled = 67; // Enable or disable reporting.
optional string reports_format = 68; // The format of the report. Currently, can only be set to "html".
optional string reports_name = 69; // The name of the reports.
optional bool reports_open = 70; // Open the newly generated report in your default browser.
optional string reports_path = 71; // The path to the directory to generate the reports.
optional string search_path = 72; // Complete list of Location(s) to search for files such as changelog files in. Multiple paths can be specified by separating them with commas.
optional bool secure_parsing = 73; // If true, remove functionality from file parsers which could be used insecurely. Examples include (but not limited to) disabling remote XML entity support.
optional bool should_run = 74; // Should Liquibase commands execute
optional bool should_snapshot_data = 75; // Should Liquibase snapshot data by default?
optional bool show_banner = 76; // If true, show a Liquibase banner on startup.
optional bool show_hidden_args = 77; // If true, all command arguments marked as hidden will be shown in the help output, ignoring the hidden flag. NOTE, due to the order of value provider loading at such an early point in Liquibase startup, you MUST set this as a environment variable. Command line parameters will not be recognized.
optional bool sql_always_set_fetch_size = 78; // If true, all queries will have their fetch size set to the fetch size defined in their database implementation. This has the effect of informing the driver how many rows should be fetched when processing the result set. This is not guaranteed to be respected by the driver, but if respected, should improve query performance significantly.
optional string sql_log_level = 79; // Level to log SQL statements to
optional bool sql_show_sql_warnings = 80; // Show SQLWarning messages
optional bool strict = 81; // Be stricter on allowed Liquibase configuration and setup?
optional bool support_property_escaping = 82; // Support escaping changelog parameters using a colon. Example: ${:user.name}
optional string ui_service = 83; // Changes the default UI Service Logger used by Liquibase. Options are CONSOLE or LOGGER.
optional bool use_procedure_schema = 84; // If set to true (default value), createProcedure tags with a set schemaName will modify the procedure body with the given schema name.
optional bool validate_xml_changelog_files = 85; // Will perform xsd validation of XML changelog files. When many XML changelog files are included this validation may impact Liquibase performance. Defaults to true.
optional bool workaround_oracle_clob_character_limit = 86; // If true, long strings in Oracle will be chunked at 4000 characters when an insert statement is run, to avoid running afoul of Oracle's 4000 character limit for insert statements to clob type columns (which appears as 'ORA-01704: string literal too long.')
optional bool reports_enabled = 67; // [PRO]Enable or disable reporting.
optional string reports_format = 68; // [PRO]The format of the report. Currently, can only be set to "html".
optional string reports_name = 69; // [PRO]The name of the reports.
optional bool reports_open = 70; // [PRO]Open the newly generated report in your default browser.
optional string reports_path = 71; // [PRO]The path to the directory to generate the reports.
optional bool reports_quiet = 72; // [PRO]Minimize the amount of logging when generating reports.
optional string search_path = 73; // Complete list of Location(s) to search for files such as changelog files in. Multiple paths can be specified by separating them with commas.
optional bool secure_parsing = 74; // If true, remove functionality from file parsers which could be used insecurely. Examples include (but not limited to) disabling remote XML entity support.
optional bool should_run = 75; // Should Liquibase commands execute
optional bool should_snapshot_data = 76; // Should Liquibase snapshot data by default?
optional bool show_banner = 77; // If true, show a Liquibase banner on startup.
optional bool show_hidden_args = 78; // If true, all command arguments marked as hidden will be shown in the help output, ignoring the hidden flag. NOTE, due to the order of value provider loading at such an early point in Liquibase startup, you MUST set this as a environment variable. Command line parameters will not be recognized.
optional bool sql_always_set_fetch_size = 79; // If true, all queries will have their fetch size set to the fetch size defined in their database implementation. This has the effect of informing the driver how many rows should be fetched when processing the result set. This is not guaranteed to be respected by the driver, but if respected, should improve query performance significantly.
optional string sql_log_level = 80; // Level to log SQL statements to
optional bool sql_show_sql_warnings = 81; // Show SQLWarning messages
optional bool strict = 82; // If true, Liquibase enforces certain best practices and proactively looks for common errors
optional bool support_property_escaping = 83; // Support escaping changelog parameters using a colon. Example: ${:user.name}
optional string supports_method_validation_level = 84; // Controls the level of validation performed on the supports method of Change classes. Options are OFF, WARN, FAIL.
optional bool trim_load_data_file_header = 85; // If true column headers will be trimmed in case they were specified with spaces in the file.
optional string ui_service = 86; // Changes the default UI Service Logger used by Liquibase. Options are CONSOLE or LOGGER.
optional bool use_procedure_schema = 87; // If set to true (default value), createProcedure tags with a set schemaName will modify the procedure body with the given schema name.
optional bool validate_xml_changelog_files = 88; // Will perform XSD validation of XML changelog files. When many XML changelog files are included, this validation may impact Liquibase performance. Defaults to true.
optional bool workaround_oracle_clob_character_limit = 89; // If true, long strings in Oracle will be chunked at 4000 characters when an insert statement is run, to avoid running afoul of Oracle's 4000 character limit for insert statements to clob type columns (which appears as 'ORA-01704: string literal too long.')
}

0 comments on commit 8fcfa98

Please sign in to comment.