Skip to content

Commit

Permalink
Merge branch '7.x' into backport/7.x/pr-71794
Browse files Browse the repository at this point in the history
  • Loading branch information
elasticmachine authored Jul 15, 2020
2 parents ca63513 + 8305e62 commit c487739
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 14 deletions.
3 changes: 0 additions & 3 deletions x-pack/plugins/maps/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ export interface MapsConfigType {
showMapVisualizationTypes: boolean;
showMapsInspectorAdapter: boolean;
preserveDrawingBuffer: boolean;
enableVectorTiles: boolean;
}

export const configSchema = schema.object({
Expand All @@ -21,8 +20,6 @@ export const configSchema = schema.object({
showMapsInspectorAdapter: schema.boolean({ defaultValue: false }),
// flag used in functional testing
preserveDrawingBuffer: schema.boolean({ defaultValue: false }),
// flag used to enable/disable vector-tiles
enableVectorTiles: schema.boolean({ defaultValue: false }),
});

export type MapsXPackConfig = TypeOf<typeof configSchema>;
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ import { mvtVectorSourceWizardConfig } from '../sources/mvt_single_layer_vector_
import { ObservabilityLayerWizardConfig } from './solution_layers/observability';
import { SecurityLayerWizardConfig } from './solution_layers/security';
import { choroplethLayerWizardConfig } from './choropleth_layer_wizard';
import { getEnableVectorTiles } from '../../kibana_services';

let registered = false;
export function registerLayerWizards() {
Expand Down Expand Up @@ -60,10 +59,6 @@ export function registerLayerWizards() {
// @ts-ignore
registerLayerWizard(wmsLayerWizardConfig);

if (getEnableVectorTiles()) {
// eslint-disable-next-line no-console
console.warn('Vector tiles are an experimental feature and should not be used in production.');
registerLayerWizard(mvtVectorSourceWizardConfig);
}
registerLayerWizard(mvtVectorSourceWizardConfig);
registered = true;
}
1 change: 0 additions & 1 deletion x-pack/plugins/maps/public/kibana_services.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ export function getEnabled(): boolean;
export function getShowMapVisualizationTypes(): boolean;
export function getShowMapsInspectorAdapter(): boolean;
export function getPreserveDrawingBuffer(): boolean;
export function getEnableVectorTiles(): boolean;
export function getProxyElasticMapsServiceInMaps(): boolean;
export function getIsGoldPlus(): boolean;

Expand Down
1 change: 0 additions & 1 deletion x-pack/plugins/maps/public/kibana_services.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,6 @@ export const getEnabled = () => getMapAppConfig().enabled;
export const getShowMapVisualizationTypes = () => getMapAppConfig().showMapVisualizationTypes;
export const getShowMapsInspectorAdapter = () => getMapAppConfig().showMapsInspectorAdapter;
export const getPreserveDrawingBuffer = () => getMapAppConfig().preserveDrawingBuffer;
export const getEnableVectorTiles = () => getMapAppConfig().enableVectorTiles;

// map.* kibana.yml settings from maps_legacy plugin that are shared between OSS map visualizations and maps app
let kibanaCommonConfig;
Expand Down
1 change: 0 additions & 1 deletion x-pack/plugins/maps/server/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ export const config: PluginConfigDescriptor<MapsXPackConfig> = {
enabled: true,
showMapVisualizationTypes: true,
showMapsInspectorAdapter: true,
enableVectorTiles: true,
preserveDrawingBuffer: true,
},
schema: configSchema,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ import { TestProviders } from '../../../common/mock';
import { ValueListsModal } from './modal';
import { waitForUpdates } from '../../../common/utils/test_utils';

describe('ValueListsModal', () => {
// TODO: These are occasionally timing out
describe.skip('ValueListsModal', () => {
it('renders nothing if showModal is false', () => {
const container = mount(
<TestProviders>
Expand Down
3 changes: 2 additions & 1 deletion x-pack/test/functional/apps/monitoring/cluster/overview.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ import { getLifecycleMethods } from '../_get_lifecycle_methods';
export default function ({ getService, getPageObjects }) {
const overview = getService('monitoringClusterOverview');

describe('Cluster overview', () => {
// https://github.com/elastic/kibana/issues/71796
describe.skip('Cluster overview', () => {
describe('for Green cluster with Gold license', () => {
const { setup, tearDown } = getLifecycleMethods(getService, getPageObjects);

Expand Down

0 comments on commit c487739

Please sign in to comment.