kibana/x-pack/plugins/ux
Carlos Crespo 7ba355483f
[Infra] Disable infra plugin in serverless projects (#165289)
closes https://github.com/elastic/kibana/issues/158925

## Summary

This PR disables the infra plugin in the `oblt` and `security` projects

### Oblt
**Navbar**
<img width="300" alt="image"
src="f88fd2a5-ed58-4bcf-b5ad-5b25357daf5c">

**Saved Objects**
<img width="800" alt="image"
src="4140760c-2572-4391-8977-bc97fcd14bb8">



**Server-side APIs**
<img width="800" alt="image"
src="eb22b024-dfd5-4c7f-b760-bfd2c633f759">

**Infra routes**
/metrics/inventory

<img width="500" alt="image"
src="6ddba766-c6f0-40d0-9183-2bcbae348d52">

**Alert rules**
<img width="300" alt="image"
src="d03d087e-d562-425b-a4d9-a17d5fe0b158">


### APM

Infra links hidden in the Transaction "Investigate" pop up menu
<img width="800" alt="image"
src="d9364d55-6e06-4ac0-8668-6ce2331a6250">

Infra links removed from Services Overview Instance actions
<img width="800" alt="image"
src="73410e5c-be6c-4174-8df0-76fb6a25b2f6">

** Server Routes **

<img width="800" alt="image"
src="488f639b-81e8-497d-a55e-4e7f31644bc5">

<img width="800" alt="image"
src="4366005a-2eb8-4f33-8d1e-09865cad06b4">

<img width="800" alt="image"
src="46b34d0d-8171-4d8d-bfb8-fd4c32583fbb">





### Security

**Saved Objects**
<img width="800" alt="image"
src="14f08e7e-565b-42e9-8fc4-753d1b54c14a">



**Server-side APIs**
<img width="800" alt="image"
src="eb22b024-dfd5-4c7f-b760-bfd2c633f759">

**Infra routes**
/metrics/inventory

<img width="500" alt="image"
src="6ddba766-c6f0-40d0-9183-2bcbae348d52">


### How to test

- Start a local ES instance
- run `yarn serverless-oblt` and `yarn serverless-security`
- Validate the screenshots above.

---------

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2023-09-08 15:05:28 +02:00
..
.buildkite/pipelines Enable synthetics flaky runner (#137289) 2022-07-28 16:33:08 +02:00
.storybook
common [UX Dashboard] Unify processor event (#135367) 2022-08-02 15:22:19 -04:00
e2e [es_archives] add 'auto_expand_replicas: 0-1' in index mappings (#162499) 2023-07-26 14:30:54 +01:00
public Upgrade EUI to v88.1.0 (#165047) 2023-09-05 15:16:55 -05:00
scripts [packages] migrate all plugins to packages (#148130) 2023-02-08 21:06:50 -06:00
typings [Synthetics] Migrate service list query out of APM (#132548) 2022-05-23 17:04:55 -07:00
.prettierrc
CONTRIBUTING.md
jest.config.js
kibana.jsonc [Infra] Disable infra plugin in serverless projects (#165289) 2023-09-08 15:05:28 +02:00
readme.md Add a simple set of instructions on running and developing e2e tests for UX dashboard. (#134371) 2022-06-14 10:29:48 -07:00
tsconfig.json [Observability AI Assistant] Action menu item (#163463) 2023-08-11 09:51:36 +02:00

Documentation for UX UI developers

https://docs.elastic.dev/kibana-dev-docs/welcome

Running E2E Tests

The tests are managed via the scripts/e2e.js file. This script accepts numerous options.

From the kibana root you can run node x-pack/plugins/ux/scripts/e2e.js to simply stand up the stack, load data, and run the tests.

If you are developing a new test, it is better to stand up the stack in one shell and load data/run tests in a second session. You can do this by running:

  • node ./x-pack/plugins/ux/scripts/e2e.js --server
  • node ./x-pack/plugins/ux/scripts/e2e.js --runner, you can also specify --grep "{TEST_NAME}" to run a specific series of tests