Skip to content

[7.x] [ML] New Platform server shim: update analytics routes to use new platform router (#53521)#53897

Merged
alvarezmelissa87 merged 1 commit intoelastic:7.xfrom
alvarezmelissa87:backport/7.x/pr-53521
Jan 3, 2020
Merged

[7.x] [ML] New Platform server shim: update analytics routes to use new platform router (#53521)#53897
alvarezmelissa87 merged 1 commit intoelastic:7.xfrom
alvarezmelissa87:backport/7.x/pr-53521

Conversation

@alvarezmelissa87
Copy link
Copy Markdown
Contributor

Backports the following commits to 7.x:

…tform router (elastic#53521)

* update dfAnalytics routes to use np router

* add route schemas and only show error message

* convert route file to ts and set handlers inline

* update df analytics param type

* update mlClient type and assert mlClient is not null

* handle errors correctly

* ensure error status gets passed correctly to wrapper
@alvarezmelissa87 alvarezmelissa87 added backport This PR is a backport of another PR :ml labels Jan 2, 2020
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/ml-ui (:ml)

@kibanamachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@alvarezmelissa87 alvarezmelissa87 merged commit 6380dfc into elastic:7.x Jan 3, 2020
@alvarezmelissa87 alvarezmelissa87 deleted the backport/7.x/pr-53521 branch January 3, 2020 04:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR :ml

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants