* move cloud dir to plugins from legacy
* create ui_metrics in NP
* migrate first plugin
* ui_metric plugin uses npStart
* sinin mock
* karma mocks
* type check fix
* rename old configs
* fix mocks and use configs
* use fo debug
* ui_metric deprecation configs
* remove commented out code
* remove unused type import
* mock ui_metric in client_integration
* jest.mock ui/new_platform
* fix all failing tests
* platform team code review fixes
* reset interval back to default
* apm cypress config use usageCollection
* revert kibana.yml change
* remove license type from NP def
* undo revert of NP type
* code review fixes
* report schema in a separate dir
* Licensing plugin and XPackInfo uses the same license data (#52507)
* convert xpackinfo to TS
* use NP Licensing plugin in XPackInfo
* update mocks
* put license regresh hack back.
otherwise new license won't be re-fetched when signature changed. was deleted by mistake
* add functional test for legacy xpackmain
* declare setup types on client & server explicitly
* rename mock license --> licensing to match plugin name
* add tests for createLicensePoller
* fix type error
* adopt tests for xpack_info
* createXPackInfo uses new platform API
* put back error mute
* address comments
* fix renamed import
* address comment
* update tests to reduce delays
* deprecate xpack.xpack_main.xpack_api_polling_frequency_millis
* use snake_case in config
* fix wrong import
* convert xpackinfo to TS
* use NP Licensing plugin in XPackInfo
* update mocks
* put license regresh hack back.
otherwise new license won't be re-fetched when signature changed. was deleted by mistake
* add functional test for legacy xpackmain
* declare setup types on client & server explicitly
* rename mock license --> licensing to match plugin name
* add tests for createLicensePoller
* fix type error
* adopt tests for xpack_info
* createXPackInfo uses new platform API
* put back error mute
* address comments
* fix renamed import
* address comment
* update tests to reduce delays
* deprecate xpack.xpack_main.xpack_api_polling_frequency_millis
* use snake_case in config
* Adding initial code for EC2
* Removing obsolute files; Adding EC2;
* Removing currentTimerange and replacing it with currentTime; Timerange will now be calcuated on the server
* Fixing AWS.s3 with Metrics Explorer
* Auto calculating timerange and interval based on metricset.period
* Adding S3 metricset
* Inital addition of RDS metrics
* Adding SQS and fixing a few things
* Fixing typescript error
* Adding RDS; Adjusting fields for S3; adding new formatter
* Return 60 seconds by detault
* Fixing types
* Removing i18n
* Fixing tests
* Fixing translations
* Fixes from merge
* Removing IDX from code not covered by #52354
* fixing tests
* Adding controls for crossliking; consolidating display name
* remove obsolete import
* Adding drop_last_bucket_support to TSVB models
* Changing type
* Fixing value per type
* remvoing obsolete translation
* Removing duplicate lines
* Removing icons from switcher
* Reducing boilerplate in Toolbar Items
* Changing file name
* wip: create classification results page + table and evaluate panel
* enable view link for classification jobs
* wip: fetch classification eval data
* wip: display confusion matrix in datagrid
* evaluate panel: add heatmap for cells and doc count
* Update use of loadEvalData in expanded row component
* Add metric type for evaluate endpoint and fix localization error
* handle no incorrect prediction classes case for confusion matrix. remove unused translation
* setCellProps needs to be called from a lifecycle method - wrap in useEffect
* TypeScript improvements
* fix datagrid column resize affecting results table
* allow custom prediction field for classification jobs
* ensure values are rounded correctly and add tooltip
* temp workaroun for datagrid width issues
Introduces ColorRangeLegend, a reusable component to display a color range legend to go along with color coded table cells or visualizations such as heatmaps.
* [APM] Make client-side routes static
Turn `getRoutes` back into `routes` so we can just import it.
Checking for the service map being enabled isn't really necessary since we don't have any links to those routes and the backend routes are already flagged.
* Move ui routes init to separate file
* Add index and general maps plugin template
* Add legacy shim. Pass uimodules in as legacy service
* Move ts-ignore
* Fix N/A ts error on uiModules
* Point index file toward legacy file. Minor NP additions
* [APM] Refactor core and plugin context
Change the plugin to use a context that exposes:
```
export interface ApmPluginContextValue {
config: ConfigSchema;
core: AppMountContext['core'];
packageInfo: PackageInfo;
plugins: ApmPluginSetupDeps;
}
```
This replaces the `PluginContext` and `usePlugins` that were added with the NP shim, and the `KibanaCoraContext` and `useKibanaCore` from the observability plugin.
Remove the observability plugin since it's not being used anywhere else.
* [Reporting/NPMigration] typescriptify ExportTypeRegistry, remove from server.expose
* Minor routes registration cleanup
* move the ETR test file
* Re-pack the route registration, reduce LOC changes
* add EnqueueJobFn type
* Fix usage collector test
* remove a throw error used for development/debugging
* fix imports error
* Fix execute job tests
* wip test fixes
* test fixes for real
* fix more tests
* fix diffs
* Add TODOs about the ExportTypesRegistry.register unwrap the factory functions.
* really make headlessbrowserdriver required as an execute job factory option
* fix tests
* Use constants for license type keywords