You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please describe the new behavior that that will improve Egeria
A new build warning has appreared since the last set of dependabot updates indicating that the FileAlterationObserver class has been deprecated in Apache Common.
.../egeria/open-metadata-implementation/frameworks/open-integration-framework/src/main/java/org/odpi/openmetadata/frameworks/integration/filelistener/FilesListenerManager.java:89: warning: [deprecation] FileAlterationObserver(String) in FileAlterationObserver has been deprecated
FileAlterationObserver observer = new FileAlterationObserver(fileToMonitor.getAbsolutePath());
The FileAlterationObserver is used in the FilesListenerManager of the Open Integration Framework (OIF) to make it easy for integraiton connectors to monitor the file system.
The recommended replacement is java.nio.file.WatchService. This has a huge advantage in that is does not require an external dependency.
Ideally we want to swap in the new class without changing the FileListenerManager interface.
Alternatives
No response
Any Further Information?
No response
Would you be prepared to be assigned this issue to work on?
No response
The text was updated successfully, but these errors were encountered:
mandy-chessell
changed the title
[Technical Debt] FileAlterationObserver has been deprecated
[Currency] FileAlterationObserver has been deprecated
Jan 5, 2025
Existing/related issue?
No response
Please describe the new behavior that that will improve Egeria
A new build warning has appreared since the last set of dependabot updates indicating that the
FileAlterationObserver
class has been deprecated in Apache Common.The
FileAlterationObserver
is used in theFilesListenerManager
of the Open Integration Framework (OIF) to make it easy for integraiton connectors to monitor the file system.The recommended replacement is
java.nio.file.WatchService
. This has a huge advantage in that is does not require an external dependency.Ideally we want to swap in the new class without changing the FileListenerManager interface.
Alternatives
No response
Any Further Information?
No response
Would you be prepared to be assigned this issue to work on?
No response
The text was updated successfully, but these errors were encountered: