Commit graph

29 commits

Author SHA1 Message Date
Brandon Kobel 4584a8b570
Elastic License 2.0 (#90099)
* Updating everything except the license headers themselves

* Applying ESLint rules

* Manually replacing the stragglers
2021-02-03 18:12:39 -08:00
Mikhail Shustov 5814ca6e05
[DX] move some ES UI plugins to TS project (#88050)
* es_ui_shared to ts project

* console to ts project

* console_extensions to ts project

* searchprofiler to ts project

* update includes
2021-01-13 21:58:34 +01:00
Dimitris Athanasiou 95ff10b47a
[ML] Update console autocomplete for ML data frame evaluate API (#83151)
We have added evaluation for all types of data frame analysis
since the last update. This commit updates autocomplete accordingly.
2020-11-17 12:48:25 +02:00
CJ Cenizal 052f8277fe
Add READMEs for ES UI plugins (#81973)
* Add Search Profiler README.
* Add Upgrade Assistant README.
* Add name of plugin to Watcher README.
* Add Console Extensions README.
* Add Grok Debugger README.
* Add Painless Lab README.
* Add License Management README.
* Add Remote Clusters README.
* Add Console README.
2020-10-29 10:56:42 -07:00
restrry bf04235dae apply prettier styles 2020-05-22 09:08:58 +02:00
Jean-Louis Leysens 535b933b66
[Console] Clean up after initial 7.7.0 spec definitions update (#61227)
* Move JSON files in console_extensions to mirror console struct.

Also update the spec-to-console package README.md with the new
instructions.

* Re-add flat settings completion in indices.put_template

* Re-add template completion suggestions for indices.get_template

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-03-26 10:13:09 +01:00
Jean-Louis Leysens 846e84b6b7
[Console] Update spec definitions for 7.7.0 (#61080)
* Update and cleanup existing OSS spec
* Including some maintenance on existing overrides
* Update x-pack spec definitions and overrides
2020-03-24 16:14:06 -07:00
Jean-Louis Leysens 304b322a47
[Console] Refactor and cleanup of public and server (#60513)
* Clean up use of ace in autocomplete in public

Remove ace from lib/autocomplete.ts and set up hooking up of ace
in legacy_core_editor. Also remove use of ace mocks in tests.

* Added TODO in lib/kb (console public)

* Server-side cleanup

Refactored the loading of spec into a new SpecDefinitionsService.
In this way, state can be contained inside of the service as much
as possible. Also converted all JS spec to TS and updated the
Console plugin contract so that processors (which alter loaded
spec) happen at plugin "start" phase.

* Fix types

* Small refactor

- Updated naming of argument variable in registerAutocompleter
- Refactored the SpecDefinitionsService to handle binding of
it's own functions
2020-03-19 17:32:39 +01:00
Jean-Louis Leysens fae93176e2
[Console] Fix for _settings and x-pack autocomplete (#60246)
* Add settings completion to index create endpoint and clean up.

The cleanup is largely for moving settings data completion to JS
and removing the dynamic logic for loading different ES versions.

This is unused and unnecessary at this point.

* Add new settings JS files and move BOOLEAN to shared file.

* Important fix for loading x-pack console extensions.

After migrating the x-pack console extensions were being loaded
too late and were not being served to the client.

* Reorder imports to convention
2020-03-18 08:11:36 +01:00
Lisa Cawley 2a756bbb81
[DOCS] Fixes outdated monitoring links (#58556) 2020-02-27 08:28:08 -08:00
Jean-Louis Leysens 6bc9cde843
Fix off by one issue for getting endpoint for opening docs and tracking (#56364)
Fix security docs
2020-01-30 16:00:42 +01:00
Jean-Louis Leysens 952b61e049
[Console] Move out of legacy + migrate server side to New Platform (#55690)
* Initial move of public and setup of server skeleton

* Fix public paths and types

* Use new usage stats dependency directly in tracker also mark as an optional dependency

* WiP on getting server side working

* Restore proxy route behaviour for base case, still need to test custom proxy and SSL

* Add new type and lib files

* Clean up legacy start up code and add comment about issue in kibana.yml config for console

* Move console_extensions to new platform and introduce ConsoleSetup API for extending autocomplete
Add TODO regarding exposing legacy ES config

* Re-introduce injected elasticsearch variable and use it in public

* Don't pass stateSetter prop through to checkbox

* Refactor of proxy route (split into separate files). Easier testing for now.
Refactor file name of request.ts -> proxy_request.ts. This is consistent with the exported function now
Started fixing server side tests for the proxy route
  - Migrated away from sinon
  - Completed the body.js -> body.test.ts. Still have to do the rest

* headers.js test -> headers.test.ts and moved some of the proxy route mocking logic to a common space

* Finish migration of rest of proxy route test away from hapi
Add test for custom route validation

* Bring console application in line with https://github.com/elastic/kibana/blob/master/src/core/CONVENTIONS.md#applications
Change log from info level to debug level for console_extensions plugin

* Update i18nrc file for console

* Add setHeaders when passing back error response

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-01-30 10:51:02 +01:00
Court Ewing 7ac8e4d9cc Move x-pack plugins/server/common to x-pack/legacy 2019-06-20 13:34:48 -04:00
ffknob 363f260309 Corrected the autocomplete suggestion for the "full_name" field (#37033)
* Corrected the autocompleted suggestion for the "full_name" (that's what's expected) field in the put_user API. It was wrongly suggeting "fullname".

* E-mail corrected
2019-06-11 13:40:29 -07:00
Bill McConaghy 4025d1dfbb
adding data_frame autocomplete rules to dev console (#35086)
* adding data_frame autocomplete rules to dev console

* adding body rules for preview

* adding correct aggs for group by for data_frame

* fixing source and destination autocomplete rules
2019-04-17 12:05:46 -04:00
Bill McConaghy 779c9e1fd3
Update xpack console specs (#29506)
* updating xpack console specs for _xpack namespace deprecation

* fixing stray xpack

* adding additional spec

* fixing issues with stray _xpack
2019-01-31 08:28:37 -05:00
Bill McConaghy 5403c46ce4
Update console ilm ccr (#29183)
* adjusting endpoints for ccr and ilm

* adding unfollow to autocomplete for ilm

* fixing various issues with autocomplete definitions

* removing unfollow from templates

* fixing issue with json
2019-01-24 18:44:02 -05:00
Bill McConaghy 07f7e8d35c
adding new specs for security endpoints without _xpack prefix (#27057)
* adding new specs for security endpoints without _xpack prefix

* adding overrides

* fixing issues with autocomplete and missing docs
2018-12-18 09:36:02 -05:00
Bill McConaghy 5df466e4b7
adding autocomplete rules for lifecycle management APIs (#22768)
* adding autocomplete rules for lifecycle management APIs

* updating ILM policy specs

* fixing broken documentation link for remove policy

* adding templates for phases for put ilm request

* adding _name and _ip to all allocate blocks and templates

* adding correct params for rollover action
2018-12-06 09:05:18 -05:00
Bill McConaghy f7782a9722
[Console] Add ccr apis to console autocomplete (#24739)
* fixing issue with doc link paths

* dding ccr API endpoints to autocomplet

* fixing issue with documentation links

* fixing generated specs {indices} -> {index}
2018-10-29 14:04:21 -04:00
Lisa Cawley bfd35234df
[DOCS] Updates links to role mapping APIs (#22167) 2018-08-24 09:06:23 -07:00
Lisa Cawley 9df95726ef
[DOCS] Updates links to token APIs (#22155) 2018-08-24 08:54:18 -07:00
Lisa Cawley 0ff0832281
[DOCS] Updates links to user management APIs (#22161) 2018-08-24 08:34:10 -07:00
Lisa Cawley f1a4d6c2f8
[DOCS] Updates links to role management APIs (#22150) 2018-08-23 19:04:30 -07:00
Bill McConaghy 39ac92a1d1
[console] adding generated spec files for xpack endpoints and adjusting code to… (#19928)
* adding generated spec files for xpack endpoints and adjusting code to handle the same override logic

* accounting for non URL documentation values

* fixing issue with incorrect override file

* adding support for unknown parameters in path (assuming they are ids)

* fixing autocomplete for get_categories ml API

* fixing issue with autocomplete for get_overall_buckets

* fixing issue with get_overall_buckets autocomplete

* fixing get_overall_buckets autocomplete issue for reals

* fixing __flag__ in body autocomplete specs

* fixing issue with ml put_datafeed autocomplete

* removing unnecessary overrides for rollup put_job

* fix issue with UrlPatternMatcher

* fixing tests

* fixing typos

* overriding rollup get due to bug in ES specs
2018-06-25 08:44:35 -04:00
Bill McConaghy 990e454b92
[console] Adding documentation to console (#19715)
* adding documentation links when the endpoint is known

* making doc link reflect version user is using

* adding documentation links for xpack APIs

* fixing missing argument issue

* removing console log

* fixing issue with lingering documentation after text is deleted

* fixing issue with documentation and multiple commands in the editor

* adding $scope.$apply so documentation changes show up in UI

* removing dead code

* adding missing boost param for match_all

* fixing issue with parameterized endpoint completion

* adding keyboard shortcut for opening documentation for current request

* fixing issue with keyboard docs shortcut when you just move the cursor around
2018-06-08 12:47:22 -04:00
Bill McConaghy 831b9f83fd
Console cleanup (#19654)
* refactoring to class style and moving components to own files

* making top level components fetch sensitive to HTTP verb

* fixing issue with _ endpoints getting mistaken as index names for autocomplete possibilities:wq:

* removing stray console log

* removing console log

* PR feedback

* accounting for _all in isNotAnIndexName
2018-06-06 12:00:05 -04:00
Jonathan Budzenski 1eef04551d
[console_extensions] disable when console is disabled (#18673)
* [console_extensions] disable when console is disabled

* [console extensions] has console and enabled

* [console_extensions] fix console_extensions.enabled
2018-05-01 10:54:43 -05:00
Jenkins CI fe4609647d Migrate x-pack-kibana source to kibana 2018-04-24 13:48:10 -07:00