-
Notifications
You must be signed in to change notification settings - Fork 9
Implement Content Updater JobScheduler #387
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
Open
QU3B1M
wants to merge
60
commits into
6.0.0
Choose a base branch
from
enhancement/366-content-manager-job-scheduler
base: 6.0.0
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+1,579
−278
Open
Changes from all commits
Commits
Show all changes
60 commits
Select commit
Hold shift + click to select a range
db04746
Implement JobScheduler boilerplate
QU3B1M 0905525
Add JobScheduler plugin to build.gradle
QU3B1M 9b69a07
Update build.gradle to avoid duplicated plugins IDs
QU3B1M e0b66d9
Implement unit tests for ContentUpdaterJobParameters
QU3B1M 742ac9f
Implement minimal required functionality to ContentUpdaterJobRunner
QU3B1M e0291fb
Add content manager logic
f-galland b4f847f
Load job-scheduler in tests
f-galland 9f9f13e
Add plugin workflow logic to runnable
f-galland b5e50b2
Add streaming download method
f-galland 8e2e56b
Include debug config in gradle
f-galland ee67948
Refactor to give CTIClient privileges
f-galland 9c4779c
Move jvmArgs to bottom of method
f-galland 5c2a358
Merge branch 'main' into enhancement/366-content-manager-job-scheduler
f-galland 3870f65
Cleanup code after main merge
f-galland cf6a10e
Remove unneeded parameters
f-galland 8e5acdd
Fix privileged
f-galland f56f321
Centralize offset comparisons to Runnable class
f-galland 412ebe6
Fix singleton
f-galland 0fd09ab
Fix context index creation upon initialization
f-galland d1924fe
Create indices for dev environments
f-galland 60affcd
Use dev env variable
f-galland b56b85b
Fix tests
f-galland af28834
Fix SnapshotManager tests
f-galland 6aa8b38
Fix link checker
f-galland 8cbcd82
Merge branch '6.0.0' into enhancement/366-content-manager-job-scheduler
f-galland 8615b85
Fix merge issues
f-galland 71efeca
Fix gradle check after merge
f-galland 41e9d91
Add ARCHIVE distribution to build.gradle
f-galland 00d5ebc
Fix gradle check yet again
f-galland 9508475
Add init tests
f-galland 49d873f
Add tests
f-galland 311ea8a
Add more tests
f-galland a5e04a7
Fix gradle check
f-galland 9a60f7a
Add missing verify()
f-galland 9617a84
Add missing javadocs
f-galland b9076e8
Add jobRunner tests
f-galland 3d04131
Make CommandManagerClient injectable
f-galland e9b490a
Fix tests
f-galland 3c9b656
Merge branch '6.0.0' into enhancement/366-content-manager-job-scheduler
f-galland 63794f9
Merge changes from 6.0.0
f-galland a60869c
Fix tests after merge
f-galland b3a96f5
Delete old download method
f-galland 7068691
Merge branch '6.0.0' into enhancement/366-content-manager-job-scheduler
AlexRuiz7 81930bb
Fix after merge
f-galland 9b4f925
Use download()
f-galland 1447817
Remove create()
f-galland 095e57f
Switch to OpenSearchStatusException
f-galland 3fba343
Fix tests
f-galland 01e6f0c
Delete unused get() method
f-galland 5d03a2d
Delete unused methods
f-galland 6259c76
Make ContentUpdaterJobRunner a pseudo-builder
f-galland f4c723d
Make ContentUpdaterRunnable a pseudo-builder
f-galland 7cbfce9
Remove unused wrapper
f-galland 3b3dc0f
Remove privileged wrappers
f-galland a5f2134
Remove redundant constructor
f-galland ed59528
Fix links
f-galland a283c64
Merge branch '6.0.0' into enhancement/366-content-manager-job-scheduler
f-galland 39adfe6
Merge branch '6.0.0' into enhancement/366-content-manager-job-scheduler
f-galland 2fa23d8
Merge 6.0.0
f-galland c73b9a3
Fix after merge
f-galland 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# API reference | ||
|
||
Check the OpenAPI spec [here](https://github.com/wazuh/wazuh-indexer-plugins/blob/6.0.0/plugins/command-manager/openapi.yml). | ||
Check the OpenAPI spec [here](https://github.com/wazuh/wazuh-indexer-plugins/blob/6.0.0/plugins/command-manager/openapi.yml). |
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is this for?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since the required indices are managed by the
setup
plugin I needed a way to enable creation of the indices only on development environments.