Skip to content

Commit

Permalink
Merge branch 'master' into show-better-find-file-structure-finder-inf…
Browse files Browse the repository at this point in the history
…ormation
  • Loading branch information
elasticmachine committed Apr 6, 2020
2 parents 8052dd2 + 6a32b45 commit af3c067
Show file tree
Hide file tree
Showing 219 changed files with 6,293 additions and 11,969 deletions.
2 changes: 1 addition & 1 deletion .ci/Jenkinsfile_coverage
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ kibanaPipeline(timeoutMinutes: 180) {
'xpack-ciGroup10': kibanaPipeline.xpackCiGroupProcess(10),
]),
])
workers.base(name: 'coverage-worker', label: 'tests-l', ramDisk: false, bootstrapped: false) {
workers.base(name: 'coverage-worker', size: 'l', ramDisk: false, bootstrapped: false) {
kibanaPipeline.downloadCoverageArtifacts()
kibanaPipeline.bash(
'''
Expand Down
4 changes: 2 additions & 2 deletions .ci/Jenkinsfile_visual_baseline
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ kibanaPipeline(timeoutMinutes: 120) {
catchError {
parallel([
'oss-visualRegression': {
workers.ci(name: 'oss-visualRegression', label: 'linux && immutable', ramDisk: false) {
workers.ci(name: 'oss-visualRegression', size: 's', ramDisk: false) {
kibanaPipeline.functionalTestProcess('oss-visualRegression', './test/scripts/jenkins_visual_regression.sh')(1)
}
},
'xpack-visualRegression': {
workers.ci(name: 'xpack-visualRegression', label: 'linux && immutable', ramDisk: false) {
workers.ci(name: 'xpack-visualRegression', size: 's', ramDisk: false) {
kibanaPipeline.functionalTestProcess('xpack-visualRegression', './test/scripts/jenkins_xpack_visual_regression.sh')(1)
}
},
Expand Down
2 changes: 1 addition & 1 deletion .ci/es-snapshots/Jenkinsfile_build_es
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def PROMOTE_WITHOUT_VERIFY = !!params.PROMOTE_WITHOUT_VERIFICATION
timeout(time: 120, unit: 'MINUTES') {
timestamps {
ansiColor('xterm') {
node('linux && immutable') {
node(workers.label('s')) {
catchErrors {
def VERSION
def SNAPSHOT_ID
Expand Down
2 changes: 1 addition & 1 deletion .ci/es-snapshots/Jenkinsfile_verify_es
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ kibanaPipeline(timeoutMinutes: 120) {
}

def promoteSnapshot(snapshotVersion, snapshotId) {
node('linux && immutable') {
node(workers.label('s')) {
esSnapshots.promote(snapshotVersion, snapshotId)
}
}
17 changes: 17 additions & 0 deletions docs/management/managing-indices.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,23 @@ under the *Mapped fields* tab as follows:
[role="screenshot"]
image::images/management-index-templates-mappings.png[Mapped fields page]

Alternatively, you can click the *Load JSON* link and define the mapping as JSON:

[source,js]
----------------------------------
{
"properties": {
"geo": {
"properties": {
"coordinates": {
"type": "geo_point"
}
}
}
}
}
----------------------------------

You can create additional mapping configurations in the *Dynamic templates* and
*Advanced options* tabs. No additional mappings are required for this example.

Expand Down
1 change: 0 additions & 1 deletion src/legacy/core_plugins/kibana/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ export default function(kibana) {
'plugins/kibana/discover/legacy',
'plugins/kibana/dev_tools',
'plugins/kibana/visualize/legacy',
'plugins/kibana/dashboard/legacy',
],
app: {
id: 'kibana',
Expand Down

This file was deleted.

28 changes: 0 additions & 28 deletions src/legacy/core_plugins/kibana/public/dashboard/index.ts

This file was deleted.

30 changes: 0 additions & 30 deletions src/legacy/core_plugins/kibana/public/dashboard/legacy.ts

This file was deleted.

32 changes: 0 additions & 32 deletions src/legacy/core_plugins/kibana/public/dashboard/legacy_imports.ts

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -16,28 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
jest.mock(
'ui/chrome',
() => ({
getKibanaVersion: () => '6.3.0',
}),
{ virtual: true }
);

jest.mock(
'ui/notify',
() => ({
toastNotifications: {
addDanger: () => {},
},
}),
{ virtual: true }
);

jest.mock('ui/new_platform');

import { migratePanelsTo730 } from './migrate_to_730_panels';
import { SavedDashboardPanelTo60, SavedDashboardPanel730ToLatest } from '../np_ready/types';
import {
RawSavedDashboardPanelTo60,
RawSavedDashboardPanel610,
Expand All @@ -46,6 +25,8 @@ import {
RawSavedDashboardPanel640To720,
DEFAULT_PANEL_WIDTH,
DEFAULT_PANEL_HEIGHT,
SavedDashboardPanelTo60,
SavedDashboardPanel730ToLatest,
} from '../../../../../../plugins/dashboard/public';

test('6.0 migrates uiState, sort, scales, and gridData', async () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,11 @@ import {
RawSavedDashboardPanel730ToLatest,
RawSavedDashboardPanel610,
RawSavedDashboardPanel620,
} from '../../../../../../plugins/dashboard/public';

import {
SavedDashboardPanelTo60,
SavedDashboardPanel620,
SavedDashboardPanel630,
SavedDashboardPanel610,
} from '../np_ready/types';
} from '../../../../../../plugins/dashboard/public';

const PANEL_HEIGHT_SCALE_FACTOR = 5;
const PANEL_HEIGHT_SCALE_FACTOR_WITH_MARGINS = 4;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* under the License.
*/

import { migrations } from '../../../migrations/';
import { migrations } from '../../../migrations';
import { migrations730 } from './migrations_730';
import {
DashboardDoc700To720,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* under the License.
*/

import { Filter, Query } from '../../../../../../plugins/data/public';
import { Filter, Query } from 'src/plugins/data/public';

export interface Pre600FilterQuery {
// pre 6.0.0 global query:queryString:options were stored per dashboard and would
Expand Down

This file was deleted.

This file was deleted.

Loading

0 comments on commit af3c067

Please sign in to comment.