kibana/x-pack/plugins/ml/server/routes
Melissa Alvarez 8c3d71b370
[ML] NP: migrate server (#58680)
* remove obsolete legacy server deps

* licensePreRoutingFactory uses licensing plugin rather than legacy xpack

* move schemas to dir in routes

* use NP license check method for license check

* store license data in plugin for passing to check

* create server plugin files in NP plugin dir

* remove dependency on legacy xpack plugin

* add sample data links first step

* move all server dirs from legacy to np dir

* fix requiredPlugin spaces name and update import routes

* delete unnecessary files and add sample data links

* update license and privilege check tests

* add routeInit types
2020-02-27 21:15:08 -05:00
..
schemas [ML] NP: migrate server (#58680) 2020-02-27 21:15:08 -05:00
annotations.ts [ML] NP: migrate server (#58680) 2020-02-27 21:15:08 -05:00
anomaly_detectors.ts [ML] NP: migrate server (#58680) 2020-02-27 21:15:08 -05:00
apidoc.json [ML] NP: migrate server (#58680) 2020-02-27 21:15:08 -05:00
calendars.ts [ML] NP: migrate server (#58680) 2020-02-27 21:15:08 -05:00
data_frame_analytics.ts [ML] NP: migrate server (#58680) 2020-02-27 21:15:08 -05:00
data_visualizer.ts [ML] NP: migrate server (#58680) 2020-02-27 21:15:08 -05:00
datafeeds.ts [ML] NP: migrate server (#58680) 2020-02-27 21:15:08 -05:00
fields_service.ts [ML] NP: migrate server (#58680) 2020-02-27 21:15:08 -05:00
file_data_visualizer.ts [ML] NP: migrate server (#58680) 2020-02-27 21:15:08 -05:00
filters.ts [ML] NP: migrate server (#58680) 2020-02-27 21:15:08 -05:00
indices.ts [ML] NP: migrate server (#58680) 2020-02-27 21:15:08 -05:00
job_audit_messages.ts [ML] NP: migrate server (#58680) 2020-02-27 21:15:08 -05:00
job_service.ts [ML] NP: migrate server (#58680) 2020-02-27 21:15:08 -05:00
job_validation.ts [ML] NP: migrate server (#58680) 2020-02-27 21:15:08 -05:00
license_check_pre_routing_factory.ts [ML] NP: migrate server (#58680) 2020-02-27 21:15:08 -05:00
modules.ts [ML] NP: migrate server (#58680) 2020-02-27 21:15:08 -05:00
notification_settings.ts [ML] NP: migrate server (#58680) 2020-02-27 21:15:08 -05:00
README.md [ML] NP: migrate server (#58680) 2020-02-27 21:15:08 -05:00
results_service.ts [ML] NP: migrate server (#58680) 2020-02-27 21:15:08 -05:00
system.ts [ML] NP: migrate server (#58680) 2020-02-27 21:15:08 -05:00

ML Kibana API routes

This folder contains ML API routes in Kibana.

Each route handler requires apiDoc annotations in order to generate documentation. The apidoc-markdown package is also required in order to generate the markdown.

For now the process is pretty manual. You need to make sure the packages mentioned above are installed globally to execute the following command from the directory in which this README file is located.

apidoc -i . -o ../routes_doc && apidoc-markdown -p ../routes_doc -o ../routes_doc/ML_API.md 

It will create a new directory routes_doc (next to the routes folder) which contains the documentation in HTML format as well as ML_API.md file.