kibana/test/api_integration
Pierre Gayvallet ad6dc34cf7
[SavedObjects] Add aggregations support (#96292) (#97361)
* step 1 to add aggs in the find function of saved object

* setp 2 - add specific unit test to aggs + fix bug found during integrations

* step 3 - add security api_integration arounds aggs

* fix types

* unit test added for aggs_utils

* add documentation

* fix docs

* review I

* doc

* try to fix test

* add the new property to the saved object globaltype

* fix types

* delete old files

* fix types + test api integration

* type fix + test

* Update src/core/server/saved_objects/types.ts

Co-authored-by: Rudolf Meijering <skaapgif@gmail.com>

* review I

* change our validation to match discussion with Pierre and Rudolph

* Validate multiple items nested filter query through KueryNode

* remove unused import

* review + put back test

* migrate added tests to new TS file

* fix documentation

* fix license header

* move stuff

* duplicating test mappings

* rename some stuff

* move ALL the things

* cast to aggregation container

* update generated doc

* add deep nested validation

* rewrite the whole validation mechanism

* some cleanup

* minor cleanup

* update generated doc

* adapt telemetry client

* fix API integ tests

* fix doc

* TOTO-less

* remove xpack tests

* list supported / unsupported aggregations

* typo fix

* extract some validation function

* fix indent

* add some unit tests

* adapt FTR assertions

* update doc

* fix doc

* doc again

* cleanup test names

* improve tsdoc on validation functions

* perf nit

Co-authored-by: Xavier Mouligneau <189600+XavierM@users.noreply.github.com>
Co-authored-by: Rudolf Meijering <skaapgif@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Xavier Mouligneau <189600+XavierM@users.noreply.github.com>
Co-authored-by: Rudolf Meijering <skaapgif@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-16 06:47:41 -04:00
..
apis [SavedObjects] Add aggregations support (#96292) (#97361) 2021-04-16 06:47:41 -04:00
fixtures Harden saved object deserialization (#94842) (#97282) 2021-04-15 14:10:31 -04:00
services Functional tests - Add esSupertest support for SSL (#90425) (#90755) 2021-02-09 14:34:01 +01:00
config.js [Usage collection] Usage counters (#96696) (#97103) 2021-04-14 10:23:45 -04:00
ftr_provider_context.d.ts [7.x] Elastic License 2.0 (#90192) 2021-02-03 18:39:13 -08:00
jest.config.js [7.x] [Telemetry] Full schema definition (#90273) (#93187) 2021-03-02 12:55:20 -05:00