-
Notifications
You must be signed in to change notification settings - Fork 81
Allow empty package paths on startup #1482
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
Merged
Merged
Changes from 7 commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
597e822
refactor: Log warn when no package found
teresaromero 160ee72
Merge branch 'main' into 1351-empty-registry
teresaromero ee5afd8
Add flag to allow empty package paths on startup
teresaromero 60a967d
Update indexer constructors to include watch interval parameter
teresaromero e4cb9b1
Update ensurePackagesAvailable function to accept serverOptions param…
teresaromero 9844fc5
Add watchInterval parameter to FileSystemIndexer constructors
teresaromero 624a848
Add packagePathsWatchInterval flag to control watch interval for pack…
teresaromero 39e6423
lock read and write packages on fs watcher
teresaromero b65fd7a
Change log level from Info to Debug for package indexer watcher messages
teresaromero 1ca31cf
Validate package paths configuration and log fatal error if none are set
teresaromero 08e5d81
Use fsnotify for path watch
teresaromero ffa5cf5
Revert "Validate package paths configuration and log fatal error if n…
teresaromero 165038d
Log fatal error if no package paths are configured when enabling watcher
teresaromero 9fae69c
Fix typo in comment for SearchCacheTTL in Config struct
teresaromero 95f239f
refactor debouncer at watcher and filter events by indexer
teresaromero c8fb821
Merge branch 'main' of github.com:elastic/package-registry into 1351-…
teresaromero 9a5b55d
Add APM tracer support to FileSystemIndexer and ZipFileSystemIndexer
teresaromero dba6d8a
Update indexer initialization to use nil for the second parameter in …
teresaromero bcb985c
remove redundant log
teresaromero 17c9f70
Refactor FileSystemIndexer initialization to use FSIndexerOptions struct
teresaromero f20c036
Add tests for FileSystemIndexer and ZipFileSystemIndexer functionality
teresaromero 0231b20
Enhance event filtering in FileSystemIndexer to watch only relevant f…
teresaromero 1afb4bc
Add TODO comment for issue #1488 in FileSystemIndexer watchPackageFil…
teresaromero a8b8a63
remove defer file close at createMockZipPackage
teresaromero 6597ea9
Add missing file close in createMockZipPackage function
teresaromero b1f30cc
Improve Windows compatibility in FileSystemIndexer tests by adding de…
teresaromero f4b85c0
Revert "Improve Windows compatibility in FileSystemIndexer tests by a…
teresaromero 7bb4530
Fix file closing in createMockZipPackage function to ensure proper re…
teresaromero 2b5e470
Refactor createMockZipPackage to return the zip file path and ensure …
teresaromero c5353d0
Refactor TestFileSystemIndexer to initialize packageList directly and…
teresaromero 718572e
Merge branch 'main' of github.com:elastic/package-registry into 1351-…
teresaromero 4280300
Remove current transaction before starting new one in package file sy…
teresaromero File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.