Commit graph

101 commits

Author SHA1 Message Date
Mikhail Shustov 06acf2f42a
add owners for es_archiver (#56184) 2020-01-28 19:57:44 +01:00
Thomas Watson bb30bb4fd4
Update .github/CODEOWNERS (#55728) 2020-01-23 19:07:40 +01:00
Joe Reuter 841afe32fc
exclude tutorials from code ownership (#55705) 2020-01-23 15:39:43 +01:00
Jean-Louis Leysens bb37b0f613
[Watcher] Move out of legacy (#54752)
* Moved out of legacy folder

* First iteration of watcher plugin that renders

* Move create Timebuckets to plugin root
Update route registration and fix license checking for NP

* Re-enable Component integration tests

* Minor fix for data deserializer in api.ts

* Slight logic refactor, more defensive plugin startup

* Re-add legacy folder for SCSS pipeline

* Remove duplicate style sheet

* Fix type issue with TimeBuckets export

* Update license management routing logic (issued warning for using basepath on navigating away from license management)
Remove commented out code in watcher

* More defensive plugin registration

* Fix i18n issues and restore registration of feature on home view

* Remove watcher license error check copy

* Restore license error message in watcher

* Fix mock context value

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-01-23 15:35:36 +01:00
Dario Gieselaar 0275331514
Add @elastic/apm-ui as code owner of APM NP plugin (#55674) 2020-01-23 13:44:55 +01:00
Jean-Louis Leysens b8d35105c7
[SearchProfiler] Move out of legacy (#55331)
* Initial move of searchprofiler into new platform directory, lots of things need testing

* Whitespace, clean up types and remove unused files

* First iteration of end-to-end plugin working

- Updated license check to only check for presence of basic license (not search profiler as a feature
- Updated the payload: removed types from validation
- Also added README in public regarding the location of styles

* Added extractProfilerErrorMessage function to interface with new error reporting from profiler endpoint

* Fix paths to test_utils

* Update I18n for search profiler

* Fix react hooks ordering bug with license status updates and fix test (wait for first license object before rendering)

* Added index.ts file to common in searchprofiler route
Marked types and values as internal
Removed unnecessary "async" from function
Update import to not use "src" alias

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-01-22 13:58:18 +01:00
Patrick Mueller b78c1b1042
Adds event log for actions and alerting (#45081)
initial code for event log

see issue https://github.com/elastic/kibana/issues/45083
2020-01-21 18:00:08 -05:00
Nick Partridge ce2930ec51
De-angularize vis tooltips (#54954)
* Remove angular dependencey from vis/tooltip
* Move tooltip logic into vislib
* Remove and fix all ngMock refs in vislib tests
* Add numeral to renovate config
* Add vis_type_vislib to codeowners
* Move vis_legend into vislib and fix errors
* vis_type_vislib/public imports to be only top-level
2020-01-21 10:46:56 -06:00
Josh Dover 92c4604b5d
Remove kibana-platform pr-project-assigner (#55244) 2020-01-17 15:10:33 -07:00
Mike Côté 67a8194d6c
Fix codeowners for alerting services team (#53889)
* Fix codeowners

* Fix localization and telemetry folders as well

* Fix task manager path

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-01-15 18:06:24 -05:00
Yuliia Naumenko 8259445350
Create UI for alerting and actions plugin (#48959)
* Refactored reducers type definitions

* Fixed dependancy objects

* Fixed action add

* Fixed logging app icon

* Added action types params fields

* Added fields for check and re-notify alert

* Add tags to alert list

* Adjusted threshold expression with validation, added visualization

* Move delete button to the left and hide when no selection

* Rename action list title column to name

* fixed request

* Removed watcher labels

* Design cleanup

* Added expression default values

* Added visualization for index threshold alert

* Rename Actions tab to Connectors

* Rename "create action" to "create connector"

* Remove actions column name

* Add count per action type

* Hide checkboxes when user can't delete

* Add title to home, rename Alerting UI breadcrumb (remove UI part)

* Added correct binding for interval and throttle

* Added tags support for create Alert UI

* Added server error display in UI on save alert

* Added connectors for action forms

* Update button styles

* Switch inputs to compressed forms

* Fixed some fields for add alert form

* Fixed updating action by index

* Fixed filter for index/fields api requests

* Remove the test alert type that was in the init function

* Fixed action type icon on add connector form and did small refactoring on action forms; added action validation

* Rename alerting UI plugin to triggers and actions UI (or something else) #50305

* Implemented action connector edit UI

* Add bulk actions to alerts list

* Update home title spacing

* Fixed editing secrets action property

* Changing behaviour of bulk actions and disable buttons during request

* Refactored plugin definition with appdependency interface

* Moved add dependencies to the separate file

* Enable visualization if only hasExpressionErrors passed

* Fixed add action twice on click card

* Fix actions column in alert list

* Fixed action canSave capability

* Renamed Actions to ActionConnectors in appropriate UI files

* Renamed alertTypeParams to params in UI code

* Add filter for tags

* Cleanup previous commit

* Fix alert type filter

* Refactored edit form to use ActionTableItem

* Renamed ActionTableItem to ActionConnectorTableItem

* Fixed missing button key error for alerts list filter

* Renamed translation labels for connectors

* Enable UI plugin by default

* Rename buildin to builtin

* Fix some type checks

* Add API tests

* Split API file into smaller files

* Rename plugin id

* Remove dependency on actions plugin (should be optional dep in NP)

* Fix some translation ids

* Revert "Rename plugin id"

This reverts commit f6daeb3d5e.

* Rename method for loading connectors

* Added functional tests base

* Fix functional test type filter

* Add test alert type for now

* Initial connectors functional tests

* Rename description to name

* Use unique connector names to allow re-running tests

* Assert on more things

* Update alert/action menu items. Flyout width. Add index.scss file

* Added action connector list unit tests

* Add bulk delete functional test

* Move tests to SSL functional environment

* Fix tests

* Added unit tests for actionTypeRegistry and alertTypeRegistry

* Fixed update connector with only properties

* Added some functional tests for alerts with TODOs

* connectors list page cleanup

* empty state cleanup

* Added connector edit flyout unit test

* Fix functional tests

* text cleanup

* zindex fix for index threshold trigger

* Expand the functional tests, add assertions

* Fixed edit connector from the Name column, and removed pencil button

* Remove tags filter, use search bar instead

* Finalize functional tests

* Support filtering alerts by action type

* Rename plugin name for translations

* Rename default breadcrumb title to alerts and actions

* Added unit tests for connectors empty prompt, fixed api tests

* Added unit test for select action type menu for create connector; Fixed update selected connector for edit form

* Added unit test for edit connector flyout

* Added alerts list unit tests

* Added connector form unit tests

* Added connector reducer unit tests

* Fixed some failing unit tests

* Fixed alerts list unit tests

* Set alert tab default if it is available

* Added doc_title and get_time_units unit tests

* Added some test fixes

* Fixed index threshold expression to display only index and fields

* Added email building action unit tests

* Added unit tests for builtin action types

* Remove test alert type

* Move create alert UI behind feature flag 'createAlertUiEnabled'

* Fix functional tests

* Update codeowners

* Update codeowners for tests

* Revert watcher changes

* Fix type check failure

* Fix unit test failures

* Fixed typecheck failures

* Fixed language check errors

* Did some text/type fixes

* Fixed typecheck

* Fixed unit tests warning

* Fix failing functional tests

* Fix registry tests to have cleaner diff when it fails

* Make DEFAULT_SECTION a Section type

* Remove unused constructor

* Make app dependency error string same line

* Remove unused error pages

* Set interface to alerts context

* Fix action_connector_form.tsx label

* Fix label in connector_add_flyout.tsx

* Fix label in alert_add.tsx

* Move alert_types to builtin_alert_types

* Move some threshold constants into threshold folder

* Move api.ts within threshold folder

* Removed duplication logic from action type and alert type registry list

* Fixed email action type test and adjusted validation to support arrays ony

* Added missing connector fields for email action type

* Fixed building action types issues due to comments

* Refactored with more new platform structure; fixed some comments from review

* Capitalize Actions in 'Alerts and Actions' labels

* Skip flaky tests

* Fix failing functional test

* Fixed failing unit tests, added new deps

* Fixed type checks

* Fixed language check failing

* Fix broken functional tests

* Refactored actionConnectors and alerting context

* Removed doc title service

* added get time options type definitions

* removed obsolete code

* Made generic registry type for actionTypes and alert types

* Fixed some enum types

* fixed type check CI

* Convert EuiSearchBar to normal text field

* Fix typo

* Fix conditional rendering

* Fix bug where selection doesn't reset

* Fix broken functional test, wait for ENTER key to search alerts

* Make app section hide from menu when user doesn't have access

* Fixed connector name validation (error due to renaming from description)

* Removed obsolete useEffect

* Removed unused ShareRouter

* Fixed key validation error

* Mobed wrongly wrapped objects

* Removed useEffect from connectors form

* Replaced error forms with eui controls props

* Added delete confirmation dialog for connectors list

* Fixed build errors

* Fixed failing test

* Skip flaky tests

* Added null check for app context - render components tree only if it isn't null

* Fixed type check eror

* Did changes on the UX and text/labels commnets

* Fixed failing tests

* Fixed error handling

* Refactored Webhook form http headers due to the mockup

* Fixed build

* Fix labels issue

* Fix spacing and form row alignment

* Fixed failing type check

* put ownfocus on popover in actions list

* fix spacing and flex

* fix color on conectors list

* clean up webhook headers form

* fix logic check for headers

* Made changes due to review comments

* Fixed delete connector test

* Fixed all flaky test for delete connectors 53956

* Fixed type check due to NP changes

* Disable plugin by default

* Added configuration props for functional tests to enable triggers and actions ui

* removed timeout from test

* added enable triggers and actions to functional/config.js

* fix the build

* Changed ci group and disabled plugin

* changed config setting to root

* Changed disable approach

* Experiment with index managment

* Set back configuration settings for triggers and actions

* Enable plugins

* Set index management to disabled to see the failing issue

* Revert experimental back for index_managment

* Fixed type check

Co-authored-by: Mike Côté <mikecote@users.noreply.github.com>
Co-authored-by: dave.snider@gmail.com <dave.snider@gmail.com>
Co-authored-by: DeFazio <michael.defazio@elastic.co>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Peter Schretlen <peter.schretlen@gmail.com>
2020-01-13 16:16:20 -08:00
Spencer 357be5970d
share specific instances of some ui packages (#54079)
* share specific instances of some ui packages

* remove unnecessary eslint changes, every package will define deps anyway

* remove mentions of moment webpackShims in eslint resolver

* remove use of lodash

* list angular as dep for x-pack

* add operations as codeowner of shared-deps pkg
2020-01-10 15:22:18 -07:00
Tim Roes 53d1c96a4a
Remove non existing codeowners (#54274)
* Remove non existing codeowners

* Add TSVB to Kibana App codeowners
2020-01-08 18:10:26 +01:00
Mikhail Shustov 007ea5fc46
set AppArch team as an owner of the search endpoints (#54131) 2020-01-08 12:18:55 +03:00
Joe Reuter 06d26f6b68
Enforce shimmed plugin boundaries (#52633) 2019-12-20 19:01:56 +01:00
Tim Schnell 0e4dd3bc2f
adding canvas actions (#53163) 2019-12-19 13:51:53 -06:00
Nathan Reese 6e5f9cc703
[Maps] register @elastic/kibana-gis to maps code (#53487) 2019-12-19 11:23:20 -07:00
Josh Dover d6a19f1a12
Add rule for Platform team to pr-project-assigner (#53530) 2019-12-19 11:42:15 -06:00
Wylie Conlon 1fbb00d230
[Lens] Add Lens issues and PRs to our project (#53145)
* [Lens] Add Lens issues and PRs to our project

* Fix syntax issues
2019-12-18 18:03:06 -05:00
Alex Holmansky 942fdeeb2d
Fix a typo in PR project assigner workflow configuration (#53511)
* Workflow configurations to assign issues and PRs with Team:AppArch label to kibana-app-arch project

* Fix a typo in the label name

* Remove merge conflicts
2019-12-18 12:40:58 -05:00
Mike Côté cf8cb62bf5
Update codeowners to include functional tests (#53045) 2019-12-17 15:51:40 -05:00
Eli Perelman 614bde927e
Move CSP options to new platform (#52698)
* Move CSP options to new platform

* Expose SharedGlobalConfig from root

* Derive CSP options from config

* Consolidate CSP configuration with HTTP config

* Fix outstanding config renames

* Remove legacy CSP configuration calls, migrate to platform properties

* Revise docs

* Fix test from type change

* Expose ICspConfig, consolidate and simplify CSP defaults access

* Rebase and update docs

* Remove legacy API from route definition params, review nits

* Clean up config path usages for consistency

* Regenerate docs
2019-12-13 15:57:17 -06:00
Alex Holmansky 8d8da48ac8
Workflow configurations to assign issues and PRs with Team:AppArch label to kibana-app-arch project (#52820) 2019-12-13 10:03:30 -05:00
Vadim Dalecky 28e81f2b49
ci: remove labeler action config
When we installed "labeler" GitHub action we found out that it could cause PRs to fail, so we immediately disabled it on master. This removes the config the labeler action used.
2019-12-13 11:31:25 +01:00
Bill McConaghy 79a8528646
fixing CODEOWNERS file (#52919) 2019-12-12 13:41:10 -05:00
Joe Reuter b6ea6990c0
Migrate url shortener service (#50896) 2019-12-11 14:19:28 +01:00
Mikhail Shustov 6db76a7e6d
add codeowners for legacy server folder (#52158) 2019-12-06 08:23:48 +01:00
Luke Elmers d63595890e
Update App Arch CODEOWNERS with legacy plugins. (#51502) 2019-12-02 16:57:27 -07:00
Ahmad Bamieh 0039e97747
[Telemetry] collector set to np (#51618)
* first iteration

* local collection ready

* type check

* fix collectorSet tests

* unskip test

* ordering

* collectors as array in constructor

* update README files

* update README and canvas to check for optional dep

* update README with more details

* Add file path for README example

* type UsageCollectionSetup

* run type check after refactor
2019-11-27 01:55:48 +02:00
Aleh Zasypkin 0557a40a9d
Document @kbn/config-schema. (#50307) 2019-11-26 12:56:31 +01:00
Jonathan Budzenski 1ce02049aa
Swap renovate codeowners with assignee configuration (#48987)
* Swap renovate codeowners with assignee configuration

* remove :
2019-11-25 09:38:49 -06:00
Robert Oskamp ed8b822c8f
[ML] Add ownership of transform functional test files to ml-ui (#51418) 2019-11-22 14:46:57 +01:00
spalger bf2d6e7b6c [codeowners] assign src/dev/i18n to stack services team 2019-11-21 11:30:04 -07:00
Tiago Costa 48a2156c4c
chore(NA): remove code plugin from codeowners (#50451) 2019-11-15 00:19:57 +00:00
Aleh Zasypkin 203ef5577c
Migrate Encrypted Saved Objects plugin to the new platform. (#49890) 2019-11-01 22:32:12 +01:00
Larry Gregory 45617f0bbe
Adding NP spaces plugin to CODEOWNERS (#49963) 2019-11-01 15:37:38 -04:00
Walter Rafelsberger 0e341b2088
Fix CODEOWNERS. (#49740)
Fixes the format of the CODEOWNERS file to ping both ML-UI and ES-UI team for the transform plugin. Having the same path twice for each team ignored the second rule. This update has the path only once with both teams on the same line.
2019-10-30 09:12:17 -07:00
Vadim Dalecky a38223d890
Expressions np (#47810)
* refactor: 💡 generalize service getters and setters in expressio

* feat: 🎸 create NP-ready plugin for expressions

* refactor: 💡 flatten expressions plugin and remove service

* chore: 🤖 re-export legacy expressions service dir for Lens

* refactor: 💡 don't import renderer registry statically

* test: 💍 mock expressions service renderers registry in Mocha

* refactor: 💡 clean-up NP expressions pugin

* refactor: 💡 move Expression fonts to NP

* refactor: 💡 register Interpreter entities explicitly

* refactor: 💡 move clog Expression function to NP

* refactor: 💡 move font function and style types to NP

* refactor: 💡 remove ui/chrome from kibana_context function

* feat: 🎸 add ability to consume start core from setup life-cycle

* refactor: 💡 move kibana_context function to NP

* feat: 🎸 improve naming and delete import of missing function

* refactor: 💡 register expression clog and font fn in NP

* chore: 🤖 set AppArch as GitHub folder owners

* refactor: 💡 move Expression "kibana" function to NP

* refactor: 💡 move range function to visualizations plugin

* feat: 🎸 move visDimensions to visualizations plugin

* chore: 🤖 delete unused files

* refactor: 💡 move expression type registration to NP

* refactor: 💡 move createHandlers() function to NP

* feat: 🎸 move Expression executor to NP

* refactor: 💡 re-implement function registry

* refactor: 💡 convert expression type to class

* fix: 🐛 correct TypeScript errors

* feat: 🎸 convert Expressions type registry to class

* feat: 🎸 convert render function registry to class

* fix: 🐛 fix TypeScript errors

* fix: 🐛 fix translations after refactor

* refactor: 💡 move Expression types to NP

* test: 💍 remove unused test

* fix: 🐛 fix Lens import after merge with master

* fix: 🐛 fix TypeScript errors

* refactor: 💡 update expression types

* test: 💍 fix renderer test
2019-10-30 14:57:53 +01:00
Mikhail Shustov e665574c30
add platform team as a licensing owner (#49617) 2019-10-30 09:45:20 -04:00
Liza Katz 6bb30e7190
Allow plugins to register top nav menu items (regression fix) (#48542)
* Move top nav menu to its own plugin
Allow registering additional options from other plugins
Added demo plugin

* Added functional test to validate top nav registration

* Improved names

* Rename array

* Fixed lens tests

* Deleted old NavBarExtensionsRegistryProvider

* Fixed top nav menu test

* Attempt fixing test by clearing ui_actions on stop

* temporary disable test
2019-10-28 10:40:21 +02:00
spalger 9758d6971d add codeowner declarations for operations packages 2019-10-21 12:58:37 -07:00
Walter Rafelsberger 41aea39cc0
Adds es-ui team to transform plugin in CODEOWNERS. (#48665) 2019-10-21 01:47:43 -07:00
Sebastian Grodzicki b8647aece3
Adding @elastic/epm to CODEOWNERS (#48237) 2019-10-16 12:05:25 +02:00
Sebastian Grodzicki 5dda3b1d6a
Update Logs & Metrics UI team name (#47942) 2019-10-16 10:10:42 +02:00
Rudolf Meijering 1a9cd51891
Remove platform as code owner from ui/saved_objects (#47673) 2019-10-14 13:25:12 +02:00
Brandon Kobel 9235db5ff7
Reenabling the privileges test, and removing the includeActions test (#48027)
* Reenabling the privileges test, and skipping the one that includes
actions

* Making the security team the codeowner
2019-10-11 15:02:53 -07:00
Walter Rafelsberger bcf9ec3662
[transform] Move ML "Data Frame Transforms" to Kibana management section "Transforms". (#45880)
Moves "Data frame transforms" from the ML plugin to its own "transform" plugin within the Kibana management section.
2019-10-09 11:13:27 -07:00
Søren Louv-Jansen 4d432f1d9c
Update CODEOWNERS (#47029) 2019-10-01 15:59:16 +02:00
Joe Reuter eeac753084
add graph to codeowners file (#46468) 2019-09-25 09:04:11 +02:00
Pete Harverson e6ea269319
[ML] Add ownership of ML functional test files to ml-ui (#45915) 2019-09-18 09:20:47 +01:00