Commit graph

32 commits

Author SHA1 Message Date
Larry Gregory 0886b0e9e5
Don't query for the current user on anonymous pages (#99511) 2021-05-06 17:04:56 -04:00
Larry Gregory ec8ff3a7fc
Only add cloud-specific links for superusers (#97870)
Co-authored-by: Aleh Zasypkin <aleh.zasypkin@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-23 11:59:11 -04:00
Yulia Čech 5d0af1cd36
[Cloud plugin] Added README text (#97999)
* Added README text

* Update x-pack/plugins/cloud/README.md

Co-authored-by: Alejandro Fernández Haro <afharo@gmail.com>

* Updated README.md

* Updated docs build

Co-authored-by: Alejandro Fernández Haro <afharo@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-23 17:08:22 +02:00
Nicolas Chaulet 7a4a71cff7
[Fleet] Set fleet server host in cloud (#98070) 2021-04-23 09:57:13 -04:00
Mikhail Shustov e457f212c4
Revert "TS Incremental build exclude test files (#95610)" (#96223)
This reverts commit b6e582c53e.
2021-04-05 11:59:26 -07:00
Mikhail Shustov b6e582c53e
TS Incremental build exclude test files (#95610)
* add base config for all the TS projects

* all the project use new tsconfig.project.json

* compile test files in the high-level tsconfig.json

* fix TS error in maps plugin

* fix TS error in infra plugin

* exclude mote test and test until folders

* uptime. do not import test code within prod code

* expressions. do not import test code within prod code

* data: export mocks from high level folder

* task_manager: comply with es client typings

* infra: remove unused enzyme_helpers

* check_ts_project requires "include" key

* ts_check should handle parent configs

* all ts configs should extend base one

* exclude test folders from plugins

* update patterns to fix ts_check errors

* Apply suggestions from code review

Co-authored-by: Constance <constancecchen@users.noreply.github.com>

* uptime: MountWithReduxProvider to test helpers

Co-authored-by: Constance <constancecchen@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-01 14:40:47 +02:00
Ryan Keairns b301d416b7
Update Cloud plugin to handle new config in kibana.yml (#95569)
* Handle cloud urls from kibana.yml

* Add types to utils params

* Update utils

* address nits

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-31 07:49:50 -05:00
Ryan Keairns f61657c5e9
Update text and icons to align with Cloud (#86394)
* Update text and icons to align with Cloud

* Update test to reflect new page title prefix

* Change links conditionally

* Simplify profile link logic

* Add setAsProfile prop for overriding default link

* Address feedback

* remove translations since message has changed

* Tidying up

* Add unit tests.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Aleh Zasypkin <aleh.zasypkin@gmail.com>
2021-03-11 08:53:46 -06:00
Pierre Gayvallet 3b3327dbc3
Migrate most plugins to synchronous lifecycle (#89562)
* first pass

* migrate more plugins

* migrate yet more plugins

* more oss plugins

* fix test file

* change Plugin signature on the client-side too

* fix test types

* migrate OSS client-side plugins

* migrate OSS client-side test plugins

* migrate xpack client-side plugins

* revert fix attempt on fleet plugin

* fix presentation start signature

* fix yet another signature

* add warnings for server-side async plugins in dev mode

* remove unused import

* fix isPromise

* Add client-side deprecations

* update migration examples

* update generated doc

* fix xpack unit tests

* nit

* (will be reverted) explicitly await for license to be ready in the auth hook

* Revert "(will be reverted) explicitly await for license to be ready in the auth hook"

This reverts commit fdf73feb

* restore await on on promise contracts

* Revert "(will be reverted) explicitly await for license to be ready in the auth hook"

This reverts commit fdf73feb

* Revert "restore await on on promise contracts"

This reverts commit c5f2fe51

* add delay before starting tests in FTR

* update deprecation ts doc

* add explicit contract for monitoring setup

* migrate monitoring plugin to sync

* change plugin timeout to 10sec

* use delay instead of silence
2021-02-08 10:19:54 +01:00
Brandon Kobel 4584a8b570
Elastic License 2.0 (#90099)
* Updating everything except the license headers themselves

* Applying ESLint rules

* Manually replacing the stragglers
2021-02-03 18:12:39 -08:00
Pierre Gayvallet c0438ad25c
[DX] migrate core xpack plugins to tsproject ref (#88676)
* migrate cloud, beatsManagement and savedObjectTagging to TS project ref

* migrates globalSearchBar

* fix beatsManagement config

* fix beatsManagement ts

* fix beatsManagement config again

* indent.
2021-01-20 16:40:13 +01:00
Tyler Smalley b593781009
Jest multi-project configuration (#77894)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2020-12-02 11:42:23 -08:00
Catherine Liu 4dba10c76a
Adds cloud links to user menu (#82803)
Co-authored-by: Ryan Keairns <contactryank@gmail.com>
2020-11-10 09:51:27 -06:00
Catherine Liu e378555971
Revert "Adds cloud links to user popover (#66825)" (#82802)
This reverts commit 8cdf56636a.
2020-11-05 21:25:57 -07:00
Catherine Liu 8cdf56636a
Adds cloud links to user popover (#66825)
Co-authored-by: Ryan Keairns <contactryank@gmail.com>
2020-11-05 17:41:07 -07:00
Pierre Gayvallet 926fe8915d
Add platform's missing READMEs (#82268)
* add missing readme

* update ascidoc
2020-11-05 10:40:15 +01:00
Jean-Louis Leysens 43a055f9b9
[ILM] Minor copy and link additions to cloud CTA for cold phase (#80512)
* Add CTA for warm phase too

- add/updated component integration tests for checking callouts
- sharing deployment url from cloud plugin

* update comment

* fix i18n

* scope changes to cold phase only

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-21 16:24:30 +02:00
Christiane (Tina) Heiligers 70a9164790
[Usage Collection] Improves Collector fetch API (#79595)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-13 09:55:22 -07:00
Ahmad Bamieh 266f853b0b
[Telemetry] Collector Schema (#64942)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-27 02:52:26 +03:00
Catherine Liu 8ed4f7f91f
Adds link for Cloud deployment settings (#66486)
Co-authored-by: Michail Yasonik <michail@yasonik.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-24 15:08:37 -07:00
Brandon Kobel 90d2b18bc5
Add Data - Adding cloud reset password link to cloud instructions (#62835)
* Adding cloud reset password link to cloud filebeat instructions

* Auditbeat gets the cool reset password link

* And the other beats instructions get the awesome password reset link

* Changing the i18n id to more closely match the on-prem cloud id

* Changing text for forgot password

* Removing now unused translations

* "Forgot your password" -> "Forgot the password"

* "Elastic Cloud UI" -> "Elastic Cloud"

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-09 07:43:36 -07:00
Joe Reuter 28034d05a9
Remove injected reference from home app (#57836) 2020-02-19 12:51:26 +01:00
Alejandro Fernández Haro 2bb46732e1
[Telemetry] Report Kibana distro in local collectors + Usage Collectors in TS (#55859)
* [Telemetry] Report Kibana distro in local collectors + Usage Collectors in TS

* Ensure isReady is a function

* Move CollectorSet tests to TS + Jest

* Fix test

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-02-05 14:08:30 +00:00
Joe Reuter b9a0f958bc
Reverse dependency of home plugin and apm/ml/cloud (#52883) 2020-01-15 10:10:12 +01:00
Ahmad Bamieh 9fe302cf17
[Cloud] move cloud plugin to np (#51789)
* move cloud dir to plugins from legacy

* first iteration moving to NP

* config as observable

* finish plugin

* migrate xpack.cloud.apm.*

* self code review

* remove unused lodash get

* use lodash get to get configs

* export SerializedDatatable

* eslint fix

* eslint fix

* fix setup type

* fix monitoring tests

* fix test mock function

* resolve ELASTIC_SUPPORT_LINK in core

* running check_core_api_changes script

* review feedback

* mock setHelpSupportUrl

* update snapshots
2019-12-05 08:20:28 -05:00
Court Ewing 7ac8e4d9cc Move x-pack plugins/server/common to x-pack/legacy 2019-06-20 13:34:48 -04:00
Chris Roberson c87e8811cb
[Monitoring/Telemetry] Force collectors to indicate when they are ready (#36153)
* Initial code to force collectors to indicate when they are ready

* Add and fix tests

* Remove debug

* Add ready check in api call

* Fix prettier complaints

* Return 503 if not all collectors are ready

* PR feedback

* Add retry logic for  usage collection in the reporting tests

* Fix incorrect boomify usage

* Fix more issues with the tests

* Just add debug I guess

* More debug

* Try and handle this exception

* Try and make the tests more defensive and remove console logs

* Retry logic here too

* Debug for the reporting tests failure

* I don't like this, but lets see if it works

* Move the retry logic into the collector set directly

* Add support for this new collector

* Localize this

* This shouldn't be static on the class, but rather static for the entire runtime
2019-05-20 13:03:24 -04:00
Tyler Smalley fc55ca5d60
[UA] Protects against Cloud plugin being disabled (#31637)
Currently, if the Cloud plugin is disabled the server will fail to start

Fixes #31612

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2019-02-22 10:06:24 -08:00
Ahmad Bamieh b60119e9ac
[Telemetry] collect xpack.cloud details (#31180)
* collect xpack.cloud details

* add elasticsearch cluster uuid

* remove cloud ID from telemetry stats

* remove esUUID from telemtry stats
2019-02-21 17:28:58 +02:00
Josh Dover 20ffce229b
Filter out security realm deprecations on Cloud (#30018) 2019-02-05 00:17:47 -06:00
Søren Louv-Jansen a683791da0
[Home] Add Cloud apmServerUrl and secretToken to APM Getting Started Guide (#27133)
* [APM] Moving files into folders

* [APM] Display apmServerUrl and secretToken in Getting Started guide

* Add secret_token to java

* Rename “client” to "agent"

* Conditionally get config
2018-12-19 01:36:35 +01:00
Jenkins CI fe4609647d Migrate x-pack-kibana source to kibana 2018-04-24 13:48:10 -07:00