Skip to content

[ML] New Platform server shim: update job service schema#57614

Merged
spalger merged 1 commit intoelastic:masterfrom
alvarezmelissa87:ml-fix-cat-field-example-api-schema
Feb 13, 2020
Merged

[ML] New Platform server shim: update job service schema#57614
spalger merged 1 commit intoelastic:masterfrom
alvarezmelissa87:ml-fix-cat-field-example-api-schema

Conversation

@alvarezmelissa87
Copy link
Contributor

@alvarezmelissa87 alvarezmelissa87 commented Feb 13, 2020

Summary

Updates analyzerSchema to handle filter being possibly undefined. Ensures categorization field example endpoint tests pass

NOTE:

This PR updates master to match a schema update that is already in 7.x.

This update to the schema was added to the backport for NP migration for job service routes #57403 to allow CI to pass.

Master did not get the change as the original PR passed CI and was able to be merged because it passed before the tests for the api were added (#57471).

The backport for those tests (#57566) was merged before the backport for the job service route migration.

To solve this, I added the schema adjustment directly to the backport (#57595) so CI could pass and then created this PR to make that same update to master.

Checklist

Delete any items that are not applicable to this PR.

@elasticmachine
Copy link
Contributor

Pinging @elastic/ml-ui (:ml)

Copy link
Contributor

@peteharverson peteharverson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@spalger
Copy link
Contributor

spalger commented Feb 13, 2020

Alright, this looks good and will hopefully fix one of the failures in master right now.

@spalger spalger merged commit fdef026 into elastic:master Feb 13, 2020
@alvarezmelissa87 alvarezmelissa87 deleted the ml-fix-cat-field-example-api-schema branch February 13, 2020 21:34
gmmorris added a commit to gmmorris/kibana that referenced this pull request Feb 13, 2020
* master: (22 commits)
  skip flaky suite (elastic#50018)
  skip settings tests (elastic#57608)
  skip failing suite (elastic#44631)
  [SIEM] [Case] Initial UI (elastic#57283)
  handle viewing sample dashboards on default dist (elastic#57510)
  Fix detection of "system requests" in plugins (elastic#57149)
  [ML] New Platform server shim: update job service schema (elastic#57614)
  skip flaky suite (elastic#44631)
  [APM] Update monospace font family variable (elastic#57555)
  skip flaky test (elastic#57377)
  Skip save query tests (elastic#57589)
  [Maps] allow simultaneous opening of multiple tooltips (elastic#57226)
  [Uptime] Fix/host connected components (elastic#56969)
  [logs][metrics][docs] Update screenshots for 7.6 (elastic#57254)
  [ML] New Platform server shim: update job service routes to use new platform router (elastic#57403)
  [Maps] Fix document source top hits split by scripted field (elastic#57481)
  Use log4j pattern syntax (elastic#57433)
  [ML] Categorization field example endpoint tests (elastic#57471)
  [Lens] Filter out pinned filters from saved object of Lens (elastic#57197)
  Lens client side shim cleanup (elastic#56976)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature:NP Migration :ml release_note:skip Skip the PR/issue when compiling release notes v7.7.0 v8.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants