Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Logs / Metrics] New Platform migration (full cutover) #54583

Merged
merged 162 commits into from
Feb 18, 2020
Merged
Changes from 1 commit
Commits
Show all changes
162 commits
Select commit Hold shift + click to select a range
26c7747
Remove remaining 'ui/' imports
Kerry350 Jan 8, 2020
d805286
Adds singleton registration utilities in case we need them as an esca…
jasonrhodes Dec 23, 2019
64c29ca
Renames app to legacy_shim for clarity
jasonrhodes Dec 23, 2019
1103ba3
Replaces QueryString kibana util with querystring lib
jasonrhodes Dec 23, 2019
a2d91ed
Move server dir (git mv x-pack/legacy/plugins/infra/server x-pack/plu…
Kerry350 Jan 13, 2020
b72e3a7
Move common dir (git mv x-pack/legacy/plugins/infra/common x-pack/plu…
Kerry350 Jan 13, 2020
a0def1f
Move public dir (git mv x-pack/legacy/plugins/infra/public x-pack/plu…
Kerry350 Jan 13, 2020
9d396ac
Move docs dir (git mv x-pack/legacy/plugins/infra/docs x-pack/plugins…
Kerry350 Jan 13, 2020
6d03a3c
Move types dir (git mv x-pack/legacy/plugins/infra/types x-pack/plugi…
Kerry350 Jan 13, 2020
6e65242
Move scripts dir (git mv x-pack/legacy/plugins/infra/scripts x-pack/p…
Kerry350 Jan 13, 2020
7d89358
Move README file (git mv x-pack/legacy/plugins/infra/README.md x-pack…
Kerry350 Jan 13, 2020
0ba19ee
Remove the legacy infra dir
Kerry350 Jan 13, 2020
edb53cc
Add eslint-disable-next-line @kbn/eslint/no-restricted-paths eslint r…
Kerry350 Jan 10, 2020
6c555d8
Unshims NP server plugin
jasonrhodes Dec 23, 2019
99ee9bd
Fix plugins.home.sampleData handling (this wasn't handled in the orig…
Kerry350 Jan 13, 2020
9303ac6
Fixes index patterns dependency for NP (based on APM)
jasonrhodes Dec 23, 2019
25fe506
Removes lodash/fp dependency to avoid need for our own lodash
jasonrhodes Dec 23, 2019
1e18bac
NP cleanup and removal of legacy server directory
jasonrhodes Jan 3, 2020
6719d12
Implements destructured imports for lodash methods
jasonrhodes Jan 9, 2020
9da401a
Fixes lodash destructure change so methods are correctly called in code
jasonrhodes Jan 9, 2020
d098523
yarn.lock changes (as package.json was removed from legacy infra folder)
Kerry350 Jan 13, 2020
19325ec
Fix various (non test) import paths
Kerry350 Jan 13, 2020
ede7bee
Add // eslint-disable-next-line @kbn/eslint/no-restricted-paths eslin…
Kerry350 Jan 13, 2020
d86cedd
Move metrics_explorer API types from server to common to fix restrict…
Kerry350 Jan 13, 2020
169365e
Move ip_to_hostname types from server to common to fix restricted imp…
Kerry350 Jan 13, 2020
7f9011c
Fixes to various typecheck and eslint errors
Kerry350 Jan 13, 2020
e8ea1bd
Merge remote-tracking branch 'upstream/master' into client-and-server…
Kerry350 Jan 14, 2020
650ab64
Move all brand new files (that don't fall under renames) to correct …
Kerry350 Jan 14, 2020
788586b
Amend import paths for categories work
Kerry350 Jan 14, 2020
2295e7e
Remove public shimming (not rendering yet)
Kerry350 Jan 14, 2020
e78358a
Merge remote-tracking branch 'upstream/master' into client-and-server…
Kerry350 Jan 14, 2020
3438cb3
Add Application registration and mounting for metrics and logs
Kerry350 Jan 14, 2020
0e31452
Fixes type and path errors
jasonrhodes Jan 15, 2020
d470f1b
Fix Lodash uses
Kerry350 Jan 15, 2020
0dbfaba
Merge pull request #3 from jasonrhodes/Kerry350__client-and-server-np…
Kerry350 Jan 15, 2020
714fa61
Merge branch 'client-and-server-np-dir-move' of github.com:Kerry350/k…
Kerry350 Jan 15, 2020
4131e59
Merge remote-tracking branch 'upstream/master' into client-and-server…
Kerry350 Jan 15, 2020
e72c06c
Move brand new file from master merge
Kerry350 Jan 15, 2020
8d81d6b
Merge remote-tracking branch 'upstream/master' into client-and-server…
Kerry350 Jan 16, 2020
afd35b9
Add styles to the element handed to us from application mouting
Kerry350 Jan 16, 2020
9c5b40a
Merge remote-tracking branch 'upstream/master' into client-and-server…
Kerry350 Jan 20, 2020
c2ea6c5
Change hash based routing to standard history API based routing
Kerry350 Jan 20, 2020
590c830
Move brand new files from merge
Kerry350 Jan 20, 2020
8c4ef84
Fix lodash references using _.
Kerry350 Jan 20, 2020
f382e35
Fix external linking
Kerry350 Jan 20, 2020
bad43ee
Amend usage of qs.stringify as it doesn't match the old behaviour and…
Kerry350 Jan 20, 2020
5598ff3
Merge remote-tracking branch 'upstream/master' into client-and-server…
Kerry350 Jan 21, 2020
1e338a8
Move new files from merge
Kerry350 Jan 21, 2020
b0edb90
Move file to correct location
Kerry350 Jan 21, 2020
145555a
Amend import path
Kerry350 Jan 22, 2020
2985910
Amend functional tests to accomodate browser based history
Kerry350 Jan 22, 2020
b3d6278
Merge remote-tracking branch 'upstream/master' into client-and-server…
Kerry350 Jan 22, 2020
fbed5ec
Port over Observability "category" changes from #53545
Kerry350 Jan 22, 2020
b7bc983
Add configPath to kibana.json
Kerry350 Jan 23, 2020
4533f91
Remove use of utils/fetch (Axios) and move to proper NP HTTP service
Kerry350 Jan 23, 2020
daaf0d6
Adjust response expectations to match http.fetch
Kerry350 Jan 23, 2020
ed6e5a7
Amend calculate_domain to account for change in behaviour in Lodash v…
Kerry350 Jan 23, 2020
3f316ca
Reinstates legacy infra plugin to make saved object mappings availabi…
jasonrhodes Jan 23, 2020
5879c9d
Merge pull request #4 from jasonrhodes/np-help_reinstate-legacy-infra…
Kerry350 Jan 23, 2020
4382081
Initiates legacy plugin correctly with proper dummy config
jasonrhodes Jan 23, 2020
bc0ed82
Merge remote-tracking branch 'upstream/master' into client-and-server…
Kerry350 Jan 23, 2020
bbe8436
Merge pull request #5 from jasonrhodes/np-help_reinstate-legacy-infra…
Kerry350 Jan 23, 2020
b5840dd
Merge branch 'client-and-server-np-dir-move' of github.com:Kerry350/k…
Kerry350 Jan 23, 2020
0ce1705
Move duplicated code into util function
Kerry350 Jan 23, 2020
9fa7a1c
Merge remote-tracking branch 'upstream/master' into client-and-server…
Kerry350 Jan 24, 2020
513bc07
Use usageCollection.reportUiStats for telemetry in useTrackMetric hook
Kerry350 Jan 24, 2020
272d21c
Add else clause
Kerry350 Jan 24, 2020
bd159f7
Change to conditional and switch warn to log
Kerry350 Jan 24, 2020
db3b578
Start amending functional tests
Kerry350 Jan 24, 2020
eab2091
Functional test amends
Kerry350 Jan 24, 2020
5d1f7f6
Merge remote-tracking branch 'upstream/master' into client-and-server…
Kerry350 Jan 27, 2020
8937728
Fix functional test / amend navigation helper
Kerry350 Jan 27, 2020
cc1dd36
Amend navigateToUrlWithBrowserHistory with new argument
Kerry350 Jan 27, 2020
9ddf7f9
Fixes APM trackEvent usage in NP context
jasonrhodes Jan 27, 2020
87ef535
Converts the rest of the APM uses of trackEvent
jasonrhodes Jan 27, 2020
3493e55
Moves track metric telemetry hooks etc to shared observability plugin
jasonrhodes Jan 27, 2020
dfcaaa0
Completes fleshing out basic observability NP plugin
jasonrhodes Jan 27, 2020
ed87031
Wraps APM app in KibanaContextProvider
jasonrhodes Jan 27, 2020
df4ccca
Fixed name mismatch problem
jasonrhodes Jan 27, 2020
d791da3
Fix unit tests
Kerry350 Jan 27, 2020
6a80609
Fix typing
Kerry350 Jan 27, 2020
83e17e4
Merge remote-tracking branch 'upstream/master' into client-and-server…
Kerry350 Jan 28, 2020
f5f41d7
Merge pull request #6 from jasonrhodes/apm-use-track-metric-hook-idea
Kerry350 Jan 28, 2020
3425228
Merge branch 'client-and-server-np-dir-move' of github.com:Kerry350/k…
Kerry350 Jan 28, 2020
2abc315
Guard against reportUiStats not being available (test scenarios etc)
Kerry350 Jan 28, 2020
ddf7a7a
Pass through plugins from start contracts not setup
Kerry350 Jan 28, 2020
cbb6c23
Merge remote-tracking branch 'upstream/master' into client-and-server…
Kerry350 Jan 29, 2020
3e1547e
Move shared typings from public/utils into proper shared Observabilit…
Kerry350 Jan 30, 2020
33a0fce
Merge remote-tracking branch 'upstream/master' into client-and-server…
Kerry350 Jan 30, 2020
3769ccd
Move new files
Kerry350 Jan 30, 2020
56869ae
Don't use typings as a module
Kerry350 Jan 30, 2020
7e5d87d
Fixes autocomplete in the new platform
jasonrhodes Jan 31, 2020
a89308f
Merge remote-tracking branch 'upstream/master' into client-and-server…
Kerry350 Jan 31, 2020
9289e49
Merge our plugins before starting the application
Kerry350 Jan 31, 2020
6cbc6c4
Merge remote-tracking branch 'origin/client-and-server-np-dir-move' i…
Kerry350 Jan 31, 2020
871a196
Fix variable reference from previous merge conflict resolution
Kerry350 Jan 31, 2020
2b59b50
Address typecheck failures
Kerry350 Jan 31, 2020
4cc05c1
Merge remote-tracking branch 'upstream/master' into client-and-server…
Kerry350 Feb 3, 2020
f44415d
Merge pull request #7 from jasonrhodes/np-fix-autocomplete
Kerry350 Feb 3, 2020
b2d7cfc
Merge branch 'client-and-server-np-dir-move' of github.com:Kerry350/k…
Kerry350 Feb 3, 2020
4243b4a
Remove rison_node.d.ts declaration file from infra and move to the sh…
Kerry350 Feb 3, 2020
ba35485
Better typings for autocomplete components
Kerry350 Feb 3, 2020
4161c86
Merge remote-tracking branch 'upstream/master' into client-and-server…
Kerry350 Feb 4, 2020
86a14ae
Fix i18nrc failures
Kerry350 Feb 4, 2020
b508b3b
Remove old legacy yarn.lock file
Kerry350 Feb 4, 2020
e1f2eb8
Updates app ids to solve routing problem when no base path is used
jasonrhodes Feb 4, 2020
f81207e
Merge pull request #8 from jasonrhodes/Kerry350__client-and-server-np…
Kerry350 Feb 4, 2020
c39d332
Merge remote-tracking branch 'upstream/master' into client-and-server…
Kerry350 Feb 4, 2020
4ee33d8
Merge remote-tracking branch 'upstream/master' into client-and-server…
Kerry350 Feb 5, 2020
d5c6459
Use data_enhanced plugin for Kuery autocomplete
Kerry350 Feb 5, 2020
3a1cce8
Merge remote-tracking branch 'upstream/master' into client-and-server…
Kerry350 Feb 6, 2020
881afe7
Add legacy routing layer to redirect /app/infra# URLs and fix app <->…
Kerry350 Feb 6, 2020
9f55d60
Account for edge case
Kerry350 Feb 6, 2020
6fd1cc5
Fix feature registration based on new App IDs
Kerry350 Feb 6, 2020
de70f2f
Update Jest snapshots for Uptime and Monitoring
Kerry350 Feb 6, 2020
ef4dca3
Fix tests / typecheck errors
Kerry350 Feb 7, 2020
6776339
Merge remote-tracking branch 'upstream/master' into client-and-server…
Kerry350 Feb 7, 2020
46656c4
Temp disable test
Kerry350 Feb 7, 2020
c576d14
Merge branch 'master' into client-and-server-np-dir-move
Kerry350 Feb 10, 2020
63a8798
Amend infrastucture_spaces functional tests
Kerry350 Feb 10, 2020
770339e
Account for different element setup
Kerry350 Feb 10, 2020
755acae
Merge remote-tracking branch 'upstream/master' into client-and-server…
Kerry350 Feb 10, 2020
2075cd1
Amend href attributes and remove the previous redirect layer
Kerry350 Feb 10, 2020
bb0c158
Merge remote-tracking branch 'upstream/master' into client-and-server…
Kerry350 Feb 11, 2020
327e480
Move new file
Kerry350 Feb 11, 2020
72641b2
Setup independent Metrics and Logs routers so that the history instan…
Kerry350 Feb 11, 2020
3f125f2
Remove APP_ID use
Kerry350 Feb 11, 2020
ea301f0
Add InfraAppId type
Kerry350 Feb 11, 2020
3d8deab
Merge remote-tracking branch 'upstream/master' into client-and-server…
Kerry350 Feb 12, 2020
89bb3de
Fix throttling of event tracking
Kerry350 Feb 12, 2020
7478011
Merge remote-tracking branch 'upstream/master' into client-and-server…
Kerry350 Feb 13, 2020
e45e6ce
Remove /legacy imports from Obervability plugin to fix build failures…
Kerry350 Feb 13, 2020
562cc09
Amend useUiTracker and APM usage
Kerry350 Feb 13, 2020
0e3a624
Merge remote-tracking branch 'upstream/master' into client-and-server…
Kerry350 Feb 13, 2020
917d173
Ensure response type for metrics explorer data is properly typed
Kerry350 Feb 13, 2020
5788aae
Use wrapper for mocking fetch from the KibanaContextProvider rather t…
Kerry350 Feb 13, 2020
80ce117
Update x-pack/plugins/infra/public/components/waffle/node_context_men…
Kerry350 Feb 13, 2020
997cf3b
Merge branch 'client-and-server-np-dir-move' of github.com:Kerry350/k…
Kerry350 Feb 13, 2020
5245816
Use Number.isFinite
Kerry350 Feb 13, 2020
47b9a34
Update x-pack/plugins/infra/public/components/logging/log_text_stream…
Kerry350 Feb 13, 2020
de32d77
Update x-pack/plugins/infra/public/components/logging/log_text_stream…
Kerry350 Feb 13, 2020
5342f07
Merge branch 'client-and-server-np-dir-move' of github.com:Kerry350/k…
Kerry350 Feb 13, 2020
1778b3a
Cleanup path prefixing with a hook
Kerry350 Feb 13, 2020
98b13bc
Merge remote-tracking branch 'upstream/master' into client-and-server…
Kerry350 Feb 14, 2020
5c21ac2
Fix tests
Kerry350 Feb 14, 2020
ab7fea7
Merge remote-tracking branch 'upstream/master' into client-and-server…
Kerry350 Feb 14, 2020
ce8b37b
Update x-pack/plugins/infra/server/lib/log_analysis/log_entry_rate_an…
Kerry350 Feb 14, 2020
2a2ec6a
Remove unused file
Kerry350 Feb 14, 2020
c3c0621
Merge branch 'client-and-server-np-dir-move' of github.com:Kerry350/k…
Kerry350 Feb 14, 2020
a92e367
Remove setup from legacy_singletons
Kerry350 Feb 14, 2020
18341a1
Add generic typing for clarity on which services are needed
Kerry350 Feb 14, 2020
9cbca46
Es lint fixes
Kerry350 Feb 14, 2020
825ffb4
Appease eslint
Kerry350 Feb 14, 2020
87fa820
Merge remote-tracking branch 'upstream/master' into client-and-server…
Kerry350 Feb 17, 2020
e967ce0
Ensure Apollo uses core.http.fetch
Kerry350 Feb 17, 2020
4f939c1
ES lint changes
Kerry350 Feb 17, 2020
a7678cf
Merge remote-tracking branch 'upstream/master' into client-and-server…
Kerry350 Feb 17, 2020
1cd37c8
Amend tests
Kerry350 Feb 17, 2020
f46a4c4
Ensure config is handled properly
Kerry350 Feb 17, 2020
934f001
Account for Apollo-link bug
Kerry350 Feb 17, 2020
e437cd3
Merge remote-tracking branch 'upstream/master' into client-and-server…
Kerry350 Feb 18, 2020
5a5813a
Improve type usages
Kerry350 Feb 18, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Prev Previous commit
Next Next commit
Merge remote-tracking branch 'upstream/master' into client-and-server…
…-np-dir-move
Kerry350 committed Jan 14, 2020
commit e8ea1bd20027f0a6c512852f0e3a4639644ada8f
3 changes: 3 additions & 0 deletions .github/CODEOWNERS
This CODEOWNERS file contains errors

CODEOWNERS errors

  • Unknown owner on line 6: make sure the team @elastic/kibana-app exists, is publicly visible, and has write access to the repository
    /x-pack/legacy/plugins/lens/ @elastic/kibana-app
  • Unknown owner on line 7: make sure the team @elastic/kibana-app exists, is publicly visible, and has write access to the repository
    /x-pack/legacy/plugins/graph/ @elastic/kibana-app
  • Unknown owner on line 8: make sure the team @elastic/kibana-app exists, is publicly visible, and has write access to the repository
    /src/plugins/share/ @elastic/kibana-app
  • Unknown owner on line 9: make sure the team @elastic/kibana-app exists, is publicly visible, and has write access to the repository
    …legacy/server/url_shortening/ @elastic/kibana-app
  • Unknown owner on line 10: make sure the team @elastic/kibana-app exists, is publicly visible, and has write access to the repository
    …rc/legacy/server/sample_data/ @elastic/kibana-app
  • Unknown owner on line 11: make sure the team @elastic/kibana-app exists, is publicly visible, and has write access to the repository
    …gins/kibana/public/dashboard/ @elastic/kibana-app
  • Unknown owner on line 12: make sure the team @elastic/kibana-app exists, is publicly visible, and has write access to the repository
    …ugins/kibana/public/discover/ @elastic/kibana-app
  • Unknown owner on line 13: make sure the team @elastic/kibana-app exists, is publicly visible, and has write access to the repository
    …gins/kibana/public/visualize/ @elastic/kibana-app
  • Unknown owner on line 14: make sure the team @elastic/kibana-app exists, is publicly visible, and has write access to the repository
    …ic/local_application_service/ @elastic/kibana-app
  • Unknown owner on line 15: make sure the team @elastic/kibana-app exists, is publicly visible, and has write access to the repository
    …e_plugins/kibana/public/home/ @elastic/kibana-app
  • Unknown owner on line 16: make sure the team @elastic/kibana-app exists, is publicly visible, and has write access to the repository
    …gins/kibana/public/dev_tools/ @elastic/kibana-app
  • Unknown owner on line 17: make sure the team @elastic/kibana-app exists, is publicly visible, and has write access to the repository
    …/legacy/core_plugins/metrics/ @elastic/kibana-app
  • Unknown owner on line 18: make sure the team @elastic/kibana-app exists, is publicly visible, and has write access to the repository
    /src/plugins/home/ @elastic/kibana-app
  • Unknown owner on line 19: make sure the team @elastic/kibana-app exists, is publicly visible, and has write access to the repository
    /src/plugins/kibana_legacy/ @elastic/kibana-app
  • Unknown owner on line 20: make sure the team @elastic/kibana-app exists, is publicly visible, and has write access to the repository
    /src/plugins/timelion/ @elastic/kibana-app
  • Unknown owner on line 21: make sure the team @elastic/kibana-app exists, is publicly visible, and has write access to the repository
    /src/plugins/dev_tools/ @elastic/kibana-app
  • Unknown owner on line 24: make sure the team @elastic/kibana-app-arch exists, is publicly visible, and has write access to the repository
    /src/plugins/data/ @elastic/kibana-app-arch
  • Unknown owner on line 25: make sure the team @elastic/kibana-app-arch exists, is publicly visible, and has write access to the repository
    /src/plugins/embeddable/ @elastic/kibana-app-arch
  • Unknown owner on line 26: make sure the team @elastic/kibana-app-arch exists, is publicly visible, and has write access to the repository
    /src/plugins/expressions/ @elastic/kibana-app-arch
  • Unknown owner on line 27: make sure the team @elastic/kibana-app-arch exists, is publicly visible, and has write access to the repository
    /src/plugins/kibana_react/ @elastic/kibana-app-arch
  • Unknown owner on line 28: make sure the team @elastic/kibana-app-arch exists, is publicly visible, and has write access to the repository
    /src/plugins/kibana_utils/ @elastic/kibana-app-arch
  • Unknown owner on line 29: make sure the team @elastic/kibana-app-arch exists, is publicly visible, and has write access to the repository
    /src/plugins/navigation/ @elastic/kibana-app-arch
  • Unknown owner on line 30: make sure the team @elastic/kibana-app-arch exists, is publicly visible, and has write access to the repository
    /src/plugins/ui_actions/ @elastic/kibana-app-arch
  • Unknown owner on line 31: make sure the team @elastic/kibana-app-arch exists, is publicly visible, and has write access to the repository
    /src/plugins/visualizations/ @elastic/kibana-app-arch
  • Unknown owner on line 32: make sure the team @elastic/kibana-app-arch exists, is publicly visible, and has write access to the repository
    …/plugins/advanced_ui_actions/ @elastic/kibana-app-arch
  • Unknown owner on line 33: make sure the team @elastic/kibana-app-arch exists, is publicly visible, and has write access to the repository
    …src/legacy/core_plugins/data/ @elastic/kibana-app-arch
  • Unknown owner on line 34: make sure the team @elastic/kibana-app-arch exists, is publicly visible, and has write access to the repository
    …ticsearch/lib/create_proxy.js @elastic/kibana-app-arch
  • Unknown owner on line 35: make sure the team @elastic/kibana-app-arch exists, is publicly visible, and has write access to the repository
    …/core_plugins/embeddable_api/ @elastic/kibana-app-arch
  • Unknown owner on line 36: make sure the team @elastic/kibana-app-arch exists, is publicly visible, and has write access to the repository
    …acy/core_plugins/interpreter/ @elastic/kibana-app-arch
  • Unknown owner on line 37: make sure the team @elastic/kibana-app-arch exists, is publicly visible, and has write access to the repository
    …cy/core_plugins/kibana_react/ @elastic/kibana-app-arch
  • Unknown owner on line 38: make sure the team @elastic/kibana-app-arch exists, is publicly visible, and has write access to the repository
    …ins/kibana/public/management/ @elastic/kibana-app-arch
  • Unknown owner on line 39: make sure the team @elastic/kibana-app-arch exists, is publicly visible, and has write access to the repository
    …/kibana/server/field_formats/ @elastic/kibana-app-arch
  • Unknown owner on line 40: make sure the team @elastic/kibana-app-arch exists, is publicly visible, and has write access to the repository
    …server/routes/api/management/ @elastic/kibana-app-arch
  • Unknown owner on line 41: make sure the team @elastic/kibana-app-arch exists, is publicly visible, and has write access to the repository
    …erver/routes/api/suggestions/ @elastic/kibana-app-arch
  • Unknown owner on line 42: make sure the team @elastic/kibana-app-arch exists, is publicly visible, and has write access to the repository
    …/core_plugins/visualizations/ @elastic/kibana-app-arch
  • Unknown owner on line 43: make sure the team @elastic/kibana-app-arch exists, is publicly visible, and has write access to the repository
    …legacy/server/index_patterns/ @elastic/kibana-app-arch
  • Unknown owner on line 51: make sure the team @elastic/beats exists, is publicly visible, and has write access to the repository
    …cy/plugins/beats_management/  @elastic/beats
  • Unknown owner on line 54: make sure the team @elastic/kibana-canvas exists, is publicly visible, and has write access to the repository
    …-pack/legacy/plugins/canvas/  @elastic/kibana-canvas
  • Unknown owner on line 57: make sure the team @elastic/logs-metrics-ui exists, is publicly visible, and has write access to the repository
    /x-pack/legacy/plugins/infra/ @elastic/logs-metrics-ui
  • Unknown owner on line 58: make sure the team @elastic/epm exists, is publicly visible, and has write access to the repository
    …plugins/integrations_manager/ @elastic/epm
  • Unknown owner on line 67: make sure the team @elastic/es-ui exists, is publicly visible, and has write access to the repository
    …ns/transform/  @elastic/ml-ui @elastic/es-ui
  • Unknown owner on line 97: make sure the team @elastic/kibana-platform exists, is publicly visible, and has write access to the repository
    /src/core/  @elastic/kibana-platform
  • Unknown owner on line 98: make sure the team @elastic/kibana-platform exists, is publicly visible, and has write access to the repository
    /config/kibana.yml @elastic/kibana-platform
  • Unknown owner on line 99: make sure the team @elastic/kibana-platform exists, is publicly visible, and has write access to the repository
    /x-pack/plugins/features/  @elastic/kibana-platform
  • Unknown owner on line 100: make sure the team @elastic/kibana-platform exists, is publicly visible, and has write access to the repository
    /x-pack/plugins/licensing/  @elastic/kibana-platform
  • Unknown owner on line 101: make sure the team @elastic/kibana-platform exists, is publicly visible, and has write access to the repository
    /packages/kbn-config-schema/ @elastic/kibana-platform
  • Unknown owner on line 102: make sure the team @elastic/kibana-platform exists, is publicly visible, and has write access to the repository
    /src/legacy/server/config/ @elastic/kibana-platform
  • Unknown owner on line 103: make sure the team @elastic/kibana-platform exists, is publicly visible, and has write access to the repository
    /src/legacy/server/http/ @elastic/kibana-platform
  • Unknown owner on line 104: make sure the team @elastic/kibana-platform exists, is publicly visible, and has write access to the repository
    /src/legacy/server/i18n/ @elastic/kibana-platform
  • Unknown owner on line 105: make sure the team @elastic/kibana-platform exists, is publicly visible, and has write access to the repository
    /src/legacy/server/logging/ @elastic/kibana-platform
  • Unknown owner on line 106: make sure the team @elastic/kibana-platform exists, is publicly visible, and has write access to the repository
    …legacy/server/saved_objects/  @elastic/kibana-platform
  • Unknown owner on line 107: make sure the team @elastic/kibana-platform exists, is publicly visible, and has write access to the repository
    /src/legacy/server/status/ @elastic/kibana-platform
  • Unknown owner on line 110: make sure the team @elastic/kibana-platform exists, is publicly visible, and has write access to the repository
    …sp/  @elastic/kibana-security @elastic/kibana-platform
  • Unknown owner on line 123: make sure the team @elastic/pulse exists, is publicly visible, and has write access to the repository
    /packages/kbn-analytics/ @elastic/pulse
  • Unknown owner on line 124: make sure the team @elastic/pulse exists, is publicly visible, and has write access to the repository
    …egacy/core_plugins/ui_metric/ @elastic/pulse
  • Unknown owner on line 125: make sure the team @elastic/pulse exists, is publicly visible, and has write access to the repository
    …src/plugins/usage_collection/ @elastic/pulse
  • Unknown owner on line 126: make sure the team @elastic/pulse exists, is publicly visible, and has write access to the repository
    …pack/legacy/plugins/telemetry @elastic/pulse
  • Unknown owner on line 129: make sure the team @elastic/kibana-alerting-services exists, is publicly visible, and has write access to the repository
    …-pack/legacy/plugins/alerting @elastic/kibana-alerting-services
  • Unknown owner on line 130: make sure the team @elastic/kibana-alerting-services exists, is publicly visible, and has write access to the repository
    …x-pack/legacy/plugins/actions @elastic/kibana-alerting-services
  • Unknown owner on line 131: make sure the team @elastic/kibana-alerting-services exists, is publicly visible, and has write access to the repository
    …k/legacy/plugins/task_manager @elastic/kibana-alerting-services
  • Unknown owner on line 132: make sure the team @elastic/kibana-alerting-services exists, is publicly visible, and has write access to the repository
    …test/alerting_api_integration @elastic/kibana-alerting-services
  • Unknown owner on line 133: make sure the team @elastic/kibana-alerting-services exists, is publicly visible, and has write access to the repository
    …egration/plugins/task_manager @elastic/kibana-alerting-services
  • Unknown owner on line 134: make sure the team @elastic/kibana-alerting-services exists, is publicly visible, and has write access to the repository
    …tion/test_suites/task_manager @elastic/kibana-alerting-services
  • Unknown owner on line 135: make sure the team @elastic/kibana-alerting-services exists, is publicly visible, and has write access to the repository
    …/plugins/triggers_actions_ui/ @elastic/kibana-alerting-services
  • Unknown owner on line 136: make sure the team @elastic/kibana-alerting-services exists, is publicly visible, and has write access to the repository
    …ssl/apps/triggers_actions_ui/ @elastic/kibana-alerting-services
  • Unknown owner on line 137: make sure the team @elastic/kibana-alerting-services exists, is publicly visible, and has write access to the repository
    …_ssl/fixtures/plugins/alerts/ @elastic/kibana-alerting-services
  • Unknown owner on line 143: make sure the team @elastic/es-ui exists, is publicly visible, and has write access to the repository
    …legacy/core_plugins/console/  @elastic/es-ui
  • Unknown owner on line 144: make sure the team @elastic/es-ui exists, is publicly visible, and has write access to the repository
    /src/plugins/es_ui_shared/  @elastic/es-ui
  • Unknown owner on line 145: make sure the team @elastic/es-ui exists, is publicly visible, and has write access to the repository
    …/plugins/console_extensions/  @elastic/es-ui
  • Unknown owner on line 146: make sure the team @elastic/es-ui exists, is publicly visible, and has write access to the repository
    …s/cross_cluster_replication/  @elastic/es-ui
  • Unknown owner on line 147: make sure the team @elastic/es-ui exists, is publicly visible, and has write access to the repository
    …/index_lifecycle_management/  @elastic/es-ui
  • Unknown owner on line 148: make sure the team @elastic/es-ui exists, is publicly visible, and has write access to the repository
    …cy/plugins/index_management/  @elastic/es-ui
  • Unknown owner on line 149: make sure the team @elastic/es-ui exists, is publicly visible, and has write access to the repository
    …/plugins/license_management/  @elastic/es-ui
  • Unknown owner on line 150: make sure the team @elastic/es-ui exists, is publicly visible, and has write access to the repository
    …acy/plugins/remote_clusters/  @elastic/es-ui
  • Unknown owner on line 151: make sure the team @elastic/es-ui exists, is publicly visible, and has write access to the repository
    …-pack/legacy/plugins/rollup/  @elastic/es-ui
  • Unknown owner on line 152: make sure the team @elastic/es-ui exists, is publicly visible, and has write access to the repository
    …gacy/plugins/searchprofiler/  @elastic/es-ui
  • Unknown owner on line 153: make sure the team @elastic/es-ui exists, is publicly visible, and has write access to the repository
    …cy/plugins/snapshot_restore/  @elastic/es-ui
  • Unknown owner on line 154: make sure the team @elastic/es-ui exists, is publicly visible, and has write access to the repository
    …pack/legacy/plugins/watcher/  @elastic/es-ui
Original file line number Diff line number Diff line change
@@ -132,6 +132,9 @@
/x-pack/test/alerting_api_integration @elastic/kibana-alerting-services
/x-pack/test/plugin_api_integration/plugins/task_manager @elastic/kibana-alerting-services
/x-pack/test/plugin_api_integration/test_suites/task_manager @elastic/kibana-alerting-services
/x-pack/legacy/plugins/triggers_actions_ui/ @elastic/kibana-alerting-services
/x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/ @elastic/kibana-alerting-services
/x-pack/test/functional_with_es_ssl/fixtures/plugins/alerts/ @elastic/kibana-alerting-services

# Design
**/*.scss @elastic/kibana-design
Original file line number Diff line number Diff line change
@@ -9,5 +9,5 @@ returns `basePath` value, specific for an incoming request.
<b>Signature:</b>

```typescript
get: (request: KibanaRequest<unknown, unknown, unknown, any> | LegacyRequest) => string;
get: (request: LegacyRequest | KibanaRequest<unknown, unknown, unknown, any>) => string;
```
4 changes: 2 additions & 2 deletions docs/development/core/server/kibana-plugin-server.basepath.md
Original file line number Diff line number Diff line change
@@ -20,9 +20,9 @@ The constructor for this class is marked as internal. Third-party code should no

| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [get](./kibana-plugin-server.basepath.get.md) | | <code>(request: KibanaRequest&lt;unknown, unknown, unknown, any&gt; &#124; LegacyRequest) =&gt; string</code> | returns <code>basePath</code> value, specific for an incoming request. |
| [get](./kibana-plugin-server.basepath.get.md) | | <code>(request: LegacyRequest &#124; KibanaRequest&lt;unknown, unknown, unknown, any&gt;) =&gt; string</code> | returns <code>basePath</code> value, specific for an incoming request. |
| [prepend](./kibana-plugin-server.basepath.prepend.md) | | <code>(path: string) =&gt; string</code> | Prepends <code>path</code> with the basePath. |
| [remove](./kibana-plugin-server.basepath.remove.md) | | <code>(path: string) =&gt; string</code> | Removes the prepended basePath from the <code>path</code>. |
| [serverBasePath](./kibana-plugin-server.basepath.serverbasepath.md) | | <code>string</code> | returns the server's basePath<!-- -->See [BasePath.get](./kibana-plugin-server.basepath.get.md) for getting the basePath value for a specific request |
| [set](./kibana-plugin-server.basepath.set.md) | | <code>(request: KibanaRequest&lt;unknown, unknown, unknown, any&gt; &#124; LegacyRequest, requestSpecificBasePath: string) =&gt; void</code> | sets <code>basePath</code> value, specific for an incoming request. |
| [set](./kibana-plugin-server.basepath.set.md) | | <code>(request: LegacyRequest &#124; KibanaRequest&lt;unknown, unknown, unknown, any&gt;, requestSpecificBasePath: string) =&gt; void</code> | sets <code>basePath</code> value, specific for an incoming request. |

Original file line number Diff line number Diff line change
@@ -9,5 +9,5 @@ sets `basePath` value, specific for an incoming request.
<b>Signature:</b>

```typescript
set: (request: KibanaRequest<unknown, unknown, unknown, any> | LegacyRequest, requestSpecificBasePath: string) => void;
set: (request: LegacyRequest | KibanaRequest<unknown, unknown, unknown, any>, requestSpecificBasePath: string) => void;
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [kibana-plugin-server](./kibana-plugin-server.md) &gt; [UiSettingsParams](./kibana-plugin-server.uisettingsparams.md) &gt; [deprecation](./kibana-plugin-server.uisettingsparams.deprecation.md)

## UiSettingsParams.deprecation property

optional deprecation information. Used to generate a deprecation warning.

<b>Signature:</b>

```typescript
deprecation?: DeprecationSettings;
```
Original file line number Diff line number Diff line change
@@ -17,12 +17,14 @@ export interface UiSettingsParams
| Property | Type | Description |
| --- | --- | --- |
| [category](./kibana-plugin-server.uisettingsparams.category.md) | <code>string[]</code> | used to group the configured setting in the UI |
| [deprecation](./kibana-plugin-server.uisettingsparams.deprecation.md) | <code>DeprecationSettings</code> | optional deprecation information. Used to generate a deprecation warning. |
| [description](./kibana-plugin-server.uisettingsparams.description.md) | <code>string</code> | description provided to a user in UI |
| [name](./kibana-plugin-server.uisettingsparams.name.md) | <code>string</code> | title in the UI |
| [optionLabels](./kibana-plugin-server.uisettingsparams.optionlabels.md) | <code>Record&lt;string, string&gt;</code> | text labels for 'select' type UI element |
| [options](./kibana-plugin-server.uisettingsparams.options.md) | <code>string[]</code> | array of permitted values for this setting |
| [readonly](./kibana-plugin-server.uisettingsparams.readonly.md) | <code>boolean</code> | a flag indicating that value cannot be changed |
| [requiresPageReload](./kibana-plugin-server.uisettingsparams.requirespagereload.md) | <code>boolean</code> | a flag indicating whether new value applying requires page reloading |
| [type](./kibana-plugin-server.uisettingsparams.type.md) | <code>UiSettingsType</code> | defines a type of UI element [UiSettingsType](./kibana-plugin-server.uisettingstype.md) |
| [validation](./kibana-plugin-server.uisettingsparams.validation.md) | <code>ImageValidation &#124; StringValidation</code> | |
| [value](./kibana-plugin-server.uisettingsparams.value.md) | <code>SavedObjectAttribute</code> | default value to fall back to if a user doesn't provide any |

Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [kibana-plugin-server](./kibana-plugin-server.md) &gt; [UiSettingsParams](./kibana-plugin-server.uisettingsparams.md) &gt; [validation](./kibana-plugin-server.uisettingsparams.validation.md)

## UiSettingsParams.validation property

<b>Signature:</b>

```typescript
validation?: ImageValidation | StringValidation;
```
3 changes: 2 additions & 1 deletion docs/management/advanced-options.asciidoc
Original file line number Diff line number Diff line change
@@ -187,7 +187,8 @@ Refresh the page to apply the changes.
=== Search settings

[horizontal]
`courier:batchSearches`:: When disabled, dashboard panels will load individually, and search requests will terminate when
`courier:batchSearches`:: **Deprecated in 7.6. Starting in 8.0, this setting will be optimized internally.**
When disabled, dashboard panels will load individually, and search requests will terminate when
users navigate away or update the query. When enabled, dashboard panels will load together when all of the data is loaded,
and searches will not terminate.
`courier:customRequestPreference`:: {ref}/search-request-body.html#request-body-search-preference[Request preference]
40 changes: 36 additions & 4 deletions docs/setup/production.asciidoc
Original file line number Diff line number Diff line change
@@ -4,7 +4,8 @@
* <<configuring-kibana-shield>>
* <<csp-strict-mode>>
* <<enabling-ssl>>
* <<load-balancing>>
* <<load-balancing-es>>
* <<load-balancing-kibana>>
* <<high-availability>>
* <<memory>>

@@ -18,7 +19,7 @@ While Kibana isn't terribly resource intensive, we still recommend running Kiban
separate from your Elasticsearch data or master nodes. To distribute Kibana
traffic across the nodes in your Elasticsearch cluster, you can run Kibana
and an Elasticsearch client node on the same machine. For more information, see
<<load-balancing, Load Balancing Across Multiple Elasticsearch Nodes>>.
<<load-balancing-es, Load balancing across multiple Elasticsearch nodes>>.

[float]
[[configuring-kibana-shield]]
@@ -63,7 +64,7 @@ csp.strict: true
See <<configuring-tls>>.

[float]
[[load-balancing]]
[[load-balancing-es]]
=== Load Balancing Across Multiple Elasticsearch Nodes
If you have multiple nodes in your Elasticsearch cluster, the easiest way to distribute Kibana requests
across the nodes is to run an Elasticsearch _Coordinating only_ node on the same machine as Kibana.
@@ -110,9 +111,40 @@ transport.tcp.port: 9300 - 9400
elasticsearch.hosts: ["http://localhost:9200"]
--------

[float]
[[load-balancing-kibana]]
=== Load balancing across multiple Kibana instances
To serve multiple Kibana installations behind a load balancer, you must change the configuration. See {kibana-ref}/settings.html[Configuring Kibana] for details on each setting.

Settings unique across each Kibana instance:
--------
server.uuid
server.name
--------

Settings unique across each host (for example, running multiple installations on the same virtual machine):
--------
logging.dest
path.data
pid.file
server.port
--------

Settings that must be the same:
--------
xpack.security.encryptionKey //decrypting session cookies
xpack.reporting.encryptionKey //decrypting reports stored in Elasticsearch
--------

Separate configuration files can be used from the command line by using the `-c` flag:
--------
bin/kibana -c config/instance1.yml
bin/kibana -c config/instance2.yml
--------

[float]
[[high-availability]]
=== High Availability Across Multiple Elasticsearch Nodes
=== High availability across multiple Elasticsearch nodes
Kibana can be configured to connect to multiple Elasticsearch nodes in the same cluster. In situations where a node becomes unavailable,
Kibana will transparently connect to an available node and continue operating. Requests to available hosts will be routed in a round robin fashion.

2 changes: 1 addition & 1 deletion src/core/public/chrome/chrome_service.tsx
Original file line number Diff line number Diff line change
@@ -127,7 +127,7 @@ export class ChromeService {
)
)
);
this.isVisible$ = combineLatest(this.appHidden$, this.toggleHidden$).pipe(
this.isVisible$ = combineLatest([this.appHidden$, this.toggleHidden$]).pipe(
map(([appHidden, toggleHidden]) => !(appHidden || toggleHidden)),
takeUntil(this.stop$)
);
3 changes: 3 additions & 0 deletions src/core/public/doc_links/doc_links_service.ts
Original file line number Diff line number Diff line change
@@ -115,6 +115,9 @@ export class DocLinksService {
date: {
dateMath: `${ELASTICSEARCH_DOCS}common-options.html#date-math`,
},
management: {
kibanaSearchSettings: `${ELASTIC_WEBSITE_URL}guide/en/kibana/${DOC_LINK_VERSION}/advanced-options.html#kibana-search-settings`,
},
},
});
}
105 changes: 105 additions & 0 deletions src/core/public/rendering/app_containers.test.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
/*
* Licensed to Elasticsearch B.V. under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/

import { BehaviorSubject } from 'rxjs';
import { act } from 'react-dom/test-utils';
import { mount } from 'enzyme';
import React from 'react';

import { AppWrapper, AppContainer } from './app_containers';

describe('AppWrapper', () => {
it('toggles the `hidden-chrome` class depending on the chrome visibility state', () => {
const chromeVisible$ = new BehaviorSubject<boolean>(true);

const component = mount(<AppWrapper chromeVisible$={chromeVisible$}>app-content</AppWrapper>);
expect(component.getDOMNode()).toMatchInlineSnapshot(`
<div
class="app-wrapper"
>
app-content
</div>
`);

act(() => chromeVisible$.next(false));
component.update();
expect(component.getDOMNode()).toMatchInlineSnapshot(`
<div
class="app-wrapper hidden-chrome"
>
app-content
</div>
`);

act(() => chromeVisible$.next(true));
component.update();
expect(component.getDOMNode()).toMatchInlineSnapshot(`
<div
class="app-wrapper"
>
app-content
</div>
`);
});
});

describe('AppContainer', () => {
it('adds classes supplied by chrome', () => {
const appClasses$ = new BehaviorSubject<string[]>([]);

const component = mount(<AppContainer classes$={appClasses$}>app-content</AppContainer>);
expect(component.getDOMNode()).toMatchInlineSnapshot(`
<div
class="application"
>
app-content
</div>
`);

act(() => appClasses$.next(['classA', 'classB']));
component.update();
expect(component.getDOMNode()).toMatchInlineSnapshot(`
<div
class="application classA classB"
>
app-content
</div>
`);

act(() => appClasses$.next(['classC']));
component.update();
expect(component.getDOMNode()).toMatchInlineSnapshot(`
<div
class="application classC"
>
app-content
</div>
`);

act(() => appClasses$.next([]));
component.update();
expect(component.getDOMNode()).toMatchInlineSnapshot(`
<div
class="application"
>
app-content
</div>
`);
});
});
37 changes: 37 additions & 0 deletions src/core/public/rendering/app_containers.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
/*
* Licensed to Elasticsearch B.V. under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/

import React from 'react';
import { Observable } from 'rxjs';
import useObservable from 'react-use/lib/useObservable';
import classNames from 'classnames';

export const AppWrapper: React.FunctionComponent<{
chromeVisible$: Observable<boolean>;
}> = ({ chromeVisible$, children }) => {
const visible = useObservable(chromeVisible$);
return <div className={classNames('app-wrapper', { 'hidden-chrome': !visible })}>{children}</div>;
};

export const AppContainer: React.FunctionComponent<{
classes$: Observable<string[]>;
}> = ({ classes$, children }) => {
const classes = useObservable(classes$);
return <div className={classNames('application', classes)}>{children}</div>;
};
Loading
You are viewing a condensed version of this merge commit. You can view the full changes here.