Skip to content

Conversation

@bakert-96
Copy link

Description

Updates to the validation of time field and categorical field to query all remote clusters when a wildcard cluster prefix is specified.

Related Issues

This is related to the proposal opened here #1606

Check List

  • Commits are signed per the DCO using --signoff.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

… detection jobs

- Updated time field and category field validation methods to query all remote indices when wildcard specified for cluster name
- Added @Inject annotation for TransportService in multiple action handlers
Signed-off-by: Tim Baker <[email protected]>
@bakert-96 bakert-96 force-pushed the feature/support-cluster-wildcard branch from 4aa1195 to 34445ef Compare November 12, 2025 17:50
@codecov
Copy link

codecov bot commented Nov 12, 2025

Codecov Report

❌ Patch coverage is 27.63158% with 55 lines in your changes missing coverage. Please review.
✅ Project coverage is 81.07%. Comparing base (a6c1916) to head (34445ef).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
.../rest/handler/AbstractTimeSeriesActionHandler.java 26.66% 49 Missing and 6 partials ⚠️
Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff              @@
##               main    #1612      +/-   ##
============================================
- Coverage     81.31%   81.07%   -0.25%     
+ Complexity     6144     6139       -5     
============================================
  Files           542      542              
  Lines         24998    25065      +67     
  Branches       2543     2557      +14     
============================================
- Hits          20328    20321       -7     
- Misses         3394     3461      +67     
- Partials       1276     1283       +7     
Flag Coverage Δ
plugin 81.07% <27.63%> (-0.25%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
.../handler/ValidateAnomalyDetectorActionHandler.java 100.00% <ø> (ø)
...nsport/ValidateAnomalyDetectorTransportAction.java 100.00% <ø> (ø)
.../rest/handler/ValidateForecasterActionHandler.java 100.00% <ø> (ø)
...t/transport/ValidateForecasterTransportAction.java 100.00% <ø> (ø)
...ies/transport/BaseDeleteConfigTransportAction.java 82.88% <ø> (ø)
...es/transport/BaseEntityProfileTransportAction.java 77.58% <ø> (ø)
...series/transport/BaseGetConfigTransportAction.java 86.17% <ø> (ø)
...h/timeseries/transport/BaseJobTransportAction.java 88.09% <ø> (ø)
...s/transport/BaseValidateConfigTransportAction.java 73.11% <100.00%> (+0.29%) ⬆️
...ensearch/timeseries/transport/ResultProcessor.java 83.95% <ø> (+0.80%) ⬆️
... and 1 more

... and 14 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@bakert-96
Copy link
Author

I will get a changelog item and tests added 👌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant