* add isDeprecated to report meta for telemetry
* test clean up
* update snapshots
* Update x-pack/plugins/reporting/server/usage/decorate_range_stats.ts
Co-authored-by: Michael Dokolin <dokmic@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Michael Dokolin <dokmic@gmail.com>
* wrapped deprecations endpoints in authz wrapper
* remove unused import
* added KibanaProvider interface
* removed second call of "handler" and moved api functional test to authd version of supertest
* fix api integration tests
* added api integration test for authzd users
* do not check for privileges if security is disbaled
* run organize imports
* updated jest test
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* [Reporting] Refactor types for API response data
* fix api test
* Update x-pack/plugins/reporting/common/types.ts
Co-authored-by: Jean-Louis Leysens <jloleysens@gmail.com>
* more verbose comments
* set comments in interface type definition
* Update x-pack/plugins/reporting/common/types.ts
Co-authored-by: Michael Dokolin <dokmic@gmail.com>
* more strict
* Update x-pack/plugins/reporting/public/management/report_info_button.tsx
Co-authored-by: Michael Dokolin <dokmic@gmail.com>
* Update x-pack/plugins/reporting/public/management/report_info_button.tsx
Co-authored-by: Michael Dokolin <dokmic@gmail.com>
* fix suggestion
* fix accidental declaration of interface methods as function properties
* fix info panel
Co-authored-by: Jean-Louis Leysens <jloleysens@gmail.com>
Co-authored-by: Michael Dokolin <dokmic@gmail.com>
* makeAllReportingPoliciesUnmanaged -> makeAllReportingIndicesUnmanaged
* expose the reporting services on the functional services object shared with a11y
* added data-test-subjs for a11y test
* added reporting a11y test
* updated jest test
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* revert revert
* wip; first iteration of server-side functionality
* wip; public side code started. using the new ilm policy status endpoint
* * refactored ReportingIlmPolicyManager -> IlmReportingManager
* restructured files for the policy manager code
* re-added the IlmPolicyStatusResponse interface
* added the ability to use useRequest
* * removed extra server-side endpoint, we do both migration steps
in one
* added ilm policy context and context for api client
* added es ui shared so we can use userequest
* added working link to ILM policy
* refactor of the migration route response (again), added logic for determining when to show ilm-policy link
* fix type issues and refactor to use testbed pattern for report listing component
* added tests for base cases of ilm policy banner
* remove non-existent prop
* added minor fixes (handling 404 from ES) and added API integration tests
* resolve merge conflict and remove unused file
* update toast error message
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Reporting: Check for pending jobs scheduled with ESQueue
* Update x-pack/plugins/reporting/server/lib/tasks/execute_report.ts
Co-authored-by: Vadim Dalecky <streamich@gmail.com>
* update test assertions, use more explicit types
* update comment
* Update x-pack/plugins/reporting/server/lib/store/store.ts
Co-authored-by: Vadim Dalecky <streamich@gmail.com>
* fix field mapping
* Update x-pack/plugins/reporting/server/lib/store/store.ts
Co-authored-by: Jean-Louis Leysens <jloleysens@gmail.com>
* Report also implements ReportDocumentHead
* the actual ID of the task is prefixed with `task:`
* remove pointless update to the report instance after failing
* comment clarification
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Vadim Dalecky <streamich@gmail.com>
Co-authored-by: Jean-Louis Leysens <jloleysens@gmail.com>
* chore(NA): create new x-pack cigroups and rebalancing them all
* chore(NA): better cigroups balancing
* chore(NA): push rollup tests back into ciGroup1
* chore(NA): move some functional ml tests from cigroup3 into cigroup13
* chore(NA): move some more tests into ciGroup13
* chore(NA): use a single top level describe at x-pack/test/functional/apps/ml
* chore(NA): move settings into ciGroup13
* temporary test for es snapshots env
* Revert "temporary test for es snapshots env"
This reverts commit 789ebe7b9c.
* docs(NA): add missing documentation on the function tests describe split
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* [Reporting] Add functional test for finding new jobs in the reporting table
* comment moving
* remove unecessary and use the existing x-pack page objects
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>