Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restore FileSystemResourceAccessor and add tests. #3499

Merged

Conversation

filipelautert
Copy link
Collaborator

Impact

  • Bug fix (non-breaking change which fixes expected existing functionality)
  • Enhancement/New feature (adds functionality without impacting existing logic)
  • Breaking change (fix or feature that would cause existing functionality to change)

Description

The class liquibase.resource.FileSystemResourceAccessor is absent from the 4.17.0 release, but it was still present in 4.16.0 and was dropped without deprecation. This PR restores the class as deprecated and add tests.

@github-actions
Copy link

Unit Test Results

  4 788 files  +  12    4 788 suites  +12   31m 33s ⏱️ +14s
  4 734 tests +  17    4 498 ✔️ +  17     236 💤 ±0  0 ±0 
56 040 runs  +216  50 707 ✔️ +216  5 333 💤 ±0  0 ±0 

Results for commit 538c9e7. ± Comparison against base commit 729d8b0.

@filipelautert filipelautert added this to the 1NEXT milestone Nov 28, 2022
Copy link
Contributor

@XDelphiGrl XDelphiGrl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR deprecates the FileSystemResourceAccessor class. Deprecated classes may be removed in future releases. It is best to update usage of FileSystemResourceAccessor to instead use either DirectoryResourceAccessor or ZipResourceAccessor.

  • A comprehensive set of tests added for the FileSystemResourceAccessor class.
  • Functional automated tests are passing.
  • Test harness execution fails for an unrelated reason during Firebird tests; nothing to worry about.

APPROVED

@filipelautert filipelautert merged commit 4b5b1ac into master Nov 28, 2022
@filipelautert filipelautert deleted the 3478-restore_filesystemresourceaccessor-removed-in-4170 branch November 28, 2022 19:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

[BUG] liquibase.resource.FileSystemResourceAccessor removed in 4.17.0
3 participants