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

Add PoC extending the Job-Scheduler plugin #66

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

AlexRuiz7
Copy link
Member

@AlexRuiz7 AlexRuiz7 commented Sep 17, 2024

Description

This PR adds a Proof of Concept of the Command Manager plugin, extending the Job Scheduler plugin.

Not functional yet due to the following error:

| Exception in thread "main" java.lang.IllegalArgumentException: Missing plugin [opensearch-job-scheduler], dependency of [wazuh-indexer-command-manager]

The Job Scheduler is correctly added as a dependency of the plugin, however, it seems that the test clusters do not include this plugin. We need to find a way to add it to the test cluster to test and run our plugin. See https://github.com/opensearch-project/geospatial/blob/02e3157738d518a65aa5cf2fec99b58ae7c20f36/build.gradle#L257

Issues Resolved

Closes #65

@AlexRuiz7 AlexRuiz7 self-assigned this Sep 17, 2024
@f-galland
Copy link
Member

Gradle's run job now loads both the command manager and the opensearch-job-scheduler plugin properly:

fede@tyner:~/IdeaProjects/wazuh-indexer-plugins (65-job-scheduler-research +)
$ curl http://localhost:9200/_cat/plugins
integTest-0 opensearch-job-scheduler      2.16.0.0-SNAPSHOT
integTest-0 wazuh-indexer-command-manager 5.0.0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Research how to implement a plugin that extends the job-scheduler
2 participants