From 3d7e1cb1f64d221036bc365d4374f0ef9ee29130 Mon Sep 17 00:00:00 2001 From: Vacha Shah Date: Wed, 2 Jun 2021 23:56:37 -0700 Subject: [PATCH] Renaming vis_type_timeseries plugin folder to kebab-case Signed-off-by: Vacha Shah --- .eslintrc.js | 2 +- .i18nrc.json | 2 +- .../README.md | 0 .../common/__snapshots__/model_options.test.js.snap | 0 .../common/agg_lookup.js | 0 .../common/agg_lookup.test.js | 0 .../common/basic_aggs.js | 0 .../common/calculate_label.js | 0 .../common/calculate_label.test.js | 0 .../common/constants.ts | 0 .../common/extract_index_patterns.js | 0 .../common/extract_index_patterns.test.js | 0 .../common/field_types.js | 0 .../common/get_last_value.js | 0 .../common/get_last_value.test.js | 0 .../common/interval_regexp.js | 0 .../common/interval_regexp.test.js | 0 .../common/metric_types.js | 0 .../common/model_options.js | 0 .../common/model_options.test.js | 0 .../common/panel_types.ts | 0 .../common/timerange_data_modes.js | 0 .../common/to_percentile_number.js | 0 .../common/types.ts | 0 .../common/ui_restrictions.ts | 0 .../common/vis_schema.ts | 0 .../opensearch_dashboards.json | 0 .../public/application/_mixins.scss | 0 .../public/application/_tvb_editor.scss | 0 .../public/application/_variables.scss | 0 .../application/components/_annotations_editor.scss | 0 .../public/application/components/_color_picker.scss | 0 .../public/application/components/_color_rules.scss | 0 .../public/application/components/_error.scss | 0 .../public/application/components/_index.scss | 4 ++-- .../application/components/_markdown_editor.scss | 0 .../public/application/components/_no_data.scss | 0 .../application/components/_series_editor.scss | 0 .../public/application/components/_vis_editor.scss | 0 .../components/_vis_editor_visualization.scss | 0 .../public/application/components/_vis_picker.scss | 0 .../application/components/_vis_with_splits.scss | 0 .../components/add_delete_buttons.test.tsx | 0 .../application/components/add_delete_buttons.tsx | 0 .../public/application/components/aggs/_agg_row.scss | 0 .../public/application/components/aggs/_index.scss | 0 .../public/application/components/aggs/agg.tsx | 0 .../public/application/components/aggs/agg_row.tsx | 0 .../application/components/aggs/agg_select.test.tsx | 2 +- .../application/components/aggs/agg_select.tsx | 0 .../public/application/components/aggs/aggs.tsx | 0 .../application/components/aggs/calculation.js | 0 .../application/components/aggs/cumulative_sum.js | 0 .../public/application/components/aggs/derivative.js | 0 .../application/components/aggs/field_select.js | 0 .../application/components/aggs/filter_ratio.js | 0 .../application/components/aggs/filter_ratio.test.js | 2 +- .../components/aggs/histogram_support.test.js | 2 +- .../public/application/components/aggs/math.js | 0 .../application/components/aggs/metric_select.js | 8 ++++---- .../application/components/aggs/moving_average.js | 2 +- .../components/aggs/percentile-rank}/index.js | 0 .../aggs/percentile-rank}/multi_value_row.tsx | 0 .../aggs/percentile-rank}/percentile_rank.tsx | 0 .../aggs/percentile-rank}/percentile_rank_values.tsx | 0 .../public/application/components/aggs/percentile.js | 0 .../application/components/aggs/percentile_ui.js | 0 .../application/components/aggs/positive_only.js | 0 .../application/components/aggs/positive_rate.js | 0 .../application/components/aggs/serial_diff.js | 0 .../public/application/components/aggs/series_agg.js | 0 .../public/application/components/aggs/static.js | 0 .../public/application/components/aggs/std_agg.js | 0 .../application/components/aggs/std_deviation.js | 0 .../application/components/aggs/std_sibling.js | 0 .../components/aggs/temporary_unsupported_agg.tsx | 0 .../public/application/components/aggs/top_hit.js | 2 +- .../application/components/aggs/unsupported_agg.tsx | 0 .../public/application/components/aggs/vars.js | 0 .../application/components/annotations_editor.js | 2 +- .../application/components/color_picker.test.tsx | 0 .../public/application/components/color_picker.tsx | 0 .../public/application/components/color_rules.js | 0 .../application/components/color_rules.test.js | 0 .../application/components/data_format_picker.js | 0 .../public/application/components/error.js | 0 .../__snapshots__/icon_select.test.js.snap | 0 .../components/icon-select}/icon_select.js | 0 .../components/icon-select}/icon_select.test.js | 0 .../public/application/components/index_pattern.js | 4 ++-- .../application/components/lib/agg_to_component.js | 2 +- .../application/components/lib/calculate_siblings.js | 0 .../components/lib/calculate_siblings.test.js | 0 .../application/components/lib/collection_actions.js | 0 .../components/lib/collection_actions.test.js | 0 .../components/lib/convert_series_to_vars.js | 2 +- .../components/lib/convert_series_to_vars.test.js | 0 .../components/lib/create_change_handler.js | 0 .../components/lib/create_number_handler.js | 0 .../components/lib/create_number_handler.test.js | 0 .../components/lib/create_select_handler.js | 0 .../components/lib/create_select_handler.test.js | 0 .../components/lib/create_text_handler.js | 0 .../components/lib/create_text_handler.test.js | 0 .../components/lib/create_xaxis_formatter.js | 0 .../public/application/components/lib/detect_ie.js | 0 .../public/application/components/lib/durations.js | 0 .../application/components/lib/durations.test.js | 0 .../components/lib/get_axis_label_string.js | 0 .../components/lib/get_axis_label_string.test.js | 0 .../components/lib/get_default_query_language.js | 0 .../application/components/lib/get_display_name.js | 0 .../application/components/lib/get_interval.js | 2 +- .../lib/get_supported_fields_by_metric_type.js | 2 +- .../lib/get_supported_fields_by_metric_type.test.js | 0 .../application/components/lib/new_metric_agg_fn.ts | 0 .../application/components/lib/new_series_fn.js | 0 .../application/components/lib/re_id_series.js | 0 .../application/components/lib/re_id_series.test.js | 0 .../public/application/components/lib/reorder.js | 0 .../application/components/lib/replace_vars.js | 0 .../application/components/lib/replace_vars.test.js | 0 .../components/lib/series_change_handler.js | 2 +- .../public/application/components/lib/stacked.js | 0 .../application/components/lib/tick_formatter.js | 0 .../components/lib/tick_formatter.test.js | 0 .../public/application/components/markdown_editor.js | 0 .../public/application/components/no_data.js | 0 .../application/components/panel-config}/_index.scss | 0 .../components/panel-config}/_panel_config.scss | 0 .../application/components/panel-config}/gauge.js | 0 .../components/panel-config}/gauge.test.js | 0 .../application/components/panel-config}/markdown.js | 0 .../application/components/panel-config}/metric.js | 0 .../application/components/panel-config}/table.js | 0 .../components/panel-config}/timeseries.js | 0 .../application/components/panel-config}/top_n.js | 0 .../public/application/components/panel_config.js | 12 ++++++------ .../application/components/query_bar_wrapper.js | 0 .../public/application/components/series.js | 12 ++++++------ .../public/application/components/series_config.js | 0 .../application/components/series_drag_handler.tsx | 0 .../public/application/components/series_editor.js | 0 .../public/application/components/split.js | 0 .../splits/__snapshots__/terms.test.js.snap | 0 .../application/components/splits/everything.js | 0 .../public/application/components/splits/filter.js | 0 .../application/components/splits/filter_items.js | 0 .../public/application/components/splits/filters.js | 0 .../application/components/splits/group_by_select.js | 0 .../public/application/components/splits/terms.js | 2 +- .../application/components/splits/terms.test.js | 0 .../components/splits/unsupported_split.js | 0 .../public/application/components/svg/bomb_icon.js | 0 .../public/application/components/svg/fire_icon.js | 0 .../application/components/vis-types}/_index.scss | 0 .../components/vis-types}/_vis_types.scss | 0 .../components/vis-types}/gauge/series.js | 0 .../components/vis-types}/gauge/series.test.js | 0 .../application/components/vis-types}/gauge/vis.js | 2 +- .../components/vis-types}/markdown/_markdown.scss | 0 .../components/vis-types}/markdown/series.js | 0 .../components/vis-types}/markdown/vis.js | 0 .../components/vis-types}/metric/series.js | 0 .../components/vis-types}/metric/series.test.js | 0 .../application/components/vis-types}/metric/vis.js | 2 +- .../components/vis-types}/table/config.js | 0 .../components/vis-types}/table/is_sortable.js | 2 +- .../components/vis-types}/table/series.js | 0 .../application/components/vis-types}/table/vis.js | 4 ++-- .../components/vis-types}/timeseries/config.js | 0 .../components/vis-types}/timeseries/series.js | 2 +- .../components/vis-types}/timeseries/vis.js | 0 .../components/vis-types/top-n}/series.js | 0 .../application/components/vis-types/top-n}/vis.js | 2 +- .../public/application/components/vis_editor.js | 2 +- .../application/components/vis_editor_lazy.tsx | 0 .../components/vis_editor_visualization.js | 2 +- .../public/application/components/vis_picker.js | 2 +- .../public/application/components/vis_with_splits.js | 2 +- .../public/application/components/visualization.js | 12 ++++++------ .../public/application/components/yes_no.js | 0 .../public/application/components/yes_no.test.js | 0 .../application/contexts/form_validation_context.js | 0 .../application/contexts/query_input_bar_context.ts | 0 .../public/application/contexts/vis_data_context.js | 0 .../public/application/editor_controller.js | 0 .../public/application/index.scss | 0 .../public/application/index.ts | 0 .../public/application/lib/check_ui_restrictions.js | 2 +- .../application/lib/create_brush_handler.test.ts | 0 .../public/application/lib/create_brush_handler.ts | 0 .../public/application/lib/fetch_fields.js | 0 .../public/application/lib/get_timezone.ts | 0 .../public/application/lib/index.ts | 0 .../public/application/lib/set_is_reversed.js | 0 .../public/application/lib/validate_interval.js | 2 +- .../application/visualizations/constants/chart.js | 0 .../application/visualizations/constants/icons.js | 0 .../application/visualizations/constants/index.js | 0 .../application/visualizations/lib/active_cursor.js | 0 .../visualizations/lib/calc_dimensions.js | 0 .../visualizations/lib/calculate_coordinates.js | 0 .../application/visualizations/lib/get_value_by.js | 0 .../visualizations/views/_annotation.scss | 0 .../application/visualizations/views/_gauge.scss | 0 .../application/visualizations/views/_index.scss | 0 .../application/visualizations/views/_metric.scss | 0 .../application/visualizations/views/_top_n.scss | 0 .../application/visualizations/views/annotation.js | 0 .../public/application/visualizations/views/gauge.js | 2 +- .../application/visualizations/views/gauge_vis.js | 0 .../application/visualizations/views/metric.js | 2 +- .../views/timeseries/__mocks__/@elastic/charts.js | 0 .../__snapshots__/area_decorator.test.js.snap | 0 .../__snapshots__/bar_decorator.test.js.snap | 0 .../views/timeseries/decorators/area_decorator.js | 0 .../timeseries/decorators/area_decorator.test.js | 0 .../views/timeseries/decorators/bar_decorator.js | 0 .../timeseries/decorators/bar_decorator.test.js | 0 .../visualizations/views/timeseries/index.js | 0 .../model/__snapshots__/charts.test.js.snap | 0 .../visualizations/views/timeseries/model/charts.js | 0 .../views/timeseries/model/charts.test.js | 0 .../utils/__snapshots__/series_styles.test.js.snap | 0 .../views/timeseries/utils/series_styles.js | 0 .../views/timeseries/utils/series_styles.test.js | 0 .../views/timeseries/utils/stack_format.js | 0 .../views/timeseries/utils/stack_format.test.js | 0 .../views/timeseries/utils/theme.test.ts | 0 .../visualizations/views/timeseries/utils/theme.ts | 0 .../public/application/visualizations/views/top_n.js | 2 +- .../public/index.ts | 0 .../public/metrics_fn.ts | 0 .../public/metrics_type.ts | 0 .../public/plugin.ts | 0 .../public/request_handler.js | 0 .../public/services.ts | 0 .../public/test-utils}/index.ts | 0 .../public/types.ts | 0 .../server/config.ts | 0 .../server/index.ts | 6 +++--- .../server/lib/get_fields.ts | 2 +- .../server/lib/get_vis_data.ts | 4 ++-- .../default_search_capabilities.js | 2 +- .../default_search_capabilities.test.js | 0 .../server/lib/search-strategies}/index.ts | 0 .../search_strategies_registry.test.ts | 0 .../search-strategies}/search_strategy_registry.ts | 0 .../strategies/abstract_search_strategy.test.js | 0 .../strategies/abstract_search_strategy.ts | 0 .../strategies/default_search_strategy.js | 0 .../strategies/default_search_strategy.test.js | 0 .../lib/vis-data}/annotations/build_request_body.js | 2 +- .../lib/vis-data}/annotations/get_request_params.js | 0 .../lib/vis-data}/build_processor_function.test.ts | 0 .../server/lib/vis-data}/build_processor_function.ts | 0 .../server/lib/vis-data}/get_annotations.js | 2 +- .../lib/vis-data}/get_interval_and_timefield.js | 0 .../lib/vis-data}/get_interval_and_timefield.test.js | 0 .../server/lib/vis-data}/get_panel_data.d.ts | 0 .../server/lib/vis-data}/get_panel_data.js | 0 .../server/lib/vis-data}/get_series_data.js | 0 .../server/lib/vis-data}/get_table_data.js | 0 .../server/lib/vis-data}/handle_error_response.js | 0 .../__snapshots__/bucket_transform.test.js.snap | 0 .../server/lib/vis-data}/helpers/bucket_transform.js | 0 .../lib/vis-data}/helpers/bucket_transform.test.js | 0 .../server/lib/vis-data}/helpers/calculate_auto.js | 0 .../server/lib/vis-data}/helpers/format_key.js | 0 .../lib/vis-data}/helpers/get_active_series.ts | 0 .../server/lib/vis-data}/helpers/get_agg_value.js | 0 .../lib/vis-data}/helpers/get_agg_value.test.js | 0 .../server/lib/vis-data}/helpers/get_bucket_size.js | 0 .../lib/vis-data}/helpers/get_bucket_size.test.js | 0 .../server/lib/vis-data}/helpers/get_buckets_path.js | 0 .../lib/vis-data}/helpers/get_buckets_path.test.js | 0 .../lib/vis-data}/helpers/get_default_decoration.js | 0 .../vis-data}/helpers/get_default_decoration.test.js | 0 .../lib/vis-data}/helpers/get_index_pattern.js | 0 .../server/lib/vis-data}/helpers/get_last_metric.js | 0 .../lib/vis-data}/helpers/get_last_metric.test.js | 0 .../helpers/get_opensearch_query_uisettings.js | 0 .../helpers/get_opensearch_shard_timeout.js | 0 .../helpers/get_opensearch_shard_timeout.test.js | 0 .../lib/vis-data}/helpers/get_sibling_agg_value.js | 0 .../vis-data}/helpers/get_sibling_agg_value.test.js | 0 .../server/lib/vis-data}/helpers/get_split_colors.js | 0 .../server/lib/vis-data}/helpers/get_splits.js | 0 .../server/lib/vis-data}/helpers/get_splits.test.js | 0 .../server/lib/vis-data}/helpers/get_timerange.js | 0 .../lib/vis-data}/helpers/get_timerange.test.js | 0 .../lib/vis-data}/helpers/get_timerange_mode.js | 0 .../server/lib/vis-data}/helpers/index.js | 0 .../server/lib/vis-data}/helpers/map_bucket.js | 0 .../server/lib/vis-data}/helpers/map_bucket.test.js | 0 .../lib/vis-data}/helpers/moving_fn_scripts.js | 0 .../lib/vis-data}/helpers/moving_fn_scripts.test.js | 0 .../server/lib/vis-data}/helpers/overwrite.js | 0 .../server/lib/vis-data}/helpers/parse_interval.js | 0 .../server/lib/vis-data}/helpers/parse_settings.js | 0 .../lib/vis-data}/helpers/parse_settings.test.js | 0 .../server/lib/vis-data}/helpers/timestamp.js | 0 .../server/lib/vis-data}/helpers/timestamp.test.js | 0 .../server/lib/vis-data}/helpers/unit_to_seconds.js | 0 .../lib/vis-data}/helpers/unit_to_seconds.test.js | 0 .../server/lib/vis-data}/offset_time.js | 0 .../server/lib/vis-data}/offset_time.test.js | 0 .../annotations/date_histogram.js | 0 .../request-processors}/annotations/index.js | 0 .../request-processors}/annotations/query.js | 0 .../request-processors}/annotations/top_hits.js | 0 .../request-processors}/series/date_histogram.js | 0 .../series/date_histogram.test.js | 2 +- .../request-processors}/series/filter_ratios.js | 0 .../request-processors}/series/filter_ratios.test.js | 0 .../lib/vis-data/request-processors}/series/index.js | 0 .../request-processors}/series/metric_buckets.js | 0 .../series/metric_buckets.test.js | 0 .../request-processors}/series/normalize_query.js | 0 .../series/normalize_query.test.js | 0 .../request-processors}/series/positive_rate.js | 0 .../request-processors}/series/positive_rate.test.js | 0 .../lib/vis-data/request-processors}/series/query.js | 0 .../request-processors}/series/query.test.js | 0 .../request-processors}/series/sibling_buckets.js | 0 .../series/sibling_buckets.test.js | 0 .../series/split_by_everything.js | 0 .../series/split_by_everything.test.js | 0 .../request-processors}/series/split_by_filter.js | 0 .../series/split_by_filter.test.js | 0 .../request-processors}/series/split_by_filters.js | 0 .../series/split_by_filters.test.js | 0 .../request-processors}/series/split_by_terms.js | 0 .../series/split_by_terms.test.js | 0 .../request-processors}/table/calculate_agg_root.js | 0 .../request-processors}/table/date_histogram.js | 0 .../request-processors}/table/filter_ratios.js | 0 .../lib/vis-data/request-processors}/table/index.js | 0 .../request-processors}/table/metric_buckets.js | 0 .../request-processors}/table/normalize_query.js | 0 .../table/normalize_query.test.js | 0 .../lib/vis-data/request-processors}/table/pivot.js | 0 .../request-processors}/table/positive_rate.js | 0 .../lib/vis-data/request-processors}/table/query.js | 0 .../request-processors}/table/sibling_buckets.js | 0 .../request-processors}/table/split_by_everything.js | 0 .../request-processors}/table/split_by_terms.js | 0 .../response-processors}/annotations/buckets.js | 0 .../response-processors}/annotations/filter.js | 0 .../response-processors}/annotations/filter.test.js | 0 .../response-processors}/annotations/index.js | 0 .../response-processors}/series/_series_agg.js | 0 .../response-processors}/series/_series_agg.test.js | 0 .../response-processors}/series/drop_last_bucket.js | 0 .../vis-data/response-processors}/series/index.js | 0 .../lib/vis-data/response-processors}/series/math.js | 0 .../response-processors}/series/math.test.js | 0 .../response-processors}/series/percentile.js | 0 .../response-processors}/series/percentile.test.js | 0 .../response-processors}/series/percentile_rank.js | 0 .../response-processors}/series/series_agg.js | 0 .../response-processors}/series/series_agg.test.js | 0 .../series/std_deviation_bands.js | 0 .../series/std_deviation_bands.test.js | 0 .../series/std_deviation_sibling.js | 0 .../series/std_deviation_sibling.test.js | 0 .../response-processors}/series/std_metric.js | 0 .../response-processors}/series/std_metric.test.js | 0 .../response-processors}/series/std_sibling.js | 0 .../response-processors}/series/std_sibling.test.js | 0 .../response-processors}/series/time_shift.js | 0 .../response-processors}/series/time_shift.test.js | 0 .../response-processors}/table/_series_agg.js | 0 .../response-processors}/table/drop_last_bucket.js | 0 .../lib/vis-data/response-processors}/table/index.js | 0 .../lib/vis-data/response-processors}/table/math.js | 0 .../response-processors}/table/percentile.js | 0 .../response-processors}/table/percentile_rank.js | 0 .../response-processors}/table/series_agg.js | 0 .../response-processors}/table/std_metric.js | 0 .../response-processors}/table/std_sibling.js | 0 .../lib/vis-data}/series/build_request_body.test.ts | 0 .../lib/vis-data}/series/build_request_body.ts | 2 +- .../lib/vis-data}/series/get_request_params.js | 0 .../lib/vis-data}/series/handle_response_body.js | 2 +- .../server/lib/vis-data}/table/build_request_body.js | 2 +- .../server/lib/vis-data}/table/process_bucket.js | 2 +- .../lib/vis-data}/table/process_bucket.test.js | 0 .../server/plugin.ts | 4 ++-- .../server/routes/fields.ts | 0 .../server/routes/vis.ts | 0 .../server/saved-objects}/index.ts | 0 .../server/saved-objects}/tsvb_telemetry.ts | 0 .../server/ui_settings.ts | 0 .../server/validation-telemetry}/index.ts | 0 .../validation_telemetry_service.ts | 2 +- 397 files changed, 73 insertions(+), 73 deletions(-) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/README.md (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/common/__snapshots__/model_options.test.js.snap (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/common/agg_lookup.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/common/agg_lookup.test.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/common/basic_aggs.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/common/calculate_label.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/common/calculate_label.test.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/common/constants.ts (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/common/extract_index_patterns.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/common/extract_index_patterns.test.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/common/field_types.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/common/get_last_value.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/common/get_last_value.test.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/common/interval_regexp.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/common/interval_regexp.test.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/common/metric_types.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/common/model_options.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/common/model_options.test.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/common/panel_types.ts (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/common/timerange_data_modes.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/common/to_percentile_number.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/common/types.ts (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/common/ui_restrictions.ts (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/common/vis_schema.ts (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/opensearch_dashboards.json (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/_mixins.scss (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/_tvb_editor.scss (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/_variables.scss (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/_annotations_editor.scss (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/_color_picker.scss (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/_color_rules.scss (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/_error.scss (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/_index.scss (83%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/_markdown_editor.scss (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/_no_data.scss (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/_series_editor.scss (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/_vis_editor.scss (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/_vis_editor_visualization.scss (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/_vis_picker.scss (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/_vis_with_splits.scss (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/add_delete_buttons.test.tsx (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/add_delete_buttons.tsx (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/aggs/_agg_row.scss (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/aggs/_index.scss (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/aggs/agg.tsx (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/aggs/agg_row.tsx (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/aggs/agg_select.test.tsx (98%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/aggs/agg_select.tsx (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/aggs/aggs.tsx (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/aggs/calculation.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/aggs/cumulative_sum.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/aggs/derivative.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/aggs/field_select.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/aggs/filter_ratio.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/aggs/filter_ratio.test.js (98%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/aggs/histogram_support.test.js (98%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/aggs/math.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/aggs/metric_select.js (93%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/aggs/moving_average.js (99%) rename src/plugins/{vis_type_timeseries/public/application/components/aggs/percentile_rank => vis-type-timeseries/public/application/components/aggs/percentile-rank}/index.js (100%) rename src/plugins/{vis_type_timeseries/public/application/components/aggs/percentile_rank => vis-type-timeseries/public/application/components/aggs/percentile-rank}/multi_value_row.tsx (100%) rename src/plugins/{vis_type_timeseries/public/application/components/aggs/percentile_rank => vis-type-timeseries/public/application/components/aggs/percentile-rank}/percentile_rank.tsx (100%) rename src/plugins/{vis_type_timeseries/public/application/components/aggs/percentile_rank => vis-type-timeseries/public/application/components/aggs/percentile-rank}/percentile_rank_values.tsx (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/aggs/percentile.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/aggs/percentile_ui.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/aggs/positive_only.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/aggs/positive_rate.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/aggs/serial_diff.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/aggs/series_agg.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/aggs/static.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/aggs/std_agg.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/aggs/std_deviation.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/aggs/std_sibling.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/aggs/temporary_unsupported_agg.tsx (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/aggs/top_hit.js (99%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/aggs/unsupported_agg.tsx (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/aggs/vars.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/annotations_editor.js (99%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/color_picker.test.tsx (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/color_picker.tsx (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/color_rules.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/color_rules.test.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/data_format_picker.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/error.js (100%) rename src/plugins/{vis_type_timeseries/public/application/components/icon_select => vis-type-timeseries/public/application/components/icon-select}/__snapshots__/icon_select.test.js.snap (100%) rename src/plugins/{vis_type_timeseries/public/application/components/icon_select => vis-type-timeseries/public/application/components/icon-select}/icon_select.js (100%) rename src/plugins/{vis_type_timeseries/public/application/components/icon_select => vis-type-timeseries/public/application/components/icon-select}/icon_select.test.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/index_pattern.js (98%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/lib/agg_to_component.js (97%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/lib/calculate_siblings.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/lib/calculate_siblings.test.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/lib/collection_actions.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/lib/collection_actions.test.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/lib/convert_series_to_vars.js (96%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/lib/convert_series_to_vars.test.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/lib/create_change_handler.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/lib/create_number_handler.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/lib/create_number_handler.test.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/lib/create_select_handler.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/lib/create_select_handler.test.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/lib/create_text_handler.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/lib/create_text_handler.test.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/lib/create_xaxis_formatter.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/lib/detect_ie.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/lib/durations.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/lib/durations.test.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/lib/get_axis_label_string.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/lib/get_axis_label_string.test.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/lib/get_default_query_language.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/lib/get_display_name.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/lib/get_interval.js (97%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/lib/get_supported_fields_by_metric_type.js (94%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/lib/get_supported_fields_by_metric_type.test.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/lib/new_metric_agg_fn.ts (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/lib/new_series_fn.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/lib/re_id_series.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/lib/re_id_series.test.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/lib/reorder.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/lib/replace_vars.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/lib/replace_vars.test.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/lib/series_change_handler.js (96%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/lib/stacked.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/lib/tick_formatter.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/lib/tick_formatter.test.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/markdown_editor.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/no_data.js (100%) rename src/plugins/{vis_type_timeseries/public/application/components/panel_config => vis-type-timeseries/public/application/components/panel-config}/_index.scss (100%) rename src/plugins/{vis_type_timeseries/public/application/components/panel_config => vis-type-timeseries/public/application/components/panel-config}/_panel_config.scss (100%) rename src/plugins/{vis_type_timeseries/public/application/components/panel_config => vis-type-timeseries/public/application/components/panel-config}/gauge.js (100%) rename src/plugins/{vis_type_timeseries/public/application/components/panel_config => vis-type-timeseries/public/application/components/panel-config}/gauge.test.js (100%) rename src/plugins/{vis_type_timeseries/public/application/components/panel_config => vis-type-timeseries/public/application/components/panel-config}/markdown.js (100%) rename src/plugins/{vis_type_timeseries/public/application/components/panel_config => vis-type-timeseries/public/application/components/panel-config}/metric.js (100%) rename src/plugins/{vis_type_timeseries/public/application/components/panel_config => vis-type-timeseries/public/application/components/panel-config}/table.js (100%) rename src/plugins/{vis_type_timeseries/public/application/components/panel_config => vis-type-timeseries/public/application/components/panel-config}/timeseries.js (100%) rename src/plugins/{vis_type_timeseries/public/application/components/panel_config => vis-type-timeseries/public/application/components/panel-config}/top_n.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/panel_config.js (88%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/query_bar_wrapper.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/series.js (91%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/series_config.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/series_drag_handler.tsx (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/series_editor.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/split.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/splits/__snapshots__/terms.test.js.snap (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/splits/everything.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/splits/filter.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/splits/filter_items.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/splits/filters.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/splits/group_by_select.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/splits/terms.js (99%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/splits/terms.test.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/splits/unsupported_split.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/svg/bomb_icon.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/svg/fire_icon.js (100%) rename src/plugins/{vis_type_timeseries/public/application/components/vis_types => vis-type-timeseries/public/application/components/vis-types}/_index.scss (100%) rename src/plugins/{vis_type_timeseries/public/application/components/vis_types => vis-type-timeseries/public/application/components/vis-types}/_vis_types.scss (100%) rename src/plugins/{vis_type_timeseries/public/application/components/vis_types => vis-type-timeseries/public/application/components/vis-types}/gauge/series.js (100%) rename src/plugins/{vis_type_timeseries/public/application/components/vis_types => vis-type-timeseries/public/application/components/vis-types}/gauge/series.test.js (100%) rename src/plugins/{vis_type_timeseries/public/application/components/vis_types => vis-type-timeseries/public/application/components/vis-types}/gauge/vis.js (97%) rename src/plugins/{vis_type_timeseries/public/application/components/vis_types => vis-type-timeseries/public/application/components/vis-types}/markdown/_markdown.scss (100%) rename src/plugins/{vis_type_timeseries/public/application/components/vis_types => vis-type-timeseries/public/application/components/vis-types}/markdown/series.js (100%) rename src/plugins/{vis_type_timeseries/public/application/components/vis_types => vis-type-timeseries/public/application/components/vis-types}/markdown/vis.js (100%) rename src/plugins/{vis_type_timeseries/public/application/components/vis_types => vis-type-timeseries/public/application/components/vis-types}/metric/series.js (100%) rename src/plugins/{vis_type_timeseries/public/application/components/vis_types => vis-type-timeseries/public/application/components/vis-types}/metric/series.test.js (100%) rename src/plugins/{vis_type_timeseries/public/application/components/vis_types => vis-type-timeseries/public/application/components/vis-types}/metric/vis.js (97%) rename src/plugins/{vis_type_timeseries/public/application/components/vis_types => vis-type-timeseries/public/application/components/vis-types}/table/config.js (100%) rename src/plugins/{vis_type_timeseries/public/application/components/vis_types => vis-type-timeseries/public/application/components/vis-types}/table/is_sortable.js (92%) rename src/plugins/{vis_type_timeseries/public/application/components/vis_types => vis-type-timeseries/public/application/components/vis-types}/table/series.js (100%) rename src/plugins/{vis_type_timeseries/public/application/components/vis_types => vis-type-timeseries/public/application/components/vis-types}/table/vis.js (98%) rename src/plugins/{vis_type_timeseries/public/application/components/vis_types => vis-type-timeseries/public/application/components/vis-types}/timeseries/config.js (100%) rename src/plugins/{vis_type_timeseries/public/application/components/vis_types => vis-type-timeseries/public/application/components/vis-types}/timeseries/series.js (98%) rename src/plugins/{vis_type_timeseries/public/application/components/vis_types => vis-type-timeseries/public/application/components/vis-types}/timeseries/vis.js (100%) rename src/plugins/{vis_type_timeseries/public/application/components/vis_types/top_n => vis-type-timeseries/public/application/components/vis-types/top-n}/series.js (100%) rename src/plugins/{vis_type_timeseries/public/application/components/vis_types/top_n => vis-type-timeseries/public/application/components/vis-types/top-n}/vis.js (97%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/vis_editor.js (99%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/vis_editor_lazy.tsx (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/vis_editor_visualization.js (99%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/vis_picker.js (98%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/vis_with_splits.js (98%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/visualization.js (89%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/yes_no.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/components/yes_no.test.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/contexts/form_validation_context.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/contexts/query_input_bar_context.ts (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/contexts/vis_data_context.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/editor_controller.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/index.scss (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/index.ts (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/lib/check_ui_restrictions.js (98%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/lib/create_brush_handler.test.ts (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/lib/create_brush_handler.ts (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/lib/fetch_fields.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/lib/get_timezone.ts (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/lib/index.ts (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/lib/set_is_reversed.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/lib/validate_interval.js (95%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/visualizations/constants/chart.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/visualizations/constants/icons.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/visualizations/constants/index.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/visualizations/lib/active_cursor.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/visualizations/lib/calc_dimensions.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/visualizations/lib/calculate_coordinates.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/visualizations/lib/get_value_by.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/visualizations/views/_annotation.scss (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/visualizations/views/_gauge.scss (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/visualizations/views/_index.scss (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/visualizations/views/_metric.scss (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/visualizations/views/_top_n.scss (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/visualizations/views/annotation.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/visualizations/views/gauge.js (98%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/visualizations/views/gauge_vis.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/visualizations/views/metric.js (98%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/visualizations/views/timeseries/__mocks__/@elastic/charts.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/visualizations/views/timeseries/decorators/__snapshots__/area_decorator.test.js.snap (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/visualizations/views/timeseries/decorators/__snapshots__/bar_decorator.test.js.snap (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/visualizations/views/timeseries/decorators/area_decorator.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/visualizations/views/timeseries/decorators/area_decorator.test.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/visualizations/views/timeseries/decorators/bar_decorator.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/visualizations/views/timeseries/decorators/bar_decorator.test.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/visualizations/views/timeseries/index.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/visualizations/views/timeseries/model/__snapshots__/charts.test.js.snap (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/visualizations/views/timeseries/model/charts.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/visualizations/views/timeseries/model/charts.test.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/visualizations/views/timeseries/utils/__snapshots__/series_styles.test.js.snap (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/visualizations/views/timeseries/utils/series_styles.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/visualizations/views/timeseries/utils/series_styles.test.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/visualizations/views/timeseries/utils/stack_format.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/visualizations/views/timeseries/utils/stack_format.test.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/visualizations/views/timeseries/utils/theme.test.ts (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/visualizations/views/timeseries/utils/theme.ts (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/application/visualizations/views/top_n.js (98%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/index.ts (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/metrics_fn.ts (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/metrics_type.ts (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/plugin.ts (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/request_handler.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/services.ts (100%) rename src/plugins/{vis_type_timeseries/public/test_utils => vis-type-timeseries/public/test-utils}/index.ts (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/public/types.ts (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/server/config.ts (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/server/index.ts (92%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/server/lib/get_fields.ts (98%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/server/lib/get_vis_data.ts (96%) rename src/plugins/{vis_type_timeseries/server/lib/search_strategies => vis-type-timeseries/server/lib/search-strategies}/default_search_capabilities.js (98%) rename src/plugins/{vis_type_timeseries/server/lib/search_strategies => vis-type-timeseries/server/lib/search-strategies}/default_search_capabilities.test.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/search_strategies => vis-type-timeseries/server/lib/search-strategies}/index.ts (100%) rename src/plugins/{vis_type_timeseries/server/lib/search_strategies => vis-type-timeseries/server/lib/search-strategies}/search_strategies_registry.test.ts (100%) rename src/plugins/{vis_type_timeseries/server/lib/search_strategies => vis-type-timeseries/server/lib/search-strategies}/search_strategy_registry.ts (100%) rename src/plugins/{vis_type_timeseries/server/lib/search_strategies => vis-type-timeseries/server/lib/search-strategies}/strategies/abstract_search_strategy.test.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/search_strategies => vis-type-timeseries/server/lib/search-strategies}/strategies/abstract_search_strategy.ts (100%) rename src/plugins/{vis_type_timeseries/server/lib/search_strategies => vis-type-timeseries/server/lib/search-strategies}/strategies/default_search_strategy.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/search_strategies => vis-type-timeseries/server/lib/search-strategies}/strategies/default_search_strategy.test.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data => vis-type-timeseries/server/lib/vis-data}/annotations/build_request_body.js (96%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data => vis-type-timeseries/server/lib/vis-data}/annotations/get_request_params.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data => vis-type-timeseries/server/lib/vis-data}/build_processor_function.test.ts (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data => vis-type-timeseries/server/lib/vis-data}/build_processor_function.ts (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data => vis-type-timeseries/server/lib/vis-data}/get_annotations.js (97%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data => vis-type-timeseries/server/lib/vis-data}/get_interval_and_timefield.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data => vis-type-timeseries/server/lib/vis-data}/get_interval_and_timefield.test.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data => vis-type-timeseries/server/lib/vis-data}/get_panel_data.d.ts (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data => vis-type-timeseries/server/lib/vis-data}/get_panel_data.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data => vis-type-timeseries/server/lib/vis-data}/get_series_data.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data => vis-type-timeseries/server/lib/vis-data}/get_table_data.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data => vis-type-timeseries/server/lib/vis-data}/handle_error_response.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data => vis-type-timeseries/server/lib/vis-data}/helpers/__snapshots__/bucket_transform.test.js.snap (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data => vis-type-timeseries/server/lib/vis-data}/helpers/bucket_transform.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data => vis-type-timeseries/server/lib/vis-data}/helpers/bucket_transform.test.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data => vis-type-timeseries/server/lib/vis-data}/helpers/calculate_auto.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data => vis-type-timeseries/server/lib/vis-data}/helpers/format_key.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data => vis-type-timeseries/server/lib/vis-data}/helpers/get_active_series.ts (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data => vis-type-timeseries/server/lib/vis-data}/helpers/get_agg_value.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data => vis-type-timeseries/server/lib/vis-data}/helpers/get_agg_value.test.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data => vis-type-timeseries/server/lib/vis-data}/helpers/get_bucket_size.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data => vis-type-timeseries/server/lib/vis-data}/helpers/get_bucket_size.test.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data => vis-type-timeseries/server/lib/vis-data}/helpers/get_buckets_path.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data => vis-type-timeseries/server/lib/vis-data}/helpers/get_buckets_path.test.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data => vis-type-timeseries/server/lib/vis-data}/helpers/get_default_decoration.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data => vis-type-timeseries/server/lib/vis-data}/helpers/get_default_decoration.test.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data => vis-type-timeseries/server/lib/vis-data}/helpers/get_index_pattern.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data => vis-type-timeseries/server/lib/vis-data}/helpers/get_last_metric.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data => vis-type-timeseries/server/lib/vis-data}/helpers/get_last_metric.test.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data => vis-type-timeseries/server/lib/vis-data}/helpers/get_opensearch_query_uisettings.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data => vis-type-timeseries/server/lib/vis-data}/helpers/get_opensearch_shard_timeout.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data => vis-type-timeseries/server/lib/vis-data}/helpers/get_opensearch_shard_timeout.test.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data => vis-type-timeseries/server/lib/vis-data}/helpers/get_sibling_agg_value.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data => vis-type-timeseries/server/lib/vis-data}/helpers/get_sibling_agg_value.test.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data => vis-type-timeseries/server/lib/vis-data}/helpers/get_split_colors.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data => vis-type-timeseries/server/lib/vis-data}/helpers/get_splits.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data => vis-type-timeseries/server/lib/vis-data}/helpers/get_splits.test.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data => vis-type-timeseries/server/lib/vis-data}/helpers/get_timerange.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data => vis-type-timeseries/server/lib/vis-data}/helpers/get_timerange.test.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data => vis-type-timeseries/server/lib/vis-data}/helpers/get_timerange_mode.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data => vis-type-timeseries/server/lib/vis-data}/helpers/index.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data => vis-type-timeseries/server/lib/vis-data}/helpers/map_bucket.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data => vis-type-timeseries/server/lib/vis-data}/helpers/map_bucket.test.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data => vis-type-timeseries/server/lib/vis-data}/helpers/moving_fn_scripts.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data => vis-type-timeseries/server/lib/vis-data}/helpers/moving_fn_scripts.test.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data => vis-type-timeseries/server/lib/vis-data}/helpers/overwrite.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data => vis-type-timeseries/server/lib/vis-data}/helpers/parse_interval.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data => vis-type-timeseries/server/lib/vis-data}/helpers/parse_settings.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data => vis-type-timeseries/server/lib/vis-data}/helpers/parse_settings.test.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data => vis-type-timeseries/server/lib/vis-data}/helpers/timestamp.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data => vis-type-timeseries/server/lib/vis-data}/helpers/timestamp.test.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data => vis-type-timeseries/server/lib/vis-data}/helpers/unit_to_seconds.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data => vis-type-timeseries/server/lib/vis-data}/helpers/unit_to_seconds.test.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data => vis-type-timeseries/server/lib/vis-data}/offset_time.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data => vis-type-timeseries/server/lib/vis-data}/offset_time.test.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data/request_processors => vis-type-timeseries/server/lib/vis-data/request-processors}/annotations/date_histogram.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data/request_processors => vis-type-timeseries/server/lib/vis-data/request-processors}/annotations/index.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data/request_processors => vis-type-timeseries/server/lib/vis-data/request-processors}/annotations/query.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data/request_processors => vis-type-timeseries/server/lib/vis-data/request-processors}/annotations/top_hits.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data/request_processors => vis-type-timeseries/server/lib/vis-data/request-processors}/series/date_histogram.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data/request_processors => vis-type-timeseries/server/lib/vis-data/request-processors}/series/date_histogram.test.js (98%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data/request_processors => vis-type-timeseries/server/lib/vis-data/request-processors}/series/filter_ratios.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data/request_processors => vis-type-timeseries/server/lib/vis-data/request-processors}/series/filter_ratios.test.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data/request_processors => vis-type-timeseries/server/lib/vis-data/request-processors}/series/index.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data/request_processors => vis-type-timeseries/server/lib/vis-data/request-processors}/series/metric_buckets.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data/request_processors => vis-type-timeseries/server/lib/vis-data/request-processors}/series/metric_buckets.test.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data/request_processors => vis-type-timeseries/server/lib/vis-data/request-processors}/series/normalize_query.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data/request_processors => vis-type-timeseries/server/lib/vis-data/request-processors}/series/normalize_query.test.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data/request_processors => vis-type-timeseries/server/lib/vis-data/request-processors}/series/positive_rate.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data/request_processors => vis-type-timeseries/server/lib/vis-data/request-processors}/series/positive_rate.test.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data/request_processors => vis-type-timeseries/server/lib/vis-data/request-processors}/series/query.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data/request_processors => vis-type-timeseries/server/lib/vis-data/request-processors}/series/query.test.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data/request_processors => vis-type-timeseries/server/lib/vis-data/request-processors}/series/sibling_buckets.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data/request_processors => vis-type-timeseries/server/lib/vis-data/request-processors}/series/sibling_buckets.test.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data/request_processors => vis-type-timeseries/server/lib/vis-data/request-processors}/series/split_by_everything.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data/request_processors => vis-type-timeseries/server/lib/vis-data/request-processors}/series/split_by_everything.test.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data/request_processors => vis-type-timeseries/server/lib/vis-data/request-processors}/series/split_by_filter.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data/request_processors => vis-type-timeseries/server/lib/vis-data/request-processors}/series/split_by_filter.test.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data/request_processors => vis-type-timeseries/server/lib/vis-data/request-processors}/series/split_by_filters.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data/request_processors => vis-type-timeseries/server/lib/vis-data/request-processors}/series/split_by_filters.test.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data/request_processors => vis-type-timeseries/server/lib/vis-data/request-processors}/series/split_by_terms.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data/request_processors => vis-type-timeseries/server/lib/vis-data/request-processors}/series/split_by_terms.test.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data/request_processors => vis-type-timeseries/server/lib/vis-data/request-processors}/table/calculate_agg_root.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data/request_processors => vis-type-timeseries/server/lib/vis-data/request-processors}/table/date_histogram.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data/request_processors => vis-type-timeseries/server/lib/vis-data/request-processors}/table/filter_ratios.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data/request_processors => vis-type-timeseries/server/lib/vis-data/request-processors}/table/index.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data/request_processors => vis-type-timeseries/server/lib/vis-data/request-processors}/table/metric_buckets.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data/request_processors => vis-type-timeseries/server/lib/vis-data/request-processors}/table/normalize_query.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data/request_processors => vis-type-timeseries/server/lib/vis-data/request-processors}/table/normalize_query.test.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data/request_processors => vis-type-timeseries/server/lib/vis-data/request-processors}/table/pivot.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data/request_processors => vis-type-timeseries/server/lib/vis-data/request-processors}/table/positive_rate.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data/request_processors => vis-type-timeseries/server/lib/vis-data/request-processors}/table/query.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data/request_processors => vis-type-timeseries/server/lib/vis-data/request-processors}/table/sibling_buckets.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data/request_processors => vis-type-timeseries/server/lib/vis-data/request-processors}/table/split_by_everything.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data/request_processors => vis-type-timeseries/server/lib/vis-data/request-processors}/table/split_by_terms.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data/response_processors => vis-type-timeseries/server/lib/vis-data/response-processors}/annotations/buckets.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data/response_processors => vis-type-timeseries/server/lib/vis-data/response-processors}/annotations/filter.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data/response_processors => vis-type-timeseries/server/lib/vis-data/response-processors}/annotations/filter.test.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data/response_processors => vis-type-timeseries/server/lib/vis-data/response-processors}/annotations/index.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data/response_processors => vis-type-timeseries/server/lib/vis-data/response-processors}/series/_series_agg.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data/response_processors => vis-type-timeseries/server/lib/vis-data/response-processors}/series/_series_agg.test.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data/response_processors => vis-type-timeseries/server/lib/vis-data/response-processors}/series/drop_last_bucket.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data/response_processors => vis-type-timeseries/server/lib/vis-data/response-processors}/series/index.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data/response_processors => vis-type-timeseries/server/lib/vis-data/response-processors}/series/math.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data/response_processors => vis-type-timeseries/server/lib/vis-data/response-processors}/series/math.test.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data/response_processors => vis-type-timeseries/server/lib/vis-data/response-processors}/series/percentile.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data/response_processors => vis-type-timeseries/server/lib/vis-data/response-processors}/series/percentile.test.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data/response_processors => vis-type-timeseries/server/lib/vis-data/response-processors}/series/percentile_rank.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data/response_processors => vis-type-timeseries/server/lib/vis-data/response-processors}/series/series_agg.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data/response_processors => vis-type-timeseries/server/lib/vis-data/response-processors}/series/series_agg.test.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data/response_processors => vis-type-timeseries/server/lib/vis-data/response-processors}/series/std_deviation_bands.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data/response_processors => vis-type-timeseries/server/lib/vis-data/response-processors}/series/std_deviation_bands.test.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data/response_processors => vis-type-timeseries/server/lib/vis-data/response-processors}/series/std_deviation_sibling.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data/response_processors => vis-type-timeseries/server/lib/vis-data/response-processors}/series/std_deviation_sibling.test.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data/response_processors => vis-type-timeseries/server/lib/vis-data/response-processors}/series/std_metric.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data/response_processors => vis-type-timeseries/server/lib/vis-data/response-processors}/series/std_metric.test.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data/response_processors => vis-type-timeseries/server/lib/vis-data/response-processors}/series/std_sibling.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data/response_processors => vis-type-timeseries/server/lib/vis-data/response-processors}/series/std_sibling.test.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data/response_processors => vis-type-timeseries/server/lib/vis-data/response-processors}/series/time_shift.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data/response_processors => vis-type-timeseries/server/lib/vis-data/response-processors}/series/time_shift.test.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data/response_processors => vis-type-timeseries/server/lib/vis-data/response-processors}/table/_series_agg.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data/response_processors => vis-type-timeseries/server/lib/vis-data/response-processors}/table/drop_last_bucket.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data/response_processors => vis-type-timeseries/server/lib/vis-data/response-processors}/table/index.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data/response_processors => vis-type-timeseries/server/lib/vis-data/response-processors}/table/math.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data/response_processors => vis-type-timeseries/server/lib/vis-data/response-processors}/table/percentile.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data/response_processors => vis-type-timeseries/server/lib/vis-data/response-processors}/table/percentile_rank.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data/response_processors => vis-type-timeseries/server/lib/vis-data/response-processors}/table/series_agg.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data/response_processors => vis-type-timeseries/server/lib/vis-data/response-processors}/table/std_metric.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data/response_processors => vis-type-timeseries/server/lib/vis-data/response-processors}/table/std_sibling.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data => vis-type-timeseries/server/lib/vis-data}/series/build_request_body.test.ts (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data => vis-type-timeseries/server/lib/vis-data}/series/build_request_body.ts (96%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data => vis-type-timeseries/server/lib/vis-data}/series/get_request_params.js (100%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data => vis-type-timeseries/server/lib/vis-data}/series/handle_response_body.js (97%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data => vis-type-timeseries/server/lib/vis-data}/table/build_request_body.js (95%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data => vis-type-timeseries/server/lib/vis-data}/table/process_bucket.js (97%) rename src/plugins/{vis_type_timeseries/server/lib/vis_data => vis-type-timeseries/server/lib/vis-data}/table/process_bucket.test.js (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/server/plugin.ts (97%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/server/routes/fields.ts (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/server/routes/vis.ts (100%) rename src/plugins/{vis_type_timeseries/server/saved_objects => vis-type-timeseries/server/saved-objects}/index.ts (100%) rename src/plugins/{vis_type_timeseries/server/saved_objects => vis-type-timeseries/server/saved-objects}/tsvb_telemetry.ts (100%) rename src/plugins/{vis_type_timeseries => vis-type-timeseries}/server/ui_settings.ts (100%) rename src/plugins/{vis_type_timeseries/server/validation_telemetry => vis-type-timeseries/server/validation-telemetry}/index.ts (100%) rename src/plugins/{vis_type_timeseries/server/validation_telemetry => vis-type-timeseries/server/validation-telemetry}/validation_telemetry_service.ts (98%) diff --git a/.eslintrc.js b/.eslintrc.js index 0920c552629b..e8a31cfd5a66 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -699,7 +699,7 @@ module.exports = { * TSVB overrides */ { - files: ['src/plugins/vis_type_timeseries/**/*.{js,mjs,ts,tsx}'], + files: ['src/plugins/vis-type-timeseries/**/*.{js,mjs,ts,tsx}'], rules: { 'import/no-default-export': 'error', }, diff --git a/.i18nrc.json b/.i18nrc.json index 71c7970affa4..082ff2dd6ac0 100644 --- a/.i18nrc.json +++ b/.i18nrc.json @@ -54,7 +54,7 @@ "visTypeMetric": "src/plugins/vis_type_metric", "visTypeTable": "src/plugins/vis_type_table", "visTypeTagCloud": "src/plugins/vis_type_tagcloud", - "visTypeTimeseries": "src/plugins/vis_type_timeseries", + "visTypeTimeseries": "src/plugins/vis-type-timeseries", "visTypeVega": "src/plugins/vis_type_vega", "visTypeVislib": "src/plugins/vis_type_vislib", "visTypeXy": "src/plugins/vis_type_xy", diff --git a/src/plugins/vis_type_timeseries/README.md b/src/plugins/vis-type-timeseries/README.md similarity index 100% rename from src/plugins/vis_type_timeseries/README.md rename to src/plugins/vis-type-timeseries/README.md diff --git a/src/plugins/vis_type_timeseries/common/__snapshots__/model_options.test.js.snap b/src/plugins/vis-type-timeseries/common/__snapshots__/model_options.test.js.snap similarity index 100% rename from src/plugins/vis_type_timeseries/common/__snapshots__/model_options.test.js.snap rename to src/plugins/vis-type-timeseries/common/__snapshots__/model_options.test.js.snap diff --git a/src/plugins/vis_type_timeseries/common/agg_lookup.js b/src/plugins/vis-type-timeseries/common/agg_lookup.js similarity index 100% rename from src/plugins/vis_type_timeseries/common/agg_lookup.js rename to src/plugins/vis-type-timeseries/common/agg_lookup.js diff --git a/src/plugins/vis_type_timeseries/common/agg_lookup.test.js b/src/plugins/vis-type-timeseries/common/agg_lookup.test.js similarity index 100% rename from src/plugins/vis_type_timeseries/common/agg_lookup.test.js rename to src/plugins/vis-type-timeseries/common/agg_lookup.test.js diff --git a/src/plugins/vis_type_timeseries/common/basic_aggs.js b/src/plugins/vis-type-timeseries/common/basic_aggs.js similarity index 100% rename from src/plugins/vis_type_timeseries/common/basic_aggs.js rename to src/plugins/vis-type-timeseries/common/basic_aggs.js diff --git a/src/plugins/vis_type_timeseries/common/calculate_label.js b/src/plugins/vis-type-timeseries/common/calculate_label.js similarity index 100% rename from src/plugins/vis_type_timeseries/common/calculate_label.js rename to src/plugins/vis-type-timeseries/common/calculate_label.js diff --git a/src/plugins/vis_type_timeseries/common/calculate_label.test.js b/src/plugins/vis-type-timeseries/common/calculate_label.test.js similarity index 100% rename from src/plugins/vis_type_timeseries/common/calculate_label.test.js rename to src/plugins/vis-type-timeseries/common/calculate_label.test.js diff --git a/src/plugins/vis_type_timeseries/common/constants.ts b/src/plugins/vis-type-timeseries/common/constants.ts similarity index 100% rename from src/plugins/vis_type_timeseries/common/constants.ts rename to src/plugins/vis-type-timeseries/common/constants.ts diff --git a/src/plugins/vis_type_timeseries/common/extract_index_patterns.js b/src/plugins/vis-type-timeseries/common/extract_index_patterns.js similarity index 100% rename from src/plugins/vis_type_timeseries/common/extract_index_patterns.js rename to src/plugins/vis-type-timeseries/common/extract_index_patterns.js diff --git a/src/plugins/vis_type_timeseries/common/extract_index_patterns.test.js b/src/plugins/vis-type-timeseries/common/extract_index_patterns.test.js similarity index 100% rename from src/plugins/vis_type_timeseries/common/extract_index_patterns.test.js rename to src/plugins/vis-type-timeseries/common/extract_index_patterns.test.js diff --git a/src/plugins/vis_type_timeseries/common/field_types.js b/src/plugins/vis-type-timeseries/common/field_types.js similarity index 100% rename from src/plugins/vis_type_timeseries/common/field_types.js rename to src/plugins/vis-type-timeseries/common/field_types.js diff --git a/src/plugins/vis_type_timeseries/common/get_last_value.js b/src/plugins/vis-type-timeseries/common/get_last_value.js similarity index 100% rename from src/plugins/vis_type_timeseries/common/get_last_value.js rename to src/plugins/vis-type-timeseries/common/get_last_value.js diff --git a/src/plugins/vis_type_timeseries/common/get_last_value.test.js b/src/plugins/vis-type-timeseries/common/get_last_value.test.js similarity index 100% rename from src/plugins/vis_type_timeseries/common/get_last_value.test.js rename to src/plugins/vis-type-timeseries/common/get_last_value.test.js diff --git a/src/plugins/vis_type_timeseries/common/interval_regexp.js b/src/plugins/vis-type-timeseries/common/interval_regexp.js similarity index 100% rename from src/plugins/vis_type_timeseries/common/interval_regexp.js rename to src/plugins/vis-type-timeseries/common/interval_regexp.js diff --git a/src/plugins/vis_type_timeseries/common/interval_regexp.test.js b/src/plugins/vis-type-timeseries/common/interval_regexp.test.js similarity index 100% rename from src/plugins/vis_type_timeseries/common/interval_regexp.test.js rename to src/plugins/vis-type-timeseries/common/interval_regexp.test.js diff --git a/src/plugins/vis_type_timeseries/common/metric_types.js b/src/plugins/vis-type-timeseries/common/metric_types.js similarity index 100% rename from src/plugins/vis_type_timeseries/common/metric_types.js rename to src/plugins/vis-type-timeseries/common/metric_types.js diff --git a/src/plugins/vis_type_timeseries/common/model_options.js b/src/plugins/vis-type-timeseries/common/model_options.js similarity index 100% rename from src/plugins/vis_type_timeseries/common/model_options.js rename to src/plugins/vis-type-timeseries/common/model_options.js diff --git a/src/plugins/vis_type_timeseries/common/model_options.test.js b/src/plugins/vis-type-timeseries/common/model_options.test.js similarity index 100% rename from src/plugins/vis_type_timeseries/common/model_options.test.js rename to src/plugins/vis-type-timeseries/common/model_options.test.js diff --git a/src/plugins/vis_type_timeseries/common/panel_types.ts b/src/plugins/vis-type-timeseries/common/panel_types.ts similarity index 100% rename from src/plugins/vis_type_timeseries/common/panel_types.ts rename to src/plugins/vis-type-timeseries/common/panel_types.ts diff --git a/src/plugins/vis_type_timeseries/common/timerange_data_modes.js b/src/plugins/vis-type-timeseries/common/timerange_data_modes.js similarity index 100% rename from src/plugins/vis_type_timeseries/common/timerange_data_modes.js rename to src/plugins/vis-type-timeseries/common/timerange_data_modes.js diff --git a/src/plugins/vis_type_timeseries/common/to_percentile_number.js b/src/plugins/vis-type-timeseries/common/to_percentile_number.js similarity index 100% rename from src/plugins/vis_type_timeseries/common/to_percentile_number.js rename to src/plugins/vis-type-timeseries/common/to_percentile_number.js diff --git a/src/plugins/vis_type_timeseries/common/types.ts b/src/plugins/vis-type-timeseries/common/types.ts similarity index 100% rename from src/plugins/vis_type_timeseries/common/types.ts rename to src/plugins/vis-type-timeseries/common/types.ts diff --git a/src/plugins/vis_type_timeseries/common/ui_restrictions.ts b/src/plugins/vis-type-timeseries/common/ui_restrictions.ts similarity index 100% rename from src/plugins/vis_type_timeseries/common/ui_restrictions.ts rename to src/plugins/vis-type-timeseries/common/ui_restrictions.ts diff --git a/src/plugins/vis_type_timeseries/common/vis_schema.ts b/src/plugins/vis-type-timeseries/common/vis_schema.ts similarity index 100% rename from src/plugins/vis_type_timeseries/common/vis_schema.ts rename to src/plugins/vis-type-timeseries/common/vis_schema.ts diff --git a/src/plugins/vis_type_timeseries/opensearch_dashboards.json b/src/plugins/vis-type-timeseries/opensearch_dashboards.json similarity index 100% rename from src/plugins/vis_type_timeseries/opensearch_dashboards.json rename to src/plugins/vis-type-timeseries/opensearch_dashboards.json diff --git a/src/plugins/vis_type_timeseries/public/application/_mixins.scss b/src/plugins/vis-type-timeseries/public/application/_mixins.scss similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/_mixins.scss rename to src/plugins/vis-type-timeseries/public/application/_mixins.scss diff --git a/src/plugins/vis_type_timeseries/public/application/_tvb_editor.scss b/src/plugins/vis-type-timeseries/public/application/_tvb_editor.scss similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/_tvb_editor.scss rename to src/plugins/vis-type-timeseries/public/application/_tvb_editor.scss diff --git a/src/plugins/vis_type_timeseries/public/application/_variables.scss b/src/plugins/vis-type-timeseries/public/application/_variables.scss similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/_variables.scss rename to src/plugins/vis-type-timeseries/public/application/_variables.scss diff --git a/src/plugins/vis_type_timeseries/public/application/components/_annotations_editor.scss b/src/plugins/vis-type-timeseries/public/application/components/_annotations_editor.scss similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/_annotations_editor.scss rename to src/plugins/vis-type-timeseries/public/application/components/_annotations_editor.scss diff --git a/src/plugins/vis_type_timeseries/public/application/components/_color_picker.scss b/src/plugins/vis-type-timeseries/public/application/components/_color_picker.scss similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/_color_picker.scss rename to src/plugins/vis-type-timeseries/public/application/components/_color_picker.scss diff --git a/src/plugins/vis_type_timeseries/public/application/components/_color_rules.scss b/src/plugins/vis-type-timeseries/public/application/components/_color_rules.scss similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/_color_rules.scss rename to src/plugins/vis-type-timeseries/public/application/components/_color_rules.scss diff --git a/src/plugins/vis_type_timeseries/public/application/components/_error.scss b/src/plugins/vis-type-timeseries/public/application/components/_error.scss similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/_error.scss rename to src/plugins/vis-type-timeseries/public/application/components/_error.scss diff --git a/src/plugins/vis_type_timeseries/public/application/components/_index.scss b/src/plugins/vis-type-timeseries/public/application/components/_index.scss similarity index 83% rename from src/plugins/vis_type_timeseries/public/application/components/_index.scss rename to src/plugins/vis-type-timeseries/public/application/components/_index.scss index 4ee5c1863946..cb4fc4303e38 100644 --- a/src/plugins/vis_type_timeseries/public/application/components/_index.scss +++ b/src/plugins/vis-type-timeseries/public/application/components/_index.scss @@ -11,5 +11,5 @@ @import './vis_with_splits'; @import './aggs/index'; -@import './panel_config/index'; -@import './vis_types/index'; +@import './panel-config/index'; +@import './vis-types/index'; diff --git a/src/plugins/vis_type_timeseries/public/application/components/_markdown_editor.scss b/src/plugins/vis-type-timeseries/public/application/components/_markdown_editor.scss similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/_markdown_editor.scss rename to src/plugins/vis-type-timeseries/public/application/components/_markdown_editor.scss diff --git a/src/plugins/vis_type_timeseries/public/application/components/_no_data.scss b/src/plugins/vis-type-timeseries/public/application/components/_no_data.scss similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/_no_data.scss rename to src/plugins/vis-type-timeseries/public/application/components/_no_data.scss diff --git a/src/plugins/vis_type_timeseries/public/application/components/_series_editor.scss b/src/plugins/vis-type-timeseries/public/application/components/_series_editor.scss similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/_series_editor.scss rename to src/plugins/vis-type-timeseries/public/application/components/_series_editor.scss diff --git a/src/plugins/vis_type_timeseries/public/application/components/_vis_editor.scss b/src/plugins/vis-type-timeseries/public/application/components/_vis_editor.scss similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/_vis_editor.scss rename to src/plugins/vis-type-timeseries/public/application/components/_vis_editor.scss diff --git a/src/plugins/vis_type_timeseries/public/application/components/_vis_editor_visualization.scss b/src/plugins/vis-type-timeseries/public/application/components/_vis_editor_visualization.scss similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/_vis_editor_visualization.scss rename to src/plugins/vis-type-timeseries/public/application/components/_vis_editor_visualization.scss diff --git a/src/plugins/vis_type_timeseries/public/application/components/_vis_picker.scss b/src/plugins/vis-type-timeseries/public/application/components/_vis_picker.scss similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/_vis_picker.scss rename to src/plugins/vis-type-timeseries/public/application/components/_vis_picker.scss diff --git a/src/plugins/vis_type_timeseries/public/application/components/_vis_with_splits.scss b/src/plugins/vis-type-timeseries/public/application/components/_vis_with_splits.scss similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/_vis_with_splits.scss rename to src/plugins/vis-type-timeseries/public/application/components/_vis_with_splits.scss diff --git a/src/plugins/vis_type_timeseries/public/application/components/add_delete_buttons.test.tsx b/src/plugins/vis-type-timeseries/public/application/components/add_delete_buttons.test.tsx similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/add_delete_buttons.test.tsx rename to src/plugins/vis-type-timeseries/public/application/components/add_delete_buttons.test.tsx diff --git a/src/plugins/vis_type_timeseries/public/application/components/add_delete_buttons.tsx b/src/plugins/vis-type-timeseries/public/application/components/add_delete_buttons.tsx similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/add_delete_buttons.tsx rename to src/plugins/vis-type-timeseries/public/application/components/add_delete_buttons.tsx diff --git a/src/plugins/vis_type_timeseries/public/application/components/aggs/_agg_row.scss b/src/plugins/vis-type-timeseries/public/application/components/aggs/_agg_row.scss similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/aggs/_agg_row.scss rename to src/plugins/vis-type-timeseries/public/application/components/aggs/_agg_row.scss diff --git a/src/plugins/vis_type_timeseries/public/application/components/aggs/_index.scss b/src/plugins/vis-type-timeseries/public/application/components/aggs/_index.scss similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/aggs/_index.scss rename to src/plugins/vis-type-timeseries/public/application/components/aggs/_index.scss diff --git a/src/plugins/vis_type_timeseries/public/application/components/aggs/agg.tsx b/src/plugins/vis-type-timeseries/public/application/components/aggs/agg.tsx similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/aggs/agg.tsx rename to src/plugins/vis-type-timeseries/public/application/components/aggs/agg.tsx diff --git a/src/plugins/vis_type_timeseries/public/application/components/aggs/agg_row.tsx b/src/plugins/vis-type-timeseries/public/application/components/aggs/agg_row.tsx similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/aggs/agg_row.tsx rename to src/plugins/vis-type-timeseries/public/application/components/aggs/agg_row.tsx diff --git a/src/plugins/vis_type_timeseries/public/application/components/aggs/agg_select.test.tsx b/src/plugins/vis-type-timeseries/public/application/components/aggs/agg_select.test.tsx similarity index 98% rename from src/plugins/vis_type_timeseries/public/application/components/aggs/agg_select.test.tsx rename to src/plugins/vis-type-timeseries/public/application/components/aggs/agg_select.test.tsx index fe046be506f1..93dec804027c 100644 --- a/src/plugins/vis_type_timeseries/public/application/components/aggs/agg_select.test.tsx +++ b/src/plugins/vis-type-timeseries/public/application/components/aggs/agg_select.test.tsx @@ -33,7 +33,7 @@ import React from 'react'; import { mountWithIntl } from 'test_utils/enzyme_helpers'; import { AggSelect } from './agg_select'; -import { METRIC, SERIES } from '../../../test_utils'; +import { METRIC, SERIES } from '../../../test-utils'; import { EuiComboBox } from '@elastic/eui'; describe('TSVB AggSelect', () => { diff --git a/src/plugins/vis_type_timeseries/public/application/components/aggs/agg_select.tsx b/src/plugins/vis-type-timeseries/public/application/components/aggs/agg_select.tsx similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/aggs/agg_select.tsx rename to src/plugins/vis-type-timeseries/public/application/components/aggs/agg_select.tsx diff --git a/src/plugins/vis_type_timeseries/public/application/components/aggs/aggs.tsx b/src/plugins/vis-type-timeseries/public/application/components/aggs/aggs.tsx similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/aggs/aggs.tsx rename to src/plugins/vis-type-timeseries/public/application/components/aggs/aggs.tsx diff --git a/src/plugins/vis_type_timeseries/public/application/components/aggs/calculation.js b/src/plugins/vis-type-timeseries/public/application/components/aggs/calculation.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/aggs/calculation.js rename to src/plugins/vis-type-timeseries/public/application/components/aggs/calculation.js diff --git a/src/plugins/vis_type_timeseries/public/application/components/aggs/cumulative_sum.js b/src/plugins/vis-type-timeseries/public/application/components/aggs/cumulative_sum.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/aggs/cumulative_sum.js rename to src/plugins/vis-type-timeseries/public/application/components/aggs/cumulative_sum.js diff --git a/src/plugins/vis_type_timeseries/public/application/components/aggs/derivative.js b/src/plugins/vis-type-timeseries/public/application/components/aggs/derivative.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/aggs/derivative.js rename to src/plugins/vis-type-timeseries/public/application/components/aggs/derivative.js diff --git a/src/plugins/vis_type_timeseries/public/application/components/aggs/field_select.js b/src/plugins/vis-type-timeseries/public/application/components/aggs/field_select.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/aggs/field_select.js rename to src/plugins/vis-type-timeseries/public/application/components/aggs/field_select.js diff --git a/src/plugins/vis_type_timeseries/public/application/components/aggs/filter_ratio.js b/src/plugins/vis-type-timeseries/public/application/components/aggs/filter_ratio.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/aggs/filter_ratio.js rename to src/plugins/vis-type-timeseries/public/application/components/aggs/filter_ratio.js diff --git a/src/plugins/vis_type_timeseries/public/application/components/aggs/filter_ratio.test.js b/src/plugins/vis-type-timeseries/public/application/components/aggs/filter_ratio.test.js similarity index 98% rename from src/plugins/vis_type_timeseries/public/application/components/aggs/filter_ratio.test.js rename to src/plugins/vis-type-timeseries/public/application/components/aggs/filter_ratio.test.js index 4fa7938604a1..79ff12813b5c 100644 --- a/src/plugins/vis_type_timeseries/public/application/components/aggs/filter_ratio.test.js +++ b/src/plugins/vis-type-timeseries/public/application/components/aggs/filter_ratio.test.js @@ -33,7 +33,7 @@ import React from 'react'; import { mountWithIntl } from 'test_utils/enzyme_helpers'; import { FilterRatioAgg } from './filter_ratio'; -import { FIELDS, METRIC, SERIES, PANEL } from '../../../test_utils'; +import { FIELDS, METRIC, SERIES, PANEL } from '../../../test-utils'; import { EuiComboBox } from '@elastic/eui'; import { dataPluginMock } from '../../../../../data/public/mocks'; import { setDataStart } from '../../../services'; diff --git a/src/plugins/vis_type_timeseries/public/application/components/aggs/histogram_support.test.js b/src/plugins/vis-type-timeseries/public/application/components/aggs/histogram_support.test.js similarity index 98% rename from src/plugins/vis_type_timeseries/public/application/components/aggs/histogram_support.test.js rename to src/plugins/vis-type-timeseries/public/application/components/aggs/histogram_support.test.js index 4caf82d95e87..a01578f0c829 100644 --- a/src/plugins/vis_type_timeseries/public/application/components/aggs/histogram_support.test.js +++ b/src/plugins/vis-type-timeseries/public/application/components/aggs/histogram_support.test.js @@ -34,7 +34,7 @@ import React from 'react'; import { mountWithIntl } from 'test_utils/enzyme_helpers'; import { Agg } from './agg'; import { FieldSelect } from './field_select'; -import { FIELDS, METRIC, SERIES, PANEL } from '../../../test_utils'; +import { FIELDS, METRIC, SERIES, PANEL } from '../../../test-utils'; import { setDataStart } from '../../../services'; import { dataPluginMock } from '../../../../../data/public/mocks'; diff --git a/src/plugins/vis_type_timeseries/public/application/components/aggs/math.js b/src/plugins/vis-type-timeseries/public/application/components/aggs/math.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/aggs/math.js rename to src/plugins/vis-type-timeseries/public/application/components/aggs/math.js diff --git a/src/plugins/vis_type_timeseries/public/application/components/aggs/metric_select.js b/src/plugins/vis-type-timeseries/public/application/components/aggs/metric_select.js similarity index 93% rename from src/plugins/vis_type_timeseries/public/application/components/aggs/metric_select.js rename to src/plugins/vis-type-timeseries/public/application/components/aggs/metric_select.js index 2663d11db151..6a7510427d51 100644 --- a/src/plugins/vis_type_timeseries/public/application/components/aggs/metric_select.js +++ b/src/plugins/vis-type-timeseries/public/application/components/aggs/metric_select.js @@ -36,10 +36,10 @@ import { includes } from 'lodash'; import { injectI18n } from '@osd/i18n/react'; import { EuiComboBox } from '@elastic/eui'; import { calculateSiblings } from '../lib/calculate_siblings'; -import { calculateLabel } from '../../../../../../plugins/vis_type_timeseries/common/calculate_label'; -import { basicAggs } from '../../../../../../plugins/vis_type_timeseries/common/basic_aggs'; -import { toPercentileNumber } from '../../../../../../plugins/vis_type_timeseries/common/to_percentile_number'; -import { METRIC_TYPES } from '../../../../../../plugins/vis_type_timeseries/common/metric_types'; +import { calculateLabel } from '../../../../../../plugins/vis-type-timeseries/common/calculate_label'; +import { basicAggs } from '../../../../../../plugins/vis-type-timeseries/common/basic_aggs'; +import { toPercentileNumber } from '../../../../../../plugins/vis-type-timeseries/common/to_percentile_number'; +import { METRIC_TYPES } from '../../../../../../plugins/vis-type-timeseries/common/metric_types'; function createTypeFilter(restrict, exclude) { return (metric) => { diff --git a/src/plugins/vis_type_timeseries/public/application/components/aggs/moving_average.js b/src/plugins/vis-type-timeseries/public/application/components/aggs/moving_average.js similarity index 99% rename from src/plugins/vis_type_timeseries/public/application/components/aggs/moving_average.js rename to src/plugins/vis-type-timeseries/public/application/components/aggs/moving_average.js index 2a795e820c19..772e83efac3f 100644 --- a/src/plugins/vis_type_timeseries/public/application/components/aggs/moving_average.js +++ b/src/plugins/vis-type-timeseries/public/application/components/aggs/moving_average.js @@ -49,7 +49,7 @@ import { EuiFieldNumber, } from '@elastic/eui'; import { i18n } from '@osd/i18n'; -import { MODEL_TYPES } from '../../../../../../plugins/vis_type_timeseries/common/model_options'; +import { MODEL_TYPES } from '../../../../../../plugins/vis-type-timeseries/common/model_options'; const DEFAULTS = { model_type: MODEL_TYPES.UNWEIGHTED, diff --git a/src/plugins/vis_type_timeseries/public/application/components/aggs/percentile_rank/index.js b/src/plugins/vis-type-timeseries/public/application/components/aggs/percentile-rank/index.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/aggs/percentile_rank/index.js rename to src/plugins/vis-type-timeseries/public/application/components/aggs/percentile-rank/index.js diff --git a/src/plugins/vis_type_timeseries/public/application/components/aggs/percentile_rank/multi_value_row.tsx b/src/plugins/vis-type-timeseries/public/application/components/aggs/percentile-rank/multi_value_row.tsx similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/aggs/percentile_rank/multi_value_row.tsx rename to src/plugins/vis-type-timeseries/public/application/components/aggs/percentile-rank/multi_value_row.tsx diff --git a/src/plugins/vis_type_timeseries/public/application/components/aggs/percentile_rank/percentile_rank.tsx b/src/plugins/vis-type-timeseries/public/application/components/aggs/percentile-rank/percentile_rank.tsx similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/aggs/percentile_rank/percentile_rank.tsx rename to src/plugins/vis-type-timeseries/public/application/components/aggs/percentile-rank/percentile_rank.tsx diff --git a/src/plugins/vis_type_timeseries/public/application/components/aggs/percentile_rank/percentile_rank_values.tsx b/src/plugins/vis-type-timeseries/public/application/components/aggs/percentile-rank/percentile_rank_values.tsx similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/aggs/percentile_rank/percentile_rank_values.tsx rename to src/plugins/vis-type-timeseries/public/application/components/aggs/percentile-rank/percentile_rank_values.tsx diff --git a/src/plugins/vis_type_timeseries/public/application/components/aggs/percentile.js b/src/plugins/vis-type-timeseries/public/application/components/aggs/percentile.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/aggs/percentile.js rename to src/plugins/vis-type-timeseries/public/application/components/aggs/percentile.js diff --git a/src/plugins/vis_type_timeseries/public/application/components/aggs/percentile_ui.js b/src/plugins/vis-type-timeseries/public/application/components/aggs/percentile_ui.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/aggs/percentile_ui.js rename to src/plugins/vis-type-timeseries/public/application/components/aggs/percentile_ui.js diff --git a/src/plugins/vis_type_timeseries/public/application/components/aggs/positive_only.js b/src/plugins/vis-type-timeseries/public/application/components/aggs/positive_only.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/aggs/positive_only.js rename to src/plugins/vis-type-timeseries/public/application/components/aggs/positive_only.js diff --git a/src/plugins/vis_type_timeseries/public/application/components/aggs/positive_rate.js b/src/plugins/vis-type-timeseries/public/application/components/aggs/positive_rate.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/aggs/positive_rate.js rename to src/plugins/vis-type-timeseries/public/application/components/aggs/positive_rate.js diff --git a/src/plugins/vis_type_timeseries/public/application/components/aggs/serial_diff.js b/src/plugins/vis-type-timeseries/public/application/components/aggs/serial_diff.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/aggs/serial_diff.js rename to src/plugins/vis-type-timeseries/public/application/components/aggs/serial_diff.js diff --git a/src/plugins/vis_type_timeseries/public/application/components/aggs/series_agg.js b/src/plugins/vis-type-timeseries/public/application/components/aggs/series_agg.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/aggs/series_agg.js rename to src/plugins/vis-type-timeseries/public/application/components/aggs/series_agg.js diff --git a/src/plugins/vis_type_timeseries/public/application/components/aggs/static.js b/src/plugins/vis-type-timeseries/public/application/components/aggs/static.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/aggs/static.js rename to src/plugins/vis-type-timeseries/public/application/components/aggs/static.js diff --git a/src/plugins/vis_type_timeseries/public/application/components/aggs/std_agg.js b/src/plugins/vis-type-timeseries/public/application/components/aggs/std_agg.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/aggs/std_agg.js rename to src/plugins/vis-type-timeseries/public/application/components/aggs/std_agg.js diff --git a/src/plugins/vis_type_timeseries/public/application/components/aggs/std_deviation.js b/src/plugins/vis-type-timeseries/public/application/components/aggs/std_deviation.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/aggs/std_deviation.js rename to src/plugins/vis-type-timeseries/public/application/components/aggs/std_deviation.js diff --git a/src/plugins/vis_type_timeseries/public/application/components/aggs/std_sibling.js b/src/plugins/vis-type-timeseries/public/application/components/aggs/std_sibling.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/aggs/std_sibling.js rename to src/plugins/vis-type-timeseries/public/application/components/aggs/std_sibling.js diff --git a/src/plugins/vis_type_timeseries/public/application/components/aggs/temporary_unsupported_agg.tsx b/src/plugins/vis-type-timeseries/public/application/components/aggs/temporary_unsupported_agg.tsx similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/aggs/temporary_unsupported_agg.tsx rename to src/plugins/vis-type-timeseries/public/application/components/aggs/temporary_unsupported_agg.tsx diff --git a/src/plugins/vis_type_timeseries/public/application/components/aggs/top_hit.js b/src/plugins/vis-type-timeseries/public/application/components/aggs/top_hit.js similarity index 99% rename from src/plugins/vis_type_timeseries/public/application/components/aggs/top_hit.js rename to src/plugins/vis-type-timeseries/public/application/components/aggs/top_hit.js index b09403125802..623dddb46b2f 100644 --- a/src/plugins/vis_type_timeseries/public/application/components/aggs/top_hit.js +++ b/src/plugins/vis-type-timeseries/public/application/components/aggs/top_hit.js @@ -49,7 +49,7 @@ import { } from '@elastic/eui'; import { injectI18n, FormattedMessage } from '@osd/i18n/react'; import { OSD_FIELD_TYPES } from '../../../../../../plugins/data/public'; -import { PANEL_TYPES } from '../../../../../../plugins/vis_type_timeseries/common/panel_types'; +import { PANEL_TYPES } from '../../../../../../plugins/vis-type-timeseries/common/panel_types'; const isFieldTypeEnabled = (fieldRestrictions, fieldType) => fieldRestrictions.length ? fieldRestrictions.includes(fieldType) : true; diff --git a/src/plugins/vis_type_timeseries/public/application/components/aggs/unsupported_agg.tsx b/src/plugins/vis-type-timeseries/public/application/components/aggs/unsupported_agg.tsx similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/aggs/unsupported_agg.tsx rename to src/plugins/vis-type-timeseries/public/application/components/aggs/unsupported_agg.tsx diff --git a/src/plugins/vis_type_timeseries/public/application/components/aggs/vars.js b/src/plugins/vis-type-timeseries/public/application/components/aggs/vars.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/aggs/vars.js rename to src/plugins/vis-type-timeseries/public/application/components/aggs/vars.js diff --git a/src/plugins/vis_type_timeseries/public/application/components/annotations_editor.js b/src/plugins/vis-type-timeseries/public/application/components/annotations_editor.js similarity index 99% rename from src/plugins/vis_type_timeseries/public/application/components/annotations_editor.js rename to src/plugins/vis-type-timeseries/public/application/components/annotations_editor.js index 39bc0e177c76..604712befd8b 100644 --- a/src/plugins/vis_type_timeseries/public/application/components/annotations_editor.js +++ b/src/plugins/vis-type-timeseries/public/application/components/annotations_editor.js @@ -39,7 +39,7 @@ import { AddDeleteButtons } from './add_delete_buttons'; import { ColorPicker } from './color_picker'; import { FieldSelect } from './aggs/field_select'; import uuid from 'uuid'; -import { IconSelect } from './icon_select/icon_select'; +import { IconSelect } from './icon-select/icon_select'; import { YesNo } from './yes_no'; import { QueryBarWrapper } from './query_bar_wrapper'; import { getDefaultQueryLanguage } from './lib/get_default_query_language'; diff --git a/src/plugins/vis_type_timeseries/public/application/components/color_picker.test.tsx b/src/plugins/vis-type-timeseries/public/application/components/color_picker.test.tsx similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/color_picker.test.tsx rename to src/plugins/vis-type-timeseries/public/application/components/color_picker.test.tsx diff --git a/src/plugins/vis_type_timeseries/public/application/components/color_picker.tsx b/src/plugins/vis-type-timeseries/public/application/components/color_picker.tsx similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/color_picker.tsx rename to src/plugins/vis-type-timeseries/public/application/components/color_picker.tsx diff --git a/src/plugins/vis_type_timeseries/public/application/components/color_rules.js b/src/plugins/vis-type-timeseries/public/application/components/color_rules.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/color_rules.js rename to src/plugins/vis-type-timeseries/public/application/components/color_rules.js diff --git a/src/plugins/vis_type_timeseries/public/application/components/color_rules.test.js b/src/plugins/vis-type-timeseries/public/application/components/color_rules.test.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/color_rules.test.js rename to src/plugins/vis-type-timeseries/public/application/components/color_rules.test.js diff --git a/src/plugins/vis_type_timeseries/public/application/components/data_format_picker.js b/src/plugins/vis-type-timeseries/public/application/components/data_format_picker.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/data_format_picker.js rename to src/plugins/vis-type-timeseries/public/application/components/data_format_picker.js diff --git a/src/plugins/vis_type_timeseries/public/application/components/error.js b/src/plugins/vis-type-timeseries/public/application/components/error.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/error.js rename to src/plugins/vis-type-timeseries/public/application/components/error.js diff --git a/src/plugins/vis_type_timeseries/public/application/components/icon_select/__snapshots__/icon_select.test.js.snap b/src/plugins/vis-type-timeseries/public/application/components/icon-select/__snapshots__/icon_select.test.js.snap similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/icon_select/__snapshots__/icon_select.test.js.snap rename to src/plugins/vis-type-timeseries/public/application/components/icon-select/__snapshots__/icon_select.test.js.snap diff --git a/src/plugins/vis_type_timeseries/public/application/components/icon_select/icon_select.js b/src/plugins/vis-type-timeseries/public/application/components/icon-select/icon_select.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/icon_select/icon_select.js rename to src/plugins/vis-type-timeseries/public/application/components/icon-select/icon_select.js diff --git a/src/plugins/vis_type_timeseries/public/application/components/icon_select/icon_select.test.js b/src/plugins/vis-type-timeseries/public/application/components/icon-select/icon_select.test.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/icon_select/icon_select.test.js rename to src/plugins/vis-type-timeseries/public/application/components/icon-select/icon_select.test.js diff --git a/src/plugins/vis_type_timeseries/public/application/components/index_pattern.js b/src/plugins/vis-type-timeseries/public/application/components/index_pattern.js similarity index 98% rename from src/plugins/vis_type_timeseries/public/application/components/index_pattern.js rename to src/plugins/vis-type-timeseries/public/application/components/index_pattern.js index 50decf1dbc03..7a26c17bca1f 100644 --- a/src/plugins/vis_type_timeseries/public/application/components/index_pattern.js +++ b/src/plugins/vis-type-timeseries/public/application/components/index_pattern.js @@ -58,8 +58,8 @@ import { i18n } from '@osd/i18n'; import { TIME_RANGE_DATA_MODES, TIME_RANGE_MODE_KEY, -} from '../../../../../plugins/vis_type_timeseries/common/timerange_data_modes'; -import { PANEL_TYPES } from '../../../../../plugins/vis_type_timeseries/common/panel_types'; +} from '../../../../../plugins/vis-type-timeseries/common/timerange_data_modes'; +import { PANEL_TYPES } from '../../../../../plugins/vis-type-timeseries/common/panel_types'; import { isTimerangeModeEnabled } from '../lib/check_ui_restrictions'; import { VisDataContext } from '../contexts/vis_data_context'; diff --git a/src/plugins/vis_type_timeseries/public/application/components/lib/agg_to_component.js b/src/plugins/vis-type-timeseries/public/application/components/lib/agg_to_component.js similarity index 97% rename from src/plugins/vis_type_timeseries/public/application/components/lib/agg_to_component.js rename to src/plugins/vis-type-timeseries/public/application/components/lib/agg_to_component.js index 560e427f1d2a..cf76a567f123 100644 --- a/src/plugins/vis_type_timeseries/public/application/components/lib/agg_to_component.js +++ b/src/plugins/vis-type-timeseries/public/application/components/lib/agg_to_component.js @@ -42,7 +42,7 @@ import { SeriesAgg } from '../aggs/series_agg'; import { SerialDiffAgg } from '../aggs/serial_diff'; import { PositiveOnlyAgg } from '../aggs/positive_only'; import { FilterRatioAgg } from '../aggs/filter_ratio'; -import { PercentileRankAgg } from '../aggs/percentile_rank'; +import { PercentileRankAgg } from '../aggs/percentile-rank'; import { Static } from '../aggs/static'; import { MathAgg } from '../aggs/math'; import { TopHitAgg } from '../aggs/top_hit'; diff --git a/src/plugins/vis_type_timeseries/public/application/components/lib/calculate_siblings.js b/src/plugins/vis-type-timeseries/public/application/components/lib/calculate_siblings.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/lib/calculate_siblings.js rename to src/plugins/vis-type-timeseries/public/application/components/lib/calculate_siblings.js diff --git a/src/plugins/vis_type_timeseries/public/application/components/lib/calculate_siblings.test.js b/src/plugins/vis-type-timeseries/public/application/components/lib/calculate_siblings.test.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/lib/calculate_siblings.test.js rename to src/plugins/vis-type-timeseries/public/application/components/lib/calculate_siblings.test.js diff --git a/src/plugins/vis_type_timeseries/public/application/components/lib/collection_actions.js b/src/plugins/vis-type-timeseries/public/application/components/lib/collection_actions.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/lib/collection_actions.js rename to src/plugins/vis-type-timeseries/public/application/components/lib/collection_actions.js diff --git a/src/plugins/vis_type_timeseries/public/application/components/lib/collection_actions.test.js b/src/plugins/vis-type-timeseries/public/application/components/lib/collection_actions.test.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/lib/collection_actions.test.js rename to src/plugins/vis-type-timeseries/public/application/components/lib/collection_actions.test.js diff --git a/src/plugins/vis_type_timeseries/public/application/components/lib/convert_series_to_vars.js b/src/plugins/vis-type-timeseries/public/application/components/lib/convert_series_to_vars.js similarity index 96% rename from src/plugins/vis_type_timeseries/public/application/components/lib/convert_series_to_vars.js rename to src/plugins/vis-type-timeseries/public/application/components/lib/convert_series_to_vars.js index 83a33d45e610..917450926a20 100644 --- a/src/plugins/vis_type_timeseries/public/application/components/lib/convert_series_to_vars.js +++ b/src/plugins/vis-type-timeseries/public/application/components/lib/convert_series_to_vars.js @@ -32,7 +32,7 @@ import { set } from '@elastic/safer-lodash-set'; import _ from 'lodash'; -import { getLastValue } from '../../../../../../plugins/vis_type_timeseries/common/get_last_value'; +import { getLastValue } from '../../../../../../plugins/vis-type-timeseries/common/get_last_value'; import { createTickFormatter } from './tick_formatter'; import moment from 'moment'; diff --git a/src/plugins/vis_type_timeseries/public/application/components/lib/convert_series_to_vars.test.js b/src/plugins/vis-type-timeseries/public/application/components/lib/convert_series_to_vars.test.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/lib/convert_series_to_vars.test.js rename to src/plugins/vis-type-timeseries/public/application/components/lib/convert_series_to_vars.test.js diff --git a/src/plugins/vis_type_timeseries/public/application/components/lib/create_change_handler.js b/src/plugins/vis-type-timeseries/public/application/components/lib/create_change_handler.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/lib/create_change_handler.js rename to src/plugins/vis-type-timeseries/public/application/components/lib/create_change_handler.js diff --git a/src/plugins/vis_type_timeseries/public/application/components/lib/create_number_handler.js b/src/plugins/vis-type-timeseries/public/application/components/lib/create_number_handler.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/lib/create_number_handler.js rename to src/plugins/vis-type-timeseries/public/application/components/lib/create_number_handler.js diff --git a/src/plugins/vis_type_timeseries/public/application/components/lib/create_number_handler.test.js b/src/plugins/vis-type-timeseries/public/application/components/lib/create_number_handler.test.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/lib/create_number_handler.test.js rename to src/plugins/vis-type-timeseries/public/application/components/lib/create_number_handler.test.js diff --git a/src/plugins/vis_type_timeseries/public/application/components/lib/create_select_handler.js b/src/plugins/vis-type-timeseries/public/application/components/lib/create_select_handler.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/lib/create_select_handler.js rename to src/plugins/vis-type-timeseries/public/application/components/lib/create_select_handler.js diff --git a/src/plugins/vis_type_timeseries/public/application/components/lib/create_select_handler.test.js b/src/plugins/vis-type-timeseries/public/application/components/lib/create_select_handler.test.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/lib/create_select_handler.test.js rename to src/plugins/vis-type-timeseries/public/application/components/lib/create_select_handler.test.js diff --git a/src/plugins/vis_type_timeseries/public/application/components/lib/create_text_handler.js b/src/plugins/vis-type-timeseries/public/application/components/lib/create_text_handler.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/lib/create_text_handler.js rename to src/plugins/vis-type-timeseries/public/application/components/lib/create_text_handler.js diff --git a/src/plugins/vis_type_timeseries/public/application/components/lib/create_text_handler.test.js b/src/plugins/vis-type-timeseries/public/application/components/lib/create_text_handler.test.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/lib/create_text_handler.test.js rename to src/plugins/vis-type-timeseries/public/application/components/lib/create_text_handler.test.js diff --git a/src/plugins/vis_type_timeseries/public/application/components/lib/create_xaxis_formatter.js b/src/plugins/vis-type-timeseries/public/application/components/lib/create_xaxis_formatter.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/lib/create_xaxis_formatter.js rename to src/plugins/vis-type-timeseries/public/application/components/lib/create_xaxis_formatter.js diff --git a/src/plugins/vis_type_timeseries/public/application/components/lib/detect_ie.js b/src/plugins/vis-type-timeseries/public/application/components/lib/detect_ie.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/lib/detect_ie.js rename to src/plugins/vis-type-timeseries/public/application/components/lib/detect_ie.js diff --git a/src/plugins/vis_type_timeseries/public/application/components/lib/durations.js b/src/plugins/vis-type-timeseries/public/application/components/lib/durations.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/lib/durations.js rename to src/plugins/vis-type-timeseries/public/application/components/lib/durations.js diff --git a/src/plugins/vis_type_timeseries/public/application/components/lib/durations.test.js b/src/plugins/vis-type-timeseries/public/application/components/lib/durations.test.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/lib/durations.test.js rename to src/plugins/vis-type-timeseries/public/application/components/lib/durations.test.js diff --git a/src/plugins/vis_type_timeseries/public/application/components/lib/get_axis_label_string.js b/src/plugins/vis-type-timeseries/public/application/components/lib/get_axis_label_string.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/lib/get_axis_label_string.js rename to src/plugins/vis-type-timeseries/public/application/components/lib/get_axis_label_string.js diff --git a/src/plugins/vis_type_timeseries/public/application/components/lib/get_axis_label_string.test.js b/src/plugins/vis-type-timeseries/public/application/components/lib/get_axis_label_string.test.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/lib/get_axis_label_string.test.js rename to src/plugins/vis-type-timeseries/public/application/components/lib/get_axis_label_string.test.js diff --git a/src/plugins/vis_type_timeseries/public/application/components/lib/get_default_query_language.js b/src/plugins/vis-type-timeseries/public/application/components/lib/get_default_query_language.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/lib/get_default_query_language.js rename to src/plugins/vis-type-timeseries/public/application/components/lib/get_default_query_language.js diff --git a/src/plugins/vis_type_timeseries/public/application/components/lib/get_display_name.js b/src/plugins/vis-type-timeseries/public/application/components/lib/get_display_name.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/lib/get_display_name.js rename to src/plugins/vis-type-timeseries/public/application/components/lib/get_display_name.js diff --git a/src/plugins/vis_type_timeseries/public/application/components/lib/get_interval.js b/src/plugins/vis-type-timeseries/public/application/components/lib/get_interval.js similarity index 97% rename from src/plugins/vis_type_timeseries/public/application/components/lib/get_interval.js rename to src/plugins/vis-type-timeseries/public/application/components/lib/get_interval.js index b09a09189346..f2c90341051d 100644 --- a/src/plugins/vis_type_timeseries/public/application/components/lib/get_interval.js +++ b/src/plugins/vis-type-timeseries/public/application/components/lib/get_interval.js @@ -34,7 +34,7 @@ import { i18n } from '@osd/i18n'; import { get } from 'lodash'; import { search } from '../../../../../../plugins/data/public'; const { parseOpenSearchInterval } = search.aggs; -import { GTE_INTERVAL_RE } from '../../../../../../plugins/vis_type_timeseries/common/interval_regexp'; +import { GTE_INTERVAL_RE } from '../../../../../../plugins/vis-type-timeseries/common/interval_regexp'; export const AUTO_INTERVAL = 'auto'; diff --git a/src/plugins/vis_type_timeseries/public/application/components/lib/get_supported_fields_by_metric_type.js b/src/plugins/vis-type-timeseries/public/application/components/lib/get_supported_fields_by_metric_type.js similarity index 94% rename from src/plugins/vis_type_timeseries/public/application/components/lib/get_supported_fields_by_metric_type.js rename to src/plugins/vis-type-timeseries/public/application/components/lib/get_supported_fields_by_metric_type.js index dc135f1ae21d..024facc5e21a 100644 --- a/src/plugins/vis_type_timeseries/public/application/components/lib/get_supported_fields_by_metric_type.js +++ b/src/plugins/vis-type-timeseries/public/application/components/lib/get_supported_fields_by_metric_type.js @@ -31,7 +31,7 @@ */ import { OSD_FIELD_TYPES } from '../../../../../../plugins/data/public'; -import { METRIC_TYPES } from '../../../../../../plugins/vis_type_timeseries/common/metric_types'; +import { METRIC_TYPES } from '../../../../../../plugins/vis-type-timeseries/common/metric_types'; export function getSupportedFieldsByMetricType(type) { switch (type) { diff --git a/src/plugins/vis_type_timeseries/public/application/components/lib/get_supported_fields_by_metric_type.test.js b/src/plugins/vis-type-timeseries/public/application/components/lib/get_supported_fields_by_metric_type.test.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/lib/get_supported_fields_by_metric_type.test.js rename to src/plugins/vis-type-timeseries/public/application/components/lib/get_supported_fields_by_metric_type.test.js diff --git a/src/plugins/vis_type_timeseries/public/application/components/lib/new_metric_agg_fn.ts b/src/plugins/vis-type-timeseries/public/application/components/lib/new_metric_agg_fn.ts similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/lib/new_metric_agg_fn.ts rename to src/plugins/vis-type-timeseries/public/application/components/lib/new_metric_agg_fn.ts diff --git a/src/plugins/vis_type_timeseries/public/application/components/lib/new_series_fn.js b/src/plugins/vis-type-timeseries/public/application/components/lib/new_series_fn.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/lib/new_series_fn.js rename to src/plugins/vis-type-timeseries/public/application/components/lib/new_series_fn.js diff --git a/src/plugins/vis_type_timeseries/public/application/components/lib/re_id_series.js b/src/plugins/vis-type-timeseries/public/application/components/lib/re_id_series.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/lib/re_id_series.js rename to src/plugins/vis-type-timeseries/public/application/components/lib/re_id_series.js diff --git a/src/plugins/vis_type_timeseries/public/application/components/lib/re_id_series.test.js b/src/plugins/vis-type-timeseries/public/application/components/lib/re_id_series.test.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/lib/re_id_series.test.js rename to src/plugins/vis-type-timeseries/public/application/components/lib/re_id_series.test.js diff --git a/src/plugins/vis_type_timeseries/public/application/components/lib/reorder.js b/src/plugins/vis-type-timeseries/public/application/components/lib/reorder.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/lib/reorder.js rename to src/plugins/vis-type-timeseries/public/application/components/lib/reorder.js diff --git a/src/plugins/vis_type_timeseries/public/application/components/lib/replace_vars.js b/src/plugins/vis-type-timeseries/public/application/components/lib/replace_vars.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/lib/replace_vars.js rename to src/plugins/vis-type-timeseries/public/application/components/lib/replace_vars.js diff --git a/src/plugins/vis_type_timeseries/public/application/components/lib/replace_vars.test.js b/src/plugins/vis-type-timeseries/public/application/components/lib/replace_vars.test.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/lib/replace_vars.test.js rename to src/plugins/vis-type-timeseries/public/application/components/lib/replace_vars.test.js diff --git a/src/plugins/vis_type_timeseries/public/application/components/lib/series_change_handler.js b/src/plugins/vis-type-timeseries/public/application/components/lib/series_change_handler.js similarity index 96% rename from src/plugins/vis_type_timeseries/public/application/components/lib/series_change_handler.js rename to src/plugins/vis-type-timeseries/public/application/components/lib/series_change_handler.js index e7df6ab12569..c6e4f2785a15 100644 --- a/src/plugins/vis_type_timeseries/public/application/components/lib/series_change_handler.js +++ b/src/plugins/vis-type-timeseries/public/application/components/lib/series_change_handler.js @@ -32,7 +32,7 @@ import _ from 'lodash'; import { newMetricAggFn } from './new_metric_agg_fn'; -import { isBasicAgg } from '../../../../../../plugins/vis_type_timeseries/common/agg_lookup'; +import { isBasicAgg } from '../../../../../../plugins/vis-type-timeseries/common/agg_lookup'; import { handleAdd, handleChange } from './collection_actions'; export const seriesChangeHandler = (props, items) => (doc) => { diff --git a/src/plugins/vis_type_timeseries/public/application/components/lib/stacked.js b/src/plugins/vis-type-timeseries/public/application/components/lib/stacked.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/lib/stacked.js rename to src/plugins/vis-type-timeseries/public/application/components/lib/stacked.js diff --git a/src/plugins/vis_type_timeseries/public/application/components/lib/tick_formatter.js b/src/plugins/vis-type-timeseries/public/application/components/lib/tick_formatter.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/lib/tick_formatter.js rename to src/plugins/vis-type-timeseries/public/application/components/lib/tick_formatter.js diff --git a/src/plugins/vis_type_timeseries/public/application/components/lib/tick_formatter.test.js b/src/plugins/vis-type-timeseries/public/application/components/lib/tick_formatter.test.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/lib/tick_formatter.test.js rename to src/plugins/vis-type-timeseries/public/application/components/lib/tick_formatter.test.js diff --git a/src/plugins/vis_type_timeseries/public/application/components/markdown_editor.js b/src/plugins/vis-type-timeseries/public/application/components/markdown_editor.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/markdown_editor.js rename to src/plugins/vis-type-timeseries/public/application/components/markdown_editor.js diff --git a/src/plugins/vis_type_timeseries/public/application/components/no_data.js b/src/plugins/vis-type-timeseries/public/application/components/no_data.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/no_data.js rename to src/plugins/vis-type-timeseries/public/application/components/no_data.js diff --git a/src/plugins/vis_type_timeseries/public/application/components/panel_config/_index.scss b/src/plugins/vis-type-timeseries/public/application/components/panel-config/_index.scss similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/panel_config/_index.scss rename to src/plugins/vis-type-timeseries/public/application/components/panel-config/_index.scss diff --git a/src/plugins/vis_type_timeseries/public/application/components/panel_config/_panel_config.scss b/src/plugins/vis-type-timeseries/public/application/components/panel-config/_panel_config.scss similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/panel_config/_panel_config.scss rename to src/plugins/vis-type-timeseries/public/application/components/panel-config/_panel_config.scss diff --git a/src/plugins/vis_type_timeseries/public/application/components/panel_config/gauge.js b/src/plugins/vis-type-timeseries/public/application/components/panel-config/gauge.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/panel_config/gauge.js rename to src/plugins/vis-type-timeseries/public/application/components/panel-config/gauge.js diff --git a/src/plugins/vis_type_timeseries/public/application/components/panel_config/gauge.test.js b/src/plugins/vis-type-timeseries/public/application/components/panel-config/gauge.test.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/panel_config/gauge.test.js rename to src/plugins/vis-type-timeseries/public/application/components/panel-config/gauge.test.js diff --git a/src/plugins/vis_type_timeseries/public/application/components/panel_config/markdown.js b/src/plugins/vis-type-timeseries/public/application/components/panel-config/markdown.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/panel_config/markdown.js rename to src/plugins/vis-type-timeseries/public/application/components/panel-config/markdown.js diff --git a/src/plugins/vis_type_timeseries/public/application/components/panel_config/metric.js b/src/plugins/vis-type-timeseries/public/application/components/panel-config/metric.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/panel_config/metric.js rename to src/plugins/vis-type-timeseries/public/application/components/panel-config/metric.js diff --git a/src/plugins/vis_type_timeseries/public/application/components/panel_config/table.js b/src/plugins/vis-type-timeseries/public/application/components/panel-config/table.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/panel_config/table.js rename to src/plugins/vis-type-timeseries/public/application/components/panel-config/table.js diff --git a/src/plugins/vis_type_timeseries/public/application/components/panel_config/timeseries.js b/src/plugins/vis-type-timeseries/public/application/components/panel-config/timeseries.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/panel_config/timeseries.js rename to src/plugins/vis-type-timeseries/public/application/components/panel-config/timeseries.js diff --git a/src/plugins/vis_type_timeseries/public/application/components/panel_config/top_n.js b/src/plugins/vis-type-timeseries/public/application/components/panel-config/top_n.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/panel_config/top_n.js rename to src/plugins/vis-type-timeseries/public/application/components/panel-config/top_n.js diff --git a/src/plugins/vis_type_timeseries/public/application/components/panel_config.js b/src/plugins/vis-type-timeseries/public/application/components/panel_config.js similarity index 88% rename from src/plugins/vis_type_timeseries/public/application/components/panel_config.js rename to src/plugins/vis-type-timeseries/public/application/components/panel_config.js index e487ee0aaa33..d6b3cb6a02a2 100644 --- a/src/plugins/vis_type_timeseries/public/application/components/panel_config.js +++ b/src/plugins/vis-type-timeseries/public/application/components/panel_config.js @@ -31,12 +31,12 @@ */ import PropTypes from 'prop-types'; import React, { useState, useEffect } from 'react'; -import { TimeseriesPanelConfig as timeseries } from './panel_config/timeseries'; -import { MetricPanelConfig as metric } from './panel_config/metric'; -import { TopNPanelConfig as topN } from './panel_config/top_n'; -import { TablePanelConfig as table } from './panel_config/table'; -import { GaugePanelConfig as gauge } from './panel_config/gauge'; -import { MarkdownPanelConfig as markdown } from './panel_config/markdown'; +import { TimeseriesPanelConfig as timeseries } from './panel-config/timeseries'; +import { MetricPanelConfig as metric } from './panel-config/metric'; +import { TopNPanelConfig as topN } from './panel-config/top_n'; +import { TablePanelConfig as table } from './panel-config/table'; +import { GaugePanelConfig as gauge } from './panel-config/gauge'; +import { MarkdownPanelConfig as markdown } from './panel-config/markdown'; import { FormattedMessage } from '@osd/i18n/react'; import { FormValidationContext } from '../contexts/form_validation_context'; diff --git a/src/plugins/vis_type_timeseries/public/application/components/query_bar_wrapper.js b/src/plugins/vis-type-timeseries/public/application/components/query_bar_wrapper.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/query_bar_wrapper.js rename to src/plugins/vis-type-timeseries/public/application/components/query_bar_wrapper.js diff --git a/src/plugins/vis_type_timeseries/public/application/components/series.js b/src/plugins/vis-type-timeseries/public/application/components/series.js similarity index 91% rename from src/plugins/vis_type_timeseries/public/application/components/series.js rename to src/plugins/vis-type-timeseries/public/application/components/series.js index 81560a537b51..2b96f874b1ad 100644 --- a/src/plugins/vis_type_timeseries/public/application/components/series.js +++ b/src/plugins/vis-type-timeseries/public/application/components/series.js @@ -34,12 +34,12 @@ import PropTypes from 'prop-types'; import React, { Component } from 'react'; import { assign, get } from 'lodash'; -import { TimeseriesSeries as timeseries } from './vis_types/timeseries/series'; -import { MetricSeries as metric } from './vis_types/metric/series'; -import { TopNSeries as topN } from './vis_types/top_n/series'; -import { TableSeries as table } from './vis_types/table/series'; -import { GaugeSeries as gauge } from './vis_types/gauge/series'; -import { MarkdownSeries as markdown } from './vis_types/markdown/series'; +import { TimeseriesSeries as timeseries } from './vis-types/timeseries/series'; +import { MetricSeries as metric } from './vis-types/metric/series'; +import { TopNSeries as topN } from './vis-types/top-n/series'; +import { TableSeries as table } from './vis-types/table/series'; +import { GaugeSeries as gauge } from './vis-types/gauge/series'; +import { MarkdownSeries as markdown } from './vis-types/markdown/series'; import { FormattedMessage } from '@osd/i18n/react'; import { VisDataContext } from '../contexts/vis_data_context'; diff --git a/src/plugins/vis_type_timeseries/public/application/components/series_config.js b/src/plugins/vis-type-timeseries/public/application/components/series_config.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/series_config.js rename to src/plugins/vis-type-timeseries/public/application/components/series_config.js diff --git a/src/plugins/vis_type_timeseries/public/application/components/series_drag_handler.tsx b/src/plugins/vis-type-timeseries/public/application/components/series_drag_handler.tsx similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/series_drag_handler.tsx rename to src/plugins/vis-type-timeseries/public/application/components/series_drag_handler.tsx diff --git a/src/plugins/vis_type_timeseries/public/application/components/series_editor.js b/src/plugins/vis-type-timeseries/public/application/components/series_editor.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/series_editor.js rename to src/plugins/vis-type-timeseries/public/application/components/series_editor.js diff --git a/src/plugins/vis_type_timeseries/public/application/components/split.js b/src/plugins/vis-type-timeseries/public/application/components/split.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/split.js rename to src/plugins/vis-type-timeseries/public/application/components/split.js diff --git a/src/plugins/vis_type_timeseries/public/application/components/splits/__snapshots__/terms.test.js.snap b/src/plugins/vis-type-timeseries/public/application/components/splits/__snapshots__/terms.test.js.snap similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/splits/__snapshots__/terms.test.js.snap rename to src/plugins/vis-type-timeseries/public/application/components/splits/__snapshots__/terms.test.js.snap diff --git a/src/plugins/vis_type_timeseries/public/application/components/splits/everything.js b/src/plugins/vis-type-timeseries/public/application/components/splits/everything.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/splits/everything.js rename to src/plugins/vis-type-timeseries/public/application/components/splits/everything.js diff --git a/src/plugins/vis_type_timeseries/public/application/components/splits/filter.js b/src/plugins/vis-type-timeseries/public/application/components/splits/filter.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/splits/filter.js rename to src/plugins/vis-type-timeseries/public/application/components/splits/filter.js diff --git a/src/plugins/vis_type_timeseries/public/application/components/splits/filter_items.js b/src/plugins/vis-type-timeseries/public/application/components/splits/filter_items.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/splits/filter_items.js rename to src/plugins/vis-type-timeseries/public/application/components/splits/filter_items.js diff --git a/src/plugins/vis_type_timeseries/public/application/components/splits/filters.js b/src/plugins/vis-type-timeseries/public/application/components/splits/filters.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/splits/filters.js rename to src/plugins/vis-type-timeseries/public/application/components/splits/filters.js diff --git a/src/plugins/vis_type_timeseries/public/application/components/splits/group_by_select.js b/src/plugins/vis-type-timeseries/public/application/components/splits/group_by_select.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/splits/group_by_select.js rename to src/plugins/vis-type-timeseries/public/application/components/splits/group_by_select.js diff --git a/src/plugins/vis_type_timeseries/public/application/components/splits/terms.js b/src/plugins/vis-type-timeseries/public/application/components/splits/terms.js similarity index 99% rename from src/plugins/vis_type_timeseries/public/application/components/splits/terms.js rename to src/plugins/vis-type-timeseries/public/application/components/splits/terms.js index 416741085719..346c38992496 100644 --- a/src/plugins/vis_type_timeseries/public/application/components/splits/terms.js +++ b/src/plugins/vis-type-timeseries/public/application/components/splits/terms.js @@ -49,7 +49,7 @@ import { EuiFieldText, } from '@elastic/eui'; import { injectI18n, FormattedMessage } from '@osd/i18n/react'; -import { FIELD_TYPES } from '../../../../../../plugins/vis_type_timeseries/common/field_types'; +import { FIELD_TYPES } from '../../../../../../plugins/vis-type-timeseries/common/field_types'; import { STACKED_OPTIONS } from '../../visualizations/constants'; const DEFAULTS = { terms_direction: 'desc', terms_size: 10, terms_order_by: '_count' }; diff --git a/src/plugins/vis_type_timeseries/public/application/components/splits/terms.test.js b/src/plugins/vis-type-timeseries/public/application/components/splits/terms.test.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/splits/terms.test.js rename to src/plugins/vis-type-timeseries/public/application/components/splits/terms.test.js diff --git a/src/plugins/vis_type_timeseries/public/application/components/splits/unsupported_split.js b/src/plugins/vis-type-timeseries/public/application/components/splits/unsupported_split.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/splits/unsupported_split.js rename to src/plugins/vis-type-timeseries/public/application/components/splits/unsupported_split.js diff --git a/src/plugins/vis_type_timeseries/public/application/components/svg/bomb_icon.js b/src/plugins/vis-type-timeseries/public/application/components/svg/bomb_icon.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/svg/bomb_icon.js rename to src/plugins/vis-type-timeseries/public/application/components/svg/bomb_icon.js diff --git a/src/plugins/vis_type_timeseries/public/application/components/svg/fire_icon.js b/src/plugins/vis-type-timeseries/public/application/components/svg/fire_icon.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/svg/fire_icon.js rename to src/plugins/vis-type-timeseries/public/application/components/svg/fire_icon.js diff --git a/src/plugins/vis_type_timeseries/public/application/components/vis_types/_index.scss b/src/plugins/vis-type-timeseries/public/application/components/vis-types/_index.scss similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/vis_types/_index.scss rename to src/plugins/vis-type-timeseries/public/application/components/vis-types/_index.scss diff --git a/src/plugins/vis_type_timeseries/public/application/components/vis_types/_vis_types.scss b/src/plugins/vis-type-timeseries/public/application/components/vis-types/_vis_types.scss similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/vis_types/_vis_types.scss rename to src/plugins/vis-type-timeseries/public/application/components/vis-types/_vis_types.scss diff --git a/src/plugins/vis_type_timeseries/public/application/components/vis_types/gauge/series.js b/src/plugins/vis-type-timeseries/public/application/components/vis-types/gauge/series.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/vis_types/gauge/series.js rename to src/plugins/vis-type-timeseries/public/application/components/vis-types/gauge/series.js diff --git a/src/plugins/vis_type_timeseries/public/application/components/vis_types/gauge/series.test.js b/src/plugins/vis-type-timeseries/public/application/components/vis-types/gauge/series.test.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/vis_types/gauge/series.test.js rename to src/plugins/vis-type-timeseries/public/application/components/vis-types/gauge/series.test.js diff --git a/src/plugins/vis_type_timeseries/public/application/components/vis_types/gauge/vis.js b/src/plugins/vis-type-timeseries/public/application/components/vis-types/gauge/vis.js similarity index 97% rename from src/plugins/vis_type_timeseries/public/application/components/vis_types/gauge/vis.js rename to src/plugins/vis-type-timeseries/public/application/components/vis-types/gauge/vis.js index 8ca40961b159..d7b6f8ec5b8a 100644 --- a/src/plugins/vis_type_timeseries/public/application/components/vis_types/gauge/vis.js +++ b/src/plugins/vis-type-timeseries/public/application/components/vis-types/gauge/vis.js @@ -36,7 +36,7 @@ import { visWithSplits } from '../../vis_with_splits'; import { createTickFormatter } from '../../lib/tick_formatter'; import _, { get, isUndefined, assign, includes } from 'lodash'; import { Gauge } from '../../../visualizations/views/gauge'; -import { getLastValue } from '../../../../../../../plugins/vis_type_timeseries/common/get_last_value'; +import { getLastValue } from '../../../../../../../plugins/vis-type-timeseries/common/get_last_value'; function getColors(props) { const { model, visData } = props; diff --git a/src/plugins/vis_type_timeseries/public/application/components/vis_types/markdown/_markdown.scss b/src/plugins/vis-type-timeseries/public/application/components/vis-types/markdown/_markdown.scss similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/vis_types/markdown/_markdown.scss rename to src/plugins/vis-type-timeseries/public/application/components/vis-types/markdown/_markdown.scss diff --git a/src/plugins/vis_type_timeseries/public/application/components/vis_types/markdown/series.js b/src/plugins/vis-type-timeseries/public/application/components/vis-types/markdown/series.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/vis_types/markdown/series.js rename to src/plugins/vis-type-timeseries/public/application/components/vis-types/markdown/series.js diff --git a/src/plugins/vis_type_timeseries/public/application/components/vis_types/markdown/vis.js b/src/plugins/vis-type-timeseries/public/application/components/vis-types/markdown/vis.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/vis_types/markdown/vis.js rename to src/plugins/vis-type-timeseries/public/application/components/vis-types/markdown/vis.js diff --git a/src/plugins/vis_type_timeseries/public/application/components/vis_types/metric/series.js b/src/plugins/vis-type-timeseries/public/application/components/vis-types/metric/series.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/vis_types/metric/series.js rename to src/plugins/vis-type-timeseries/public/application/components/vis-types/metric/series.js diff --git a/src/plugins/vis_type_timeseries/public/application/components/vis_types/metric/series.test.js b/src/plugins/vis-type-timeseries/public/application/components/vis-types/metric/series.test.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/vis_types/metric/series.test.js rename to src/plugins/vis-type-timeseries/public/application/components/vis-types/metric/series.test.js diff --git a/src/plugins/vis_type_timeseries/public/application/components/vis_types/metric/vis.js b/src/plugins/vis-type-timeseries/public/application/components/vis-types/metric/vis.js similarity index 97% rename from src/plugins/vis_type_timeseries/public/application/components/vis_types/metric/vis.js rename to src/plugins/vis-type-timeseries/public/application/components/vis-types/metric/vis.js index ad3e2f051c7a..2d9973610ca7 100644 --- a/src/plugins/vis_type_timeseries/public/application/components/vis_types/metric/vis.js +++ b/src/plugins/vis-type-timeseries/public/application/components/vis-types/metric/vis.js @@ -36,7 +36,7 @@ import { visWithSplits } from '../../vis_with_splits'; import { createTickFormatter } from '../../lib/tick_formatter'; import _, { get, isUndefined, assign, includes, pick } from 'lodash'; import { Metric } from '../../../visualizations/views/metric'; -import { getLastValue } from '../../../../../../../plugins/vis_type_timeseries/common/get_last_value'; +import { getLastValue } from '../../../../../../../plugins/vis-type-timeseries/common/get_last_value'; import { isBackgroundInverted } from '../../../lib/set_is_reversed'; function getColors(props) { diff --git a/src/plugins/vis_type_timeseries/public/application/components/vis_types/table/config.js b/src/plugins/vis-type-timeseries/public/application/components/vis-types/table/config.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/vis_types/table/config.js rename to src/plugins/vis-type-timeseries/public/application/components/vis-types/table/config.js diff --git a/src/plugins/vis_type_timeseries/public/application/components/vis_types/table/is_sortable.js b/src/plugins/vis-type-timeseries/public/application/components/vis-types/table/is_sortable.js similarity index 92% rename from src/plugins/vis_type_timeseries/public/application/components/vis_types/table/is_sortable.js rename to src/plugins/vis-type-timeseries/public/application/components/vis-types/table/is_sortable.js index b1486b205b9e..ee29f1f29c48 100644 --- a/src/plugins/vis_type_timeseries/public/application/components/vis_types/table/is_sortable.js +++ b/src/plugins/vis-type-timeseries/public/application/components/vis-types/table/is_sortable.js @@ -30,7 +30,7 @@ * GitHub history for details. */ -import { basicAggs } from '../../../../../../../plugins/vis_type_timeseries/common/basic_aggs'; +import { basicAggs } from '../../../../../../../plugins/vis-type-timeseries/common/basic_aggs'; export function isSortable(metric) { return basicAggs.includes(metric.type); diff --git a/src/plugins/vis_type_timeseries/public/application/components/vis_types/table/series.js b/src/plugins/vis-type-timeseries/public/application/components/vis-types/table/series.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/vis_types/table/series.js rename to src/plugins/vis-type-timeseries/public/application/components/vis-types/table/series.js diff --git a/src/plugins/vis_type_timeseries/public/application/components/vis_types/table/vis.js b/src/plugins/vis-type-timeseries/public/application/components/vis-types/table/vis.js similarity index 98% rename from src/plugins/vis_type_timeseries/public/application/components/vis_types/table/vis.js rename to src/plugins/vis-type-timeseries/public/application/components/vis-types/table/vis.js index e82bf0aea6c4..2daa0fa36b31 100644 --- a/src/plugins/vis_type_timeseries/public/application/components/vis_types/table/vis.js +++ b/src/plugins/vis-type-timeseries/public/application/components/vis-types/table/vis.js @@ -35,7 +35,7 @@ import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { RedirectAppLinks } from '../../../../../../opensearch_dashboards_react/public'; import { createTickFormatter } from '../../lib/tick_formatter'; -import { calculateLabel } from '../../../../../../../plugins/vis_type_timeseries/common/calculate_label'; +import { calculateLabel } from '../../../../../../../plugins/vis-type-timeseries/common/calculate_label'; import { isSortable } from './is_sortable'; import { EuiToolTip, EuiIcon } from '@elastic/eui'; import { replaceVars } from '../../lib/replace_vars'; @@ -43,7 +43,7 @@ import { fieldFormats } from '../../../../../../../plugins/data/public'; import { FormattedMessage } from '@osd/i18n/react'; import { getFieldFormats, getCoreStart } from '../../../../services'; -import { METRIC_TYPES } from '../../../../../../../plugins/vis_type_timeseries/common/metric_types'; +import { METRIC_TYPES } from '../../../../../../../plugins/vis-type-timeseries/common/metric_types'; function getColor(rules, colorKey, value) { let color; diff --git a/src/plugins/vis_type_timeseries/public/application/components/vis_types/timeseries/config.js b/src/plugins/vis-type-timeseries/public/application/components/vis-types/timeseries/config.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/vis_types/timeseries/config.js rename to src/plugins/vis-type-timeseries/public/application/components/vis-types/timeseries/config.js diff --git a/src/plugins/vis_type_timeseries/public/application/components/vis_types/timeseries/series.js b/src/plugins/vis-type-timeseries/public/application/components/vis-types/timeseries/series.js similarity index 98% rename from src/plugins/vis_type_timeseries/public/application/components/vis_types/timeseries/series.js rename to src/plugins/vis-type-timeseries/public/application/components/vis-types/timeseries/series.js index 5f068edcbf5a..e4bb330d0829 100644 --- a/src/plugins/vis_type_timeseries/public/application/components/vis_types/timeseries/series.js +++ b/src/plugins/vis-type-timeseries/public/application/components/vis-types/timeseries/series.js @@ -48,7 +48,7 @@ import { import { Split } from '../../split'; import { createTextHandler } from '../../lib/create_text_handler'; import { FormattedMessage, injectI18n } from '@osd/i18n/react'; -import { PANEL_TYPES } from '../../../../../../../plugins/vis_type_timeseries/common/panel_types'; +import { PANEL_TYPES } from '../../../../../../../plugins/vis-type-timeseries/common/panel_types'; const TimeseriesSeriesUI = injectI18n(function (props) { const { diff --git a/src/plugins/vis_type_timeseries/public/application/components/vis_types/timeseries/vis.js b/src/plugins/vis-type-timeseries/public/application/components/vis-types/timeseries/vis.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/vis_types/timeseries/vis.js rename to src/plugins/vis-type-timeseries/public/application/components/vis-types/timeseries/vis.js diff --git a/src/plugins/vis_type_timeseries/public/application/components/vis_types/top_n/series.js b/src/plugins/vis-type-timeseries/public/application/components/vis-types/top-n/series.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/vis_types/top_n/series.js rename to src/plugins/vis-type-timeseries/public/application/components/vis-types/top-n/series.js diff --git a/src/plugins/vis_type_timeseries/public/application/components/vis_types/top_n/vis.js b/src/plugins/vis-type-timeseries/public/application/components/vis-types/top-n/vis.js similarity index 97% rename from src/plugins/vis_type_timeseries/public/application/components/vis_types/top_n/vis.js rename to src/plugins/vis-type-timeseries/public/application/components/vis-types/top-n/vis.js index 5a4641a6466b..9175e40c40fd 100644 --- a/src/plugins/vis_type_timeseries/public/application/components/vis_types/top_n/vis.js +++ b/src/plugins/vis-type-timeseries/public/application/components/vis-types/top-n/vis.js @@ -33,7 +33,7 @@ import { getCoreStart } from '../../../../services'; import { createTickFormatter } from '../../lib/tick_formatter'; import { TopN } from '../../../visualizations/views/top_n'; -import { getLastValue } from '../../../../../../../plugins/vis_type_timeseries/common/get_last_value'; +import { getLastValue } from '../../../../../../../plugins/vis-type-timeseries/common/get_last_value'; import { isBackgroundInverted } from '../../../lib/set_is_reversed'; import { replaceVars } from '../../lib/replace_vars'; import PropTypes from 'prop-types'; diff --git a/src/plugins/vis_type_timeseries/public/application/components/vis_editor.js b/src/plugins/vis-type-timeseries/public/application/components/vis_editor.js similarity index 99% rename from src/plugins/vis_type_timeseries/public/application/components/vis_editor.js rename to src/plugins/vis-type-timeseries/public/application/components/vis_editor.js index 4f7dfaf88dde..373188a887a2 100644 --- a/src/plugins/vis_type_timeseries/public/application/components/vis_editor.js +++ b/src/plugins/vis-type-timeseries/public/application/components/vis_editor.js @@ -41,7 +41,7 @@ import { VisPicker } from './vis_picker'; import { PanelConfig } from './panel_config'; import { createBrushHandler } from '../lib/create_brush_handler'; import { fetchFields } from '../lib/fetch_fields'; -import { extractIndexPatterns } from '../../../../../plugins/vis_type_timeseries/common/extract_index_patterns'; +import { extractIndexPatterns } from '../../../../../plugins/vis-type-timeseries/common/extract_index_patterns'; import { getSavedObjectsClient, getUISettings, getDataStart, getCoreStart } from '../../services'; import { CoreStartContextProvider } from '../contexts/query_input_bar_context'; diff --git a/src/plugins/vis_type_timeseries/public/application/components/vis_editor_lazy.tsx b/src/plugins/vis-type-timeseries/public/application/components/vis_editor_lazy.tsx similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/vis_editor_lazy.tsx rename to src/plugins/vis-type-timeseries/public/application/components/vis_editor_lazy.tsx diff --git a/src/plugins/vis_type_timeseries/public/application/components/vis_editor_visualization.js b/src/plugins/vis-type-timeseries/public/application/components/vis_editor_visualization.js similarity index 99% rename from src/plugins/vis_type_timeseries/public/application/components/vis_editor_visualization.js rename to src/plugins/vis-type-timeseries/public/application/components/vis_editor_visualization.js index 6a310351c669..0322ae852433 100644 --- a/src/plugins/vis_type_timeseries/public/application/components/vis_editor_visualization.js +++ b/src/plugins/vis-type-timeseries/public/application/components/vis_editor_visualization.js @@ -41,7 +41,7 @@ import { isGteInterval, AUTO_INTERVAL, } from './lib/get_interval'; -import { PANEL_TYPES } from '../../../../../plugins/vis_type_timeseries/common/panel_types'; +import { PANEL_TYPES } from '../../../../../plugins/vis-type-timeseries/common/panel_types'; const MIN_CHART_HEIGHT = 300; diff --git a/src/plugins/vis_type_timeseries/public/application/components/vis_picker.js b/src/plugins/vis-type-timeseries/public/application/components/vis_picker.js similarity index 98% rename from src/plugins/vis_type_timeseries/public/application/components/vis_picker.js rename to src/plugins/vis-type-timeseries/public/application/components/vis_picker.js index a809b2c62a2b..4895cda1261f 100644 --- a/src/plugins/vis_type_timeseries/public/application/components/vis_picker.js +++ b/src/plugins/vis-type-timeseries/public/application/components/vis_picker.js @@ -34,7 +34,7 @@ import PropTypes from 'prop-types'; import React from 'react'; import { EuiTabs, EuiTab } from '@elastic/eui'; import { injectI18n } from '@osd/i18n/react'; -import { PANEL_TYPES } from '../../../../../plugins/vis_type_timeseries/common/panel_types'; +import { PANEL_TYPES } from '../../../../../plugins/vis-type-timeseries/common/panel_types'; function VisPickerItem(props) { const { label, type, selected } = props; diff --git a/src/plugins/vis_type_timeseries/public/application/components/vis_with_splits.js b/src/plugins/vis-type-timeseries/public/application/components/vis_with_splits.js similarity index 98% rename from src/plugins/vis_type_timeseries/public/application/components/vis_with_splits.js rename to src/plugins/vis-type-timeseries/public/application/components/vis_with_splits.js index 84e3029b7dbd..619bb4e2adec 100644 --- a/src/plugins/vis_type_timeseries/public/application/components/vis_with_splits.js +++ b/src/plugins/vis-type-timeseries/public/application/components/vis_with_splits.js @@ -33,7 +33,7 @@ import React from 'react'; import { getDisplayName } from './lib/get_display_name'; import { last, findIndex, first } from 'lodash'; -import { calculateLabel } from '../../../../../plugins/vis_type_timeseries/common/calculate_label'; +import { calculateLabel } from '../../../../../plugins/vis-type-timeseries/common/calculate_label'; export function visWithSplits(WrappedComponent) { function SplitVisComponent(props) { diff --git a/src/plugins/vis_type_timeseries/public/application/components/visualization.js b/src/plugins/vis-type-timeseries/public/application/components/visualization.js similarity index 89% rename from src/plugins/vis_type_timeseries/public/application/components/visualization.js rename to src/plugins/vis-type-timeseries/public/application/components/visualization.js index 3ebd4beb4203..112d91295ff3 100644 --- a/src/plugins/vis_type_timeseries/public/application/components/visualization.js +++ b/src/plugins/vis-type-timeseries/public/application/components/visualization.js @@ -34,12 +34,12 @@ import PropTypes from 'prop-types'; import React from 'react'; import _ from 'lodash'; -import { TimeseriesVisualization } from './vis_types/timeseries/vis'; -import { metric } from './vis_types/metric/vis'; -import { TopNVisualization as topN } from './vis_types/top_n/vis'; -import { TableVis as table } from './vis_types/table/vis'; -import { gauge } from './vis_types/gauge/vis'; -import { MarkdownVisualization as markdown } from './vis_types/markdown/vis'; +import { TimeseriesVisualization } from './vis-types/timeseries/vis'; +import { metric } from './vis-types/metric/vis'; +import { TopNVisualization as topN } from './vis-types/top-n/vis'; +import { TableVis as table } from './vis-types/table/vis'; +import { gauge } from './vis-types/gauge/vis'; +import { MarkdownVisualization as markdown } from './vis-types/markdown/vis'; import { ErrorComponent } from './error'; import { NoDataComponent } from './no_data'; diff --git a/src/plugins/vis_type_timeseries/public/application/components/yes_no.js b/src/plugins/vis-type-timeseries/public/application/components/yes_no.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/yes_no.js rename to src/plugins/vis-type-timeseries/public/application/components/yes_no.js diff --git a/src/plugins/vis_type_timeseries/public/application/components/yes_no.test.js b/src/plugins/vis-type-timeseries/public/application/components/yes_no.test.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/yes_no.test.js rename to src/plugins/vis-type-timeseries/public/application/components/yes_no.test.js diff --git a/src/plugins/vis_type_timeseries/public/application/contexts/form_validation_context.js b/src/plugins/vis-type-timeseries/public/application/contexts/form_validation_context.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/contexts/form_validation_context.js rename to src/plugins/vis-type-timeseries/public/application/contexts/form_validation_context.js diff --git a/src/plugins/vis_type_timeseries/public/application/contexts/query_input_bar_context.ts b/src/plugins/vis-type-timeseries/public/application/contexts/query_input_bar_context.ts similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/contexts/query_input_bar_context.ts rename to src/plugins/vis-type-timeseries/public/application/contexts/query_input_bar_context.ts diff --git a/src/plugins/vis_type_timeseries/public/application/contexts/vis_data_context.js b/src/plugins/vis-type-timeseries/public/application/contexts/vis_data_context.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/contexts/vis_data_context.js rename to src/plugins/vis-type-timeseries/public/application/contexts/vis_data_context.js diff --git a/src/plugins/vis_type_timeseries/public/application/editor_controller.js b/src/plugins/vis-type-timeseries/public/application/editor_controller.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/editor_controller.js rename to src/plugins/vis-type-timeseries/public/application/editor_controller.js diff --git a/src/plugins/vis_type_timeseries/public/application/index.scss b/src/plugins/vis-type-timeseries/public/application/index.scss similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/index.scss rename to src/plugins/vis-type-timeseries/public/application/index.scss diff --git a/src/plugins/vis_type_timeseries/public/application/index.ts b/src/plugins/vis-type-timeseries/public/application/index.ts similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/index.ts rename to src/plugins/vis-type-timeseries/public/application/index.ts diff --git a/src/plugins/vis_type_timeseries/public/application/lib/check_ui_restrictions.js b/src/plugins/vis-type-timeseries/public/application/lib/check_ui_restrictions.js similarity index 98% rename from src/plugins/vis_type_timeseries/public/application/lib/check_ui_restrictions.js rename to src/plugins/vis-type-timeseries/public/application/lib/check_ui_restrictions.js index 8e0b0f61d133..eb54e933152f 100644 --- a/src/plugins/vis_type_timeseries/public/application/lib/check_ui_restrictions.js +++ b/src/plugins/vis-type-timeseries/public/application/lib/check_ui_restrictions.js @@ -34,7 +34,7 @@ import { get } from 'lodash'; import { RESTRICTIONS_KEYS, DEFAULT_UI_RESTRICTION, -} from '../../../../../plugins/vis_type_timeseries/common/ui_restrictions'; +} from '../../../../../plugins/vis-type-timeseries/common/ui_restrictions'; /** * Generic method for checking all types of the UI Restrictions diff --git a/src/plugins/vis_type_timeseries/public/application/lib/create_brush_handler.test.ts b/src/plugins/vis-type-timeseries/public/application/lib/create_brush_handler.test.ts similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/lib/create_brush_handler.test.ts rename to src/plugins/vis-type-timeseries/public/application/lib/create_brush_handler.test.ts diff --git a/src/plugins/vis_type_timeseries/public/application/lib/create_brush_handler.ts b/src/plugins/vis-type-timeseries/public/application/lib/create_brush_handler.ts similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/lib/create_brush_handler.ts rename to src/plugins/vis-type-timeseries/public/application/lib/create_brush_handler.ts diff --git a/src/plugins/vis_type_timeseries/public/application/lib/fetch_fields.js b/src/plugins/vis-type-timeseries/public/application/lib/fetch_fields.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/lib/fetch_fields.js rename to src/plugins/vis-type-timeseries/public/application/lib/fetch_fields.js diff --git a/src/plugins/vis_type_timeseries/public/application/lib/get_timezone.ts b/src/plugins/vis-type-timeseries/public/application/lib/get_timezone.ts similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/lib/get_timezone.ts rename to src/plugins/vis-type-timeseries/public/application/lib/get_timezone.ts diff --git a/src/plugins/vis_type_timeseries/public/application/lib/index.ts b/src/plugins/vis-type-timeseries/public/application/lib/index.ts similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/lib/index.ts rename to src/plugins/vis-type-timeseries/public/application/lib/index.ts diff --git a/src/plugins/vis_type_timeseries/public/application/lib/set_is_reversed.js b/src/plugins/vis-type-timeseries/public/application/lib/set_is_reversed.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/lib/set_is_reversed.js rename to src/plugins/vis-type-timeseries/public/application/lib/set_is_reversed.js diff --git a/src/plugins/vis_type_timeseries/public/application/lib/validate_interval.js b/src/plugins/vis-type-timeseries/public/application/lib/validate_interval.js similarity index 95% rename from src/plugins/vis_type_timeseries/public/application/lib/validate_interval.js rename to src/plugins/vis-type-timeseries/public/application/lib/validate_interval.js index 15dd3aff0b6b..167fa7febf3b 100644 --- a/src/plugins/vis_type_timeseries/public/application/lib/validate_interval.js +++ b/src/plugins/vis-type-timeseries/public/application/lib/validate_interval.js @@ -30,7 +30,7 @@ * GitHub history for details. */ -import { GTE_INTERVAL_RE } from '../../../../../plugins/vis_type_timeseries/common/interval_regexp'; +import { GTE_INTERVAL_RE } from '../../../../../plugins/vis-type-timeseries/common/interval_regexp'; import { i18n } from '@osd/i18n'; import { search } from '../../../../../plugins/data/public'; const { parseInterval } = search.aggs; diff --git a/src/plugins/vis_type_timeseries/public/application/visualizations/constants/chart.js b/src/plugins/vis-type-timeseries/public/application/visualizations/constants/chart.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/visualizations/constants/chart.js rename to src/plugins/vis-type-timeseries/public/application/visualizations/constants/chart.js diff --git a/src/plugins/vis_type_timeseries/public/application/visualizations/constants/icons.js b/src/plugins/vis-type-timeseries/public/application/visualizations/constants/icons.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/visualizations/constants/icons.js rename to src/plugins/vis-type-timeseries/public/application/visualizations/constants/icons.js diff --git a/src/plugins/vis_type_timeseries/public/application/visualizations/constants/index.js b/src/plugins/vis-type-timeseries/public/application/visualizations/constants/index.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/visualizations/constants/index.js rename to src/plugins/vis-type-timeseries/public/application/visualizations/constants/index.js diff --git a/src/plugins/vis_type_timeseries/public/application/visualizations/lib/active_cursor.js b/src/plugins/vis-type-timeseries/public/application/visualizations/lib/active_cursor.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/visualizations/lib/active_cursor.js rename to src/plugins/vis-type-timeseries/public/application/visualizations/lib/active_cursor.js diff --git a/src/plugins/vis_type_timeseries/public/application/visualizations/lib/calc_dimensions.js b/src/plugins/vis-type-timeseries/public/application/visualizations/lib/calc_dimensions.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/visualizations/lib/calc_dimensions.js rename to src/plugins/vis-type-timeseries/public/application/visualizations/lib/calc_dimensions.js diff --git a/src/plugins/vis_type_timeseries/public/application/visualizations/lib/calculate_coordinates.js b/src/plugins/vis-type-timeseries/public/application/visualizations/lib/calculate_coordinates.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/visualizations/lib/calculate_coordinates.js rename to src/plugins/vis-type-timeseries/public/application/visualizations/lib/calculate_coordinates.js diff --git a/src/plugins/vis_type_timeseries/public/application/visualizations/lib/get_value_by.js b/src/plugins/vis-type-timeseries/public/application/visualizations/lib/get_value_by.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/visualizations/lib/get_value_by.js rename to src/plugins/vis-type-timeseries/public/application/visualizations/lib/get_value_by.js diff --git a/src/plugins/vis_type_timeseries/public/application/visualizations/views/_annotation.scss b/src/plugins/vis-type-timeseries/public/application/visualizations/views/_annotation.scss similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/visualizations/views/_annotation.scss rename to src/plugins/vis-type-timeseries/public/application/visualizations/views/_annotation.scss diff --git a/src/plugins/vis_type_timeseries/public/application/visualizations/views/_gauge.scss b/src/plugins/vis-type-timeseries/public/application/visualizations/views/_gauge.scss similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/visualizations/views/_gauge.scss rename to src/plugins/vis-type-timeseries/public/application/visualizations/views/_gauge.scss diff --git a/src/plugins/vis_type_timeseries/public/application/visualizations/views/_index.scss b/src/plugins/vis-type-timeseries/public/application/visualizations/views/_index.scss similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/visualizations/views/_index.scss rename to src/plugins/vis-type-timeseries/public/application/visualizations/views/_index.scss diff --git a/src/plugins/vis_type_timeseries/public/application/visualizations/views/_metric.scss b/src/plugins/vis-type-timeseries/public/application/visualizations/views/_metric.scss similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/visualizations/views/_metric.scss rename to src/plugins/vis-type-timeseries/public/application/visualizations/views/_metric.scss diff --git a/src/plugins/vis_type_timeseries/public/application/visualizations/views/_top_n.scss b/src/plugins/vis-type-timeseries/public/application/visualizations/views/_top_n.scss similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/visualizations/views/_top_n.scss rename to src/plugins/vis-type-timeseries/public/application/visualizations/views/_top_n.scss diff --git a/src/plugins/vis_type_timeseries/public/application/visualizations/views/annotation.js b/src/plugins/vis-type-timeseries/public/application/visualizations/views/annotation.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/visualizations/views/annotation.js rename to src/plugins/vis-type-timeseries/public/application/visualizations/views/annotation.js diff --git a/src/plugins/vis_type_timeseries/public/application/visualizations/views/gauge.js b/src/plugins/vis-type-timeseries/public/application/visualizations/views/gauge.js similarity index 98% rename from src/plugins/vis_type_timeseries/public/application/visualizations/views/gauge.js rename to src/plugins/vis-type-timeseries/public/application/visualizations/views/gauge.js index 40f241621462..52e5c8903660 100644 --- a/src/plugins/vis_type_timeseries/public/application/visualizations/views/gauge.js +++ b/src/plugins/vis-type-timeseries/public/application/visualizations/views/gauge.js @@ -35,7 +35,7 @@ import PropTypes from 'prop-types'; import React, { Component } from 'react'; import classNames from 'classnames'; import { isBackgroundInverted, isBackgroundDark } from '../../lib/set_is_reversed'; -import { getLastValue } from '../../../../../../plugins/vis_type_timeseries/common/get_last_value'; +import { getLastValue } from '../../../../../../plugins/vis-type-timeseries/common/get_last_value'; import { getValueBy } from '../lib/get_value_by'; import { GaugeVis } from './gauge_vis'; import reactcss from 'reactcss'; diff --git a/src/plugins/vis_type_timeseries/public/application/visualizations/views/gauge_vis.js b/src/plugins/vis-type-timeseries/public/application/visualizations/views/gauge_vis.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/visualizations/views/gauge_vis.js rename to src/plugins/vis-type-timeseries/public/application/visualizations/views/gauge_vis.js diff --git a/src/plugins/vis_type_timeseries/public/application/visualizations/views/metric.js b/src/plugins/vis-type-timeseries/public/application/visualizations/views/metric.js similarity index 98% rename from src/plugins/vis_type_timeseries/public/application/visualizations/views/metric.js rename to src/plugins/vis-type-timeseries/public/application/visualizations/views/metric.js index 0a6b6ebf9155..680793871dc4 100644 --- a/src/plugins/vis_type_timeseries/public/application/visualizations/views/metric.js +++ b/src/plugins/vis-type-timeseries/public/application/visualizations/views/metric.js @@ -33,7 +33,7 @@ import PropTypes from 'prop-types'; import React, { Component } from 'react'; import _ from 'lodash'; -import { getLastValue } from '../../../../../../plugins/vis_type_timeseries/common/get_last_value'; +import { getLastValue } from '../../../../../../plugins/vis-type-timeseries/common/get_last_value'; import reactcss from 'reactcss'; import { calculateCoordinates } from '../lib/calculate_coordinates'; diff --git a/src/plugins/vis_type_timeseries/public/application/visualizations/views/timeseries/__mocks__/@elastic/charts.js b/src/plugins/vis-type-timeseries/public/application/visualizations/views/timeseries/__mocks__/@elastic/charts.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/visualizations/views/timeseries/__mocks__/@elastic/charts.js rename to src/plugins/vis-type-timeseries/public/application/visualizations/views/timeseries/__mocks__/@elastic/charts.js diff --git a/src/plugins/vis_type_timeseries/public/application/visualizations/views/timeseries/decorators/__snapshots__/area_decorator.test.js.snap b/src/plugins/vis-type-timeseries/public/application/visualizations/views/timeseries/decorators/__snapshots__/area_decorator.test.js.snap similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/visualizations/views/timeseries/decorators/__snapshots__/area_decorator.test.js.snap rename to src/plugins/vis-type-timeseries/public/application/visualizations/views/timeseries/decorators/__snapshots__/area_decorator.test.js.snap diff --git a/src/plugins/vis_type_timeseries/public/application/visualizations/views/timeseries/decorators/__snapshots__/bar_decorator.test.js.snap b/src/plugins/vis-type-timeseries/public/application/visualizations/views/timeseries/decorators/__snapshots__/bar_decorator.test.js.snap similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/visualizations/views/timeseries/decorators/__snapshots__/bar_decorator.test.js.snap rename to src/plugins/vis-type-timeseries/public/application/visualizations/views/timeseries/decorators/__snapshots__/bar_decorator.test.js.snap diff --git a/src/plugins/vis_type_timeseries/public/application/visualizations/views/timeseries/decorators/area_decorator.js b/src/plugins/vis-type-timeseries/public/application/visualizations/views/timeseries/decorators/area_decorator.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/visualizations/views/timeseries/decorators/area_decorator.js rename to src/plugins/vis-type-timeseries/public/application/visualizations/views/timeseries/decorators/area_decorator.js diff --git a/src/plugins/vis_type_timeseries/public/application/visualizations/views/timeseries/decorators/area_decorator.test.js b/src/plugins/vis-type-timeseries/public/application/visualizations/views/timeseries/decorators/area_decorator.test.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/visualizations/views/timeseries/decorators/area_decorator.test.js rename to src/plugins/vis-type-timeseries/public/application/visualizations/views/timeseries/decorators/area_decorator.test.js diff --git a/src/plugins/vis_type_timeseries/public/application/visualizations/views/timeseries/decorators/bar_decorator.js b/src/plugins/vis-type-timeseries/public/application/visualizations/views/timeseries/decorators/bar_decorator.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/visualizations/views/timeseries/decorators/bar_decorator.js rename to src/plugins/vis-type-timeseries/public/application/visualizations/views/timeseries/decorators/bar_decorator.js diff --git a/src/plugins/vis_type_timeseries/public/application/visualizations/views/timeseries/decorators/bar_decorator.test.js b/src/plugins/vis-type-timeseries/public/application/visualizations/views/timeseries/decorators/bar_decorator.test.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/visualizations/views/timeseries/decorators/bar_decorator.test.js rename to src/plugins/vis-type-timeseries/public/application/visualizations/views/timeseries/decorators/bar_decorator.test.js diff --git a/src/plugins/vis_type_timeseries/public/application/visualizations/views/timeseries/index.js b/src/plugins/vis-type-timeseries/public/application/visualizations/views/timeseries/index.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/visualizations/views/timeseries/index.js rename to src/plugins/vis-type-timeseries/public/application/visualizations/views/timeseries/index.js diff --git a/src/plugins/vis_type_timeseries/public/application/visualizations/views/timeseries/model/__snapshots__/charts.test.js.snap b/src/plugins/vis-type-timeseries/public/application/visualizations/views/timeseries/model/__snapshots__/charts.test.js.snap similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/visualizations/views/timeseries/model/__snapshots__/charts.test.js.snap rename to src/plugins/vis-type-timeseries/public/application/visualizations/views/timeseries/model/__snapshots__/charts.test.js.snap diff --git a/src/plugins/vis_type_timeseries/public/application/visualizations/views/timeseries/model/charts.js b/src/plugins/vis-type-timeseries/public/application/visualizations/views/timeseries/model/charts.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/visualizations/views/timeseries/model/charts.js rename to src/plugins/vis-type-timeseries/public/application/visualizations/views/timeseries/model/charts.js diff --git a/src/plugins/vis_type_timeseries/public/application/visualizations/views/timeseries/model/charts.test.js b/src/plugins/vis-type-timeseries/public/application/visualizations/views/timeseries/model/charts.test.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/visualizations/views/timeseries/model/charts.test.js rename to src/plugins/vis-type-timeseries/public/application/visualizations/views/timeseries/model/charts.test.js diff --git a/src/plugins/vis_type_timeseries/public/application/visualizations/views/timeseries/utils/__snapshots__/series_styles.test.js.snap b/src/plugins/vis-type-timeseries/public/application/visualizations/views/timeseries/utils/__snapshots__/series_styles.test.js.snap similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/visualizations/views/timeseries/utils/__snapshots__/series_styles.test.js.snap rename to src/plugins/vis-type-timeseries/public/application/visualizations/views/timeseries/utils/__snapshots__/series_styles.test.js.snap diff --git a/src/plugins/vis_type_timeseries/public/application/visualizations/views/timeseries/utils/series_styles.js b/src/plugins/vis-type-timeseries/public/application/visualizations/views/timeseries/utils/series_styles.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/visualizations/views/timeseries/utils/series_styles.js rename to src/plugins/vis-type-timeseries/public/application/visualizations/views/timeseries/utils/series_styles.js diff --git a/src/plugins/vis_type_timeseries/public/application/visualizations/views/timeseries/utils/series_styles.test.js b/src/plugins/vis-type-timeseries/public/application/visualizations/views/timeseries/utils/series_styles.test.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/visualizations/views/timeseries/utils/series_styles.test.js rename to src/plugins/vis-type-timeseries/public/application/visualizations/views/timeseries/utils/series_styles.test.js diff --git a/src/plugins/vis_type_timeseries/public/application/visualizations/views/timeseries/utils/stack_format.js b/src/plugins/vis-type-timeseries/public/application/visualizations/views/timeseries/utils/stack_format.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/visualizations/views/timeseries/utils/stack_format.js rename to src/plugins/vis-type-timeseries/public/application/visualizations/views/timeseries/utils/stack_format.js diff --git a/src/plugins/vis_type_timeseries/public/application/visualizations/views/timeseries/utils/stack_format.test.js b/src/plugins/vis-type-timeseries/public/application/visualizations/views/timeseries/utils/stack_format.test.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/visualizations/views/timeseries/utils/stack_format.test.js rename to src/plugins/vis-type-timeseries/public/application/visualizations/views/timeseries/utils/stack_format.test.js diff --git a/src/plugins/vis_type_timeseries/public/application/visualizations/views/timeseries/utils/theme.test.ts b/src/plugins/vis-type-timeseries/public/application/visualizations/views/timeseries/utils/theme.test.ts similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/visualizations/views/timeseries/utils/theme.test.ts rename to src/plugins/vis-type-timeseries/public/application/visualizations/views/timeseries/utils/theme.test.ts diff --git a/src/plugins/vis_type_timeseries/public/application/visualizations/views/timeseries/utils/theme.ts b/src/plugins/vis-type-timeseries/public/application/visualizations/views/timeseries/utils/theme.ts similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/visualizations/views/timeseries/utils/theme.ts rename to src/plugins/vis-type-timeseries/public/application/visualizations/views/timeseries/utils/theme.ts diff --git a/src/plugins/vis_type_timeseries/public/application/visualizations/views/top_n.js b/src/plugins/vis-type-timeseries/public/application/visualizations/views/top_n.js similarity index 98% rename from src/plugins/vis_type_timeseries/public/application/visualizations/views/top_n.js rename to src/plugins/vis-type-timeseries/public/application/visualizations/views/top_n.js index 1aa46221effa..9b63e8e91db6 100644 --- a/src/plugins/vis_type_timeseries/public/application/visualizations/views/top_n.js +++ b/src/plugins/vis-type-timeseries/public/application/visualizations/views/top_n.js @@ -32,7 +32,7 @@ import PropTypes from 'prop-types'; import React, { Component } from 'react'; -import { getLastValue } from '../../../../../../plugins/vis_type_timeseries/common/get_last_value'; +import { getLastValue } from '../../../../../../plugins/vis-type-timeseries/common/get_last_value'; import reactcss from 'reactcss'; const RENDER_MODES = { diff --git a/src/plugins/vis_type_timeseries/public/index.ts b/src/plugins/vis-type-timeseries/public/index.ts similarity index 100% rename from src/plugins/vis_type_timeseries/public/index.ts rename to src/plugins/vis-type-timeseries/public/index.ts diff --git a/src/plugins/vis_type_timeseries/public/metrics_fn.ts b/src/plugins/vis-type-timeseries/public/metrics_fn.ts similarity index 100% rename from src/plugins/vis_type_timeseries/public/metrics_fn.ts rename to src/plugins/vis-type-timeseries/public/metrics_fn.ts diff --git a/src/plugins/vis_type_timeseries/public/metrics_type.ts b/src/plugins/vis-type-timeseries/public/metrics_type.ts similarity index 100% rename from src/plugins/vis_type_timeseries/public/metrics_type.ts rename to src/plugins/vis-type-timeseries/public/metrics_type.ts diff --git a/src/plugins/vis_type_timeseries/public/plugin.ts b/src/plugins/vis-type-timeseries/public/plugin.ts similarity index 100% rename from src/plugins/vis_type_timeseries/public/plugin.ts rename to src/plugins/vis-type-timeseries/public/plugin.ts diff --git a/src/plugins/vis_type_timeseries/public/request_handler.js b/src/plugins/vis-type-timeseries/public/request_handler.js similarity index 100% rename from src/plugins/vis_type_timeseries/public/request_handler.js rename to src/plugins/vis-type-timeseries/public/request_handler.js diff --git a/src/plugins/vis_type_timeseries/public/services.ts b/src/plugins/vis-type-timeseries/public/services.ts similarity index 100% rename from src/plugins/vis_type_timeseries/public/services.ts rename to src/plugins/vis-type-timeseries/public/services.ts diff --git a/src/plugins/vis_type_timeseries/public/test_utils/index.ts b/src/plugins/vis-type-timeseries/public/test-utils/index.ts similarity index 100% rename from src/plugins/vis_type_timeseries/public/test_utils/index.ts rename to src/plugins/vis-type-timeseries/public/test-utils/index.ts diff --git a/src/plugins/vis_type_timeseries/public/types.ts b/src/plugins/vis-type-timeseries/public/types.ts similarity index 100% rename from src/plugins/vis_type_timeseries/public/types.ts rename to src/plugins/vis-type-timeseries/public/types.ts diff --git a/src/plugins/vis_type_timeseries/server/config.ts b/src/plugins/vis-type-timeseries/server/config.ts similarity index 100% rename from src/plugins/vis_type_timeseries/server/config.ts rename to src/plugins/vis-type-timeseries/server/config.ts diff --git a/src/plugins/vis_type_timeseries/server/index.ts b/src/plugins/vis-type-timeseries/server/index.ts similarity index 92% rename from src/plugins/vis_type_timeseries/server/index.ts rename to src/plugins/vis-type-timeseries/server/index.ts index 97c020a86d53..24c712131d65 100644 --- a/src/plugins/vis_type_timeseries/server/index.ts +++ b/src/plugins/vis-type-timeseries/server/index.ts @@ -50,14 +50,14 @@ export const config: PluginConfigDescriptor = { schema: configSchema, }; -export { ValidationTelemetryServiceSetup } from './validation_telemetry'; +export { ValidationTelemetryServiceSetup } from './validation-telemetry'; export { AbstractSearchStrategy, ReqFacade, -} from './lib/search_strategies/strategies/abstract_search_strategy'; +} from './lib/search-strategies/strategies/abstract_search_strategy'; // @ts-ignore -export { DefaultSearchCapabilities } from './lib/search_strategies/default_search_capabilities'; +export { DefaultSearchCapabilities } from './lib/search-strategies/default_search_capabilities'; export function plugin(initializerContext: PluginInitializerContext) { return new VisTypeTimeseriesPlugin(initializerContext); diff --git a/src/plugins/vis_type_timeseries/server/lib/get_fields.ts b/src/plugins/vis-type-timeseries/server/lib/get_fields.ts similarity index 98% rename from src/plugins/vis_type_timeseries/server/lib/get_fields.ts rename to src/plugins/vis-type-timeseries/server/lib/get_fields.ts index 5577bfd20942..9a41c0bd89a2 100644 --- a/src/plugins/vis_type_timeseries/server/lib/get_fields.ts +++ b/src/plugins/vis-type-timeseries/server/lib/get_fields.ts @@ -39,7 +39,7 @@ import { IndexPatternFieldDescriptor, IndexPatternsFetcher, } from '../../../data/server'; -import { ReqFacade } from './search_strategies/strategies/abstract_search_strategy'; +import { ReqFacade } from './search-strategies/strategies/abstract_search_strategy'; export async function getFields( requestContext: RequestHandlerContext, diff --git a/src/plugins/vis_type_timeseries/server/lib/get_vis_data.ts b/src/plugins/vis-type-timeseries/server/lib/get_vis_data.ts similarity index 96% rename from src/plugins/vis_type_timeseries/server/lib/get_vis_data.ts rename to src/plugins/vis-type-timeseries/server/lib/get_vis_data.ts index a50776f2aa96..b88c598cb4a1 100644 --- a/src/plugins/vis_type_timeseries/server/lib/get_vis_data.ts +++ b/src/plugins/vis-type-timeseries/server/lib/get_vis_data.ts @@ -33,9 +33,9 @@ import { FakeRequest, RequestHandlerContext } from 'opensearch-dashboards/server'; import _ from 'lodash'; import { first, map } from 'rxjs/operators'; -import { getPanelData } from './vis_data/get_panel_data'; +import { getPanelData } from './vis-data/get_panel_data'; import { Framework } from '../plugin'; -import { ReqFacade } from './search_strategies/strategies/abstract_search_strategy'; +import { ReqFacade } from './search-strategies/strategies/abstract_search_strategy'; interface GetVisDataResponse { [key: string]: GetVisDataPanel; diff --git a/src/plugins/vis_type_timeseries/server/lib/search_strategies/default_search_capabilities.js b/src/plugins/vis-type-timeseries/server/lib/search-strategies/default_search_capabilities.js similarity index 98% rename from src/plugins/vis_type_timeseries/server/lib/search_strategies/default_search_capabilities.js rename to src/plugins/vis-type-timeseries/server/lib/search-strategies/default_search_capabilities.js index c056b28b177a..3b31fee6c0ae 100644 --- a/src/plugins/vis_type_timeseries/server/lib/search_strategies/default_search_capabilities.js +++ b/src/plugins/vis-type-timeseries/server/lib/search-strategies/default_search_capabilities.js @@ -33,7 +33,7 @@ import { convertIntervalToUnit, parseInterval, getSuitableUnit, -} from '../vis_data/helpers/unit_to_seconds'; +} from '../vis-data/helpers/unit_to_seconds'; import { RESTRICTIONS_KEYS } from '../../../common/ui_restrictions'; const getTimezoneFromRequest = (request) => { diff --git a/src/plugins/vis_type_timeseries/server/lib/search_strategies/default_search_capabilities.test.js b/src/plugins/vis-type-timeseries/server/lib/search-strategies/default_search_capabilities.test.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/search_strategies/default_search_capabilities.test.js rename to src/plugins/vis-type-timeseries/server/lib/search-strategies/default_search_capabilities.test.js diff --git a/src/plugins/vis_type_timeseries/server/lib/search_strategies/index.ts b/src/plugins/vis-type-timeseries/server/lib/search-strategies/index.ts similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/search_strategies/index.ts rename to src/plugins/vis-type-timeseries/server/lib/search-strategies/index.ts diff --git a/src/plugins/vis_type_timeseries/server/lib/search_strategies/search_strategies_registry.test.ts b/src/plugins/vis-type-timeseries/server/lib/search-strategies/search_strategies_registry.test.ts similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/search_strategies/search_strategies_registry.test.ts rename to src/plugins/vis-type-timeseries/server/lib/search-strategies/search_strategies_registry.test.ts diff --git a/src/plugins/vis_type_timeseries/server/lib/search_strategies/search_strategy_registry.ts b/src/plugins/vis-type-timeseries/server/lib/search-strategies/search_strategy_registry.ts similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/search_strategies/search_strategy_registry.ts rename to src/plugins/vis-type-timeseries/server/lib/search-strategies/search_strategy_registry.ts diff --git a/src/plugins/vis_type_timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.test.js b/src/plugins/vis-type-timeseries/server/lib/search-strategies/strategies/abstract_search_strategy.test.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.test.js rename to src/plugins/vis-type-timeseries/server/lib/search-strategies/strategies/abstract_search_strategy.test.js diff --git a/src/plugins/vis_type_timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts b/src/plugins/vis-type-timeseries/server/lib/search-strategies/strategies/abstract_search_strategy.ts similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts rename to src/plugins/vis-type-timeseries/server/lib/search-strategies/strategies/abstract_search_strategy.ts diff --git a/src/plugins/vis_type_timeseries/server/lib/search_strategies/strategies/default_search_strategy.js b/src/plugins/vis-type-timeseries/server/lib/search-strategies/strategies/default_search_strategy.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/search_strategies/strategies/default_search_strategy.js rename to src/plugins/vis-type-timeseries/server/lib/search-strategies/strategies/default_search_strategy.js diff --git a/src/plugins/vis_type_timeseries/server/lib/search_strategies/strategies/default_search_strategy.test.js b/src/plugins/vis-type-timeseries/server/lib/search-strategies/strategies/default_search_strategy.test.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/search_strategies/strategies/default_search_strategy.test.js rename to src/plugins/vis-type-timeseries/server/lib/search-strategies/strategies/default_search_strategy.test.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/annotations/build_request_body.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/annotations/build_request_body.js similarity index 96% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/annotations/build_request_body.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/annotations/build_request_body.js index b160a78bd829..3b7076cb5429 100644 --- a/src/plugins/vis_type_timeseries/server/lib/vis_data/annotations/build_request_body.js +++ b/src/plugins/vis-type-timeseries/server/lib/vis-data/annotations/build_request_body.js @@ -30,7 +30,7 @@ * GitHub history for details. */ import { buildProcessorFunction } from '../build_processor_function'; -import { processors } from '../request_processors/annotations'; +import { processors } from '../request-processors/annotations'; /** * Builds annotation request body diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/annotations/get_request_params.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/annotations/get_request_params.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/annotations/get_request_params.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/annotations/get_request_params.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/build_processor_function.test.ts b/src/plugins/vis-type-timeseries/server/lib/vis-data/build_processor_function.test.ts similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/build_processor_function.test.ts rename to src/plugins/vis-type-timeseries/server/lib/vis-data/build_processor_function.test.ts diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/build_processor_function.ts b/src/plugins/vis-type-timeseries/server/lib/vis-data/build_processor_function.ts similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/build_processor_function.ts rename to src/plugins/vis-type-timeseries/server/lib/vis-data/build_processor_function.ts diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/get_annotations.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/get_annotations.js similarity index 97% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/get_annotations.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/get_annotations.js index ab2b415e90e9..04dc08676a90 100644 --- a/src/plugins/vis_type_timeseries/server/lib/vis_data/get_annotations.js +++ b/src/plugins/vis-type-timeseries/server/lib/vis-data/get_annotations.js @@ -29,7 +29,7 @@ * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. */ -import { handleAnnotationResponse } from './response_processors/annotations'; +import { handleAnnotationResponse } from './response-processors/annotations'; import { getAnnotationRequestParams } from './annotations/get_request_params'; import { getLastSeriesTimestamp } from './helpers/timestamp'; diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/get_interval_and_timefield.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/get_interval_and_timefield.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/get_interval_and_timefield.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/get_interval_and_timefield.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/get_interval_and_timefield.test.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/get_interval_and_timefield.test.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/get_interval_and_timefield.test.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/get_interval_and_timefield.test.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/get_panel_data.d.ts b/src/plugins/vis-type-timeseries/server/lib/vis-data/get_panel_data.d.ts similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/get_panel_data.d.ts rename to src/plugins/vis-type-timeseries/server/lib/vis-data/get_panel_data.d.ts diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/get_panel_data.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/get_panel_data.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/get_panel_data.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/get_panel_data.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/get_series_data.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/get_series_data.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/get_series_data.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/get_series_data.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/get_table_data.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/get_table_data.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/get_table_data.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/get_table_data.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/handle_error_response.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/handle_error_response.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/handle_error_response.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/handle_error_response.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/helpers/__snapshots__/bucket_transform.test.js.snap b/src/plugins/vis-type-timeseries/server/lib/vis-data/helpers/__snapshots__/bucket_transform.test.js.snap similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/helpers/__snapshots__/bucket_transform.test.js.snap rename to src/plugins/vis-type-timeseries/server/lib/vis-data/helpers/__snapshots__/bucket_transform.test.js.snap diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/helpers/bucket_transform.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/helpers/bucket_transform.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/helpers/bucket_transform.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/helpers/bucket_transform.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/helpers/bucket_transform.test.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/helpers/bucket_transform.test.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/helpers/bucket_transform.test.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/helpers/bucket_transform.test.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/helpers/calculate_auto.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/helpers/calculate_auto.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/helpers/calculate_auto.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/helpers/calculate_auto.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/helpers/format_key.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/helpers/format_key.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/helpers/format_key.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/helpers/format_key.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/helpers/get_active_series.ts b/src/plugins/vis-type-timeseries/server/lib/vis-data/helpers/get_active_series.ts similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/helpers/get_active_series.ts rename to src/plugins/vis-type-timeseries/server/lib/vis-data/helpers/get_active_series.ts diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/helpers/get_agg_value.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/helpers/get_agg_value.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/helpers/get_agg_value.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/helpers/get_agg_value.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/helpers/get_agg_value.test.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/helpers/get_agg_value.test.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/helpers/get_agg_value.test.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/helpers/get_agg_value.test.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/helpers/get_bucket_size.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/helpers/get_bucket_size.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/helpers/get_bucket_size.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/helpers/get_bucket_size.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/helpers/get_bucket_size.test.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/helpers/get_bucket_size.test.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/helpers/get_bucket_size.test.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/helpers/get_bucket_size.test.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/helpers/get_buckets_path.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/helpers/get_buckets_path.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/helpers/get_buckets_path.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/helpers/get_buckets_path.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/helpers/get_buckets_path.test.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/helpers/get_buckets_path.test.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/helpers/get_buckets_path.test.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/helpers/get_buckets_path.test.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/helpers/get_default_decoration.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/helpers/get_default_decoration.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/helpers/get_default_decoration.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/helpers/get_default_decoration.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/helpers/get_default_decoration.test.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/helpers/get_default_decoration.test.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/helpers/get_default_decoration.test.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/helpers/get_default_decoration.test.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/helpers/get_index_pattern.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/helpers/get_index_pattern.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/helpers/get_index_pattern.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/helpers/get_index_pattern.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/helpers/get_last_metric.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/helpers/get_last_metric.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/helpers/get_last_metric.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/helpers/get_last_metric.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/helpers/get_last_metric.test.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/helpers/get_last_metric.test.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/helpers/get_last_metric.test.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/helpers/get_last_metric.test.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/helpers/get_opensearch_query_uisettings.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/helpers/get_opensearch_query_uisettings.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/helpers/get_opensearch_query_uisettings.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/helpers/get_opensearch_query_uisettings.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/helpers/get_opensearch_shard_timeout.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/helpers/get_opensearch_shard_timeout.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/helpers/get_opensearch_shard_timeout.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/helpers/get_opensearch_shard_timeout.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/helpers/get_opensearch_shard_timeout.test.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/helpers/get_opensearch_shard_timeout.test.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/helpers/get_opensearch_shard_timeout.test.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/helpers/get_opensearch_shard_timeout.test.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/helpers/get_sibling_agg_value.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/helpers/get_sibling_agg_value.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/helpers/get_sibling_agg_value.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/helpers/get_sibling_agg_value.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/helpers/get_sibling_agg_value.test.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/helpers/get_sibling_agg_value.test.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/helpers/get_sibling_agg_value.test.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/helpers/get_sibling_agg_value.test.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/helpers/get_split_colors.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/helpers/get_split_colors.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/helpers/get_split_colors.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/helpers/get_split_colors.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/helpers/get_splits.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/helpers/get_splits.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/helpers/get_splits.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/helpers/get_splits.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/helpers/get_splits.test.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/helpers/get_splits.test.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/helpers/get_splits.test.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/helpers/get_splits.test.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/helpers/get_timerange.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/helpers/get_timerange.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/helpers/get_timerange.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/helpers/get_timerange.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/helpers/get_timerange.test.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/helpers/get_timerange.test.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/helpers/get_timerange.test.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/helpers/get_timerange.test.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/helpers/get_timerange_mode.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/helpers/get_timerange_mode.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/helpers/get_timerange_mode.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/helpers/get_timerange_mode.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/helpers/index.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/helpers/index.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/helpers/index.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/helpers/index.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/helpers/map_bucket.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/helpers/map_bucket.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/helpers/map_bucket.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/helpers/map_bucket.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/helpers/map_bucket.test.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/helpers/map_bucket.test.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/helpers/map_bucket.test.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/helpers/map_bucket.test.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/helpers/moving_fn_scripts.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/helpers/moving_fn_scripts.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/helpers/moving_fn_scripts.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/helpers/moving_fn_scripts.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/helpers/moving_fn_scripts.test.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/helpers/moving_fn_scripts.test.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/helpers/moving_fn_scripts.test.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/helpers/moving_fn_scripts.test.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/helpers/overwrite.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/helpers/overwrite.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/helpers/overwrite.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/helpers/overwrite.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/helpers/parse_interval.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/helpers/parse_interval.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/helpers/parse_interval.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/helpers/parse_interval.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/helpers/parse_settings.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/helpers/parse_settings.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/helpers/parse_settings.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/helpers/parse_settings.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/helpers/parse_settings.test.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/helpers/parse_settings.test.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/helpers/parse_settings.test.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/helpers/parse_settings.test.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/helpers/timestamp.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/helpers/timestamp.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/helpers/timestamp.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/helpers/timestamp.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/helpers/timestamp.test.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/helpers/timestamp.test.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/helpers/timestamp.test.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/helpers/timestamp.test.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/helpers/unit_to_seconds.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/helpers/unit_to_seconds.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/helpers/unit_to_seconds.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/helpers/unit_to_seconds.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/helpers/unit_to_seconds.test.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/helpers/unit_to_seconds.test.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/helpers/unit_to_seconds.test.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/helpers/unit_to_seconds.test.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/offset_time.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/offset_time.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/offset_time.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/offset_time.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/offset_time.test.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/offset_time.test.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/offset_time.test.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/offset_time.test.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/request_processors/annotations/date_histogram.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/request-processors/annotations/date_histogram.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/request_processors/annotations/date_histogram.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/request-processors/annotations/date_histogram.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/request_processors/annotations/index.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/request-processors/annotations/index.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/request_processors/annotations/index.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/request-processors/annotations/index.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/request_processors/annotations/query.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/request-processors/annotations/query.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/request_processors/annotations/query.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/request-processors/annotations/query.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/request_processors/annotations/top_hits.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/request-processors/annotations/top_hits.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/request_processors/annotations/top_hits.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/request-processors/annotations/top_hits.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/request_processors/series/date_histogram.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/request-processors/series/date_histogram.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/request_processors/series/date_histogram.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/request-processors/series/date_histogram.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/request_processors/series/date_histogram.test.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/request-processors/series/date_histogram.test.js similarity index 98% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/request_processors/series/date_histogram.test.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/request-processors/series/date_histogram.test.js index 7faf1be6cba5..a986733d48cd 100644 --- a/src/plugins/vis_type_timeseries/server/lib/vis_data/request_processors/series/date_histogram.test.js +++ b/src/plugins/vis-type-timeseries/server/lib/vis-data/request-processors/series/date_histogram.test.js @@ -30,7 +30,7 @@ * GitHub history for details. */ -import { DefaultSearchCapabilities } from '../../../search_strategies/default_search_capabilities'; +import { DefaultSearchCapabilities } from '../../../search-strategies/default_search_capabilities'; import { dateHistogram } from './date_histogram'; describe('dateHistogram(req, panel, series)', () => { diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/request_processors/series/filter_ratios.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/request-processors/series/filter_ratios.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/request_processors/series/filter_ratios.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/request-processors/series/filter_ratios.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/request_processors/series/filter_ratios.test.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/request-processors/series/filter_ratios.test.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/request_processors/series/filter_ratios.test.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/request-processors/series/filter_ratios.test.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/request_processors/series/index.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/request-processors/series/index.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/request_processors/series/index.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/request-processors/series/index.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/request_processors/series/metric_buckets.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/request-processors/series/metric_buckets.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/request_processors/series/metric_buckets.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/request-processors/series/metric_buckets.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/request_processors/series/metric_buckets.test.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/request-processors/series/metric_buckets.test.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/request_processors/series/metric_buckets.test.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/request-processors/series/metric_buckets.test.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/request_processors/series/normalize_query.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/request-processors/series/normalize_query.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/request_processors/series/normalize_query.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/request-processors/series/normalize_query.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/request_processors/series/normalize_query.test.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/request-processors/series/normalize_query.test.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/request_processors/series/normalize_query.test.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/request-processors/series/normalize_query.test.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/request_processors/series/positive_rate.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/request-processors/series/positive_rate.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/request_processors/series/positive_rate.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/request-processors/series/positive_rate.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/request_processors/series/positive_rate.test.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/request-processors/series/positive_rate.test.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/request_processors/series/positive_rate.test.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/request-processors/series/positive_rate.test.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/request_processors/series/query.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/request-processors/series/query.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/request_processors/series/query.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/request-processors/series/query.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/request_processors/series/query.test.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/request-processors/series/query.test.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/request_processors/series/query.test.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/request-processors/series/query.test.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/request_processors/series/sibling_buckets.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/request-processors/series/sibling_buckets.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/request_processors/series/sibling_buckets.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/request-processors/series/sibling_buckets.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/request_processors/series/sibling_buckets.test.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/request-processors/series/sibling_buckets.test.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/request_processors/series/sibling_buckets.test.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/request-processors/series/sibling_buckets.test.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/request_processors/series/split_by_everything.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/request-processors/series/split_by_everything.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/request_processors/series/split_by_everything.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/request-processors/series/split_by_everything.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/request_processors/series/split_by_everything.test.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/request-processors/series/split_by_everything.test.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/request_processors/series/split_by_everything.test.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/request-processors/series/split_by_everything.test.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/request_processors/series/split_by_filter.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/request-processors/series/split_by_filter.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/request_processors/series/split_by_filter.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/request-processors/series/split_by_filter.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/request_processors/series/split_by_filter.test.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/request-processors/series/split_by_filter.test.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/request_processors/series/split_by_filter.test.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/request-processors/series/split_by_filter.test.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/request_processors/series/split_by_filters.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/request-processors/series/split_by_filters.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/request_processors/series/split_by_filters.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/request-processors/series/split_by_filters.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/request_processors/series/split_by_filters.test.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/request-processors/series/split_by_filters.test.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/request_processors/series/split_by_filters.test.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/request-processors/series/split_by_filters.test.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/request_processors/series/split_by_terms.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/request-processors/series/split_by_terms.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/request_processors/series/split_by_terms.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/request-processors/series/split_by_terms.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/request_processors/series/split_by_terms.test.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/request-processors/series/split_by_terms.test.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/request_processors/series/split_by_terms.test.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/request-processors/series/split_by_terms.test.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/request_processors/table/calculate_agg_root.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/request-processors/table/calculate_agg_root.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/request_processors/table/calculate_agg_root.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/request-processors/table/calculate_agg_root.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/request_processors/table/date_histogram.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/request-processors/table/date_histogram.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/request_processors/table/date_histogram.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/request-processors/table/date_histogram.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/request_processors/table/filter_ratios.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/request-processors/table/filter_ratios.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/request_processors/table/filter_ratios.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/request-processors/table/filter_ratios.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/request_processors/table/index.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/request-processors/table/index.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/request_processors/table/index.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/request-processors/table/index.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/request_processors/table/metric_buckets.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/request-processors/table/metric_buckets.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/request_processors/table/metric_buckets.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/request-processors/table/metric_buckets.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/request_processors/table/normalize_query.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/request-processors/table/normalize_query.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/request_processors/table/normalize_query.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/request-processors/table/normalize_query.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/request_processors/table/normalize_query.test.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/request-processors/table/normalize_query.test.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/request_processors/table/normalize_query.test.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/request-processors/table/normalize_query.test.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/request_processors/table/pivot.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/request-processors/table/pivot.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/request_processors/table/pivot.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/request-processors/table/pivot.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/request_processors/table/positive_rate.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/request-processors/table/positive_rate.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/request_processors/table/positive_rate.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/request-processors/table/positive_rate.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/request_processors/table/query.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/request-processors/table/query.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/request_processors/table/query.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/request-processors/table/query.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/request_processors/table/sibling_buckets.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/request-processors/table/sibling_buckets.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/request_processors/table/sibling_buckets.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/request-processors/table/sibling_buckets.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/request_processors/table/split_by_everything.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/request-processors/table/split_by_everything.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/request_processors/table/split_by_everything.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/request-processors/table/split_by_everything.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/request_processors/table/split_by_terms.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/request-processors/table/split_by_terms.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/request_processors/table/split_by_terms.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/request-processors/table/split_by_terms.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/response_processors/annotations/buckets.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/response-processors/annotations/buckets.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/response_processors/annotations/buckets.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/response-processors/annotations/buckets.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/response_processors/annotations/filter.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/response-processors/annotations/filter.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/response_processors/annotations/filter.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/response-processors/annotations/filter.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/response_processors/annotations/filter.test.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/response-processors/annotations/filter.test.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/response_processors/annotations/filter.test.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/response-processors/annotations/filter.test.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/response_processors/annotations/index.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/response-processors/annotations/index.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/response_processors/annotations/index.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/response-processors/annotations/index.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/response_processors/series/_series_agg.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/response-processors/series/_series_agg.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/response_processors/series/_series_agg.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/response-processors/series/_series_agg.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/response_processors/series/_series_agg.test.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/response-processors/series/_series_agg.test.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/response_processors/series/_series_agg.test.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/response-processors/series/_series_agg.test.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/response_processors/series/drop_last_bucket.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/response-processors/series/drop_last_bucket.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/response_processors/series/drop_last_bucket.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/response-processors/series/drop_last_bucket.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/response_processors/series/index.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/response-processors/series/index.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/response_processors/series/index.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/response-processors/series/index.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/response_processors/series/math.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/response-processors/series/math.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/response_processors/series/math.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/response-processors/series/math.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/response_processors/series/math.test.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/response-processors/series/math.test.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/response_processors/series/math.test.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/response-processors/series/math.test.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/response_processors/series/percentile.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/response-processors/series/percentile.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/response_processors/series/percentile.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/response-processors/series/percentile.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/response_processors/series/percentile.test.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/response-processors/series/percentile.test.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/response_processors/series/percentile.test.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/response-processors/series/percentile.test.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/response_processors/series/percentile_rank.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/response-processors/series/percentile_rank.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/response_processors/series/percentile_rank.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/response-processors/series/percentile_rank.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/response_processors/series/series_agg.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/response-processors/series/series_agg.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/response_processors/series/series_agg.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/response-processors/series/series_agg.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/response_processors/series/series_agg.test.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/response-processors/series/series_agg.test.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/response_processors/series/series_agg.test.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/response-processors/series/series_agg.test.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/response_processors/series/std_deviation_bands.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/response-processors/series/std_deviation_bands.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/response_processors/series/std_deviation_bands.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/response-processors/series/std_deviation_bands.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/response_processors/series/std_deviation_bands.test.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/response-processors/series/std_deviation_bands.test.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/response_processors/series/std_deviation_bands.test.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/response-processors/series/std_deviation_bands.test.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/response_processors/series/std_deviation_sibling.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/response-processors/series/std_deviation_sibling.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/response_processors/series/std_deviation_sibling.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/response-processors/series/std_deviation_sibling.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/response_processors/series/std_deviation_sibling.test.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/response-processors/series/std_deviation_sibling.test.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/response_processors/series/std_deviation_sibling.test.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/response-processors/series/std_deviation_sibling.test.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/response_processors/series/std_metric.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/response-processors/series/std_metric.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/response_processors/series/std_metric.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/response-processors/series/std_metric.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/response_processors/series/std_metric.test.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/response-processors/series/std_metric.test.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/response_processors/series/std_metric.test.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/response-processors/series/std_metric.test.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/response_processors/series/std_sibling.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/response-processors/series/std_sibling.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/response_processors/series/std_sibling.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/response-processors/series/std_sibling.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/response_processors/series/std_sibling.test.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/response-processors/series/std_sibling.test.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/response_processors/series/std_sibling.test.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/response-processors/series/std_sibling.test.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/response_processors/series/time_shift.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/response-processors/series/time_shift.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/response_processors/series/time_shift.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/response-processors/series/time_shift.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/response_processors/series/time_shift.test.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/response-processors/series/time_shift.test.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/response_processors/series/time_shift.test.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/response-processors/series/time_shift.test.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/response_processors/table/_series_agg.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/response-processors/table/_series_agg.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/response_processors/table/_series_agg.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/response-processors/table/_series_agg.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/response_processors/table/drop_last_bucket.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/response-processors/table/drop_last_bucket.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/response_processors/table/drop_last_bucket.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/response-processors/table/drop_last_bucket.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/response_processors/table/index.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/response-processors/table/index.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/response_processors/table/index.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/response-processors/table/index.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/response_processors/table/math.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/response-processors/table/math.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/response_processors/table/math.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/response-processors/table/math.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/response_processors/table/percentile.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/response-processors/table/percentile.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/response_processors/table/percentile.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/response-processors/table/percentile.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/response_processors/table/percentile_rank.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/response-processors/table/percentile_rank.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/response_processors/table/percentile_rank.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/response-processors/table/percentile_rank.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/response_processors/table/series_agg.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/response-processors/table/series_agg.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/response_processors/table/series_agg.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/response-processors/table/series_agg.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/response_processors/table/std_metric.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/response-processors/table/std_metric.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/response_processors/table/std_metric.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/response-processors/table/std_metric.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/response_processors/table/std_sibling.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/response-processors/table/std_sibling.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/response_processors/table/std_sibling.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/response-processors/table/std_sibling.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/series/build_request_body.test.ts b/src/plugins/vis-type-timeseries/server/lib/vis-data/series/build_request_body.test.ts similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/series/build_request_body.test.ts rename to src/plugins/vis-type-timeseries/server/lib/vis-data/series/build_request_body.test.ts diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/series/build_request_body.ts b/src/plugins/vis-type-timeseries/server/lib/vis-data/series/build_request_body.ts similarity index 96% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/series/build_request_body.ts rename to src/plugins/vis-type-timeseries/server/lib/vis-data/series/build_request_body.ts index ace563b2d000..8b764cf48164 100644 --- a/src/plugins/vis_type_timeseries/server/lib/vis_data/series/build_request_body.ts +++ b/src/plugins/vis-type-timeseries/server/lib/vis-data/series/build_request_body.ts @@ -32,7 +32,7 @@ import { buildProcessorFunction } from '../build_processor_function'; // @ts-ignore -import { processors } from '../request_processors/series/index'; +import { processors } from '../request-processors/series/index'; /** * Builds series request body diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/series/get_request_params.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/series/get_request_params.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/series/get_request_params.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/series/get_request_params.js diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/series/handle_response_body.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/series/handle_response_body.js similarity index 97% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/series/handle_response_body.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/series/handle_response_body.js index b98fda2ce498..d67cc3459387 100644 --- a/src/plugins/vis_type_timeseries/server/lib/vis_data/series/handle_response_body.js +++ b/src/plugins/vis-type-timeseries/server/lib/vis-data/series/handle_response_body.js @@ -31,7 +31,7 @@ */ import { buildProcessorFunction } from '../build_processor_function'; -import { processors } from '../response_processors/series'; +import { processors } from '../response-processors/series'; import { get } from 'lodash'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/table/build_request_body.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/table/build_request_body.js similarity index 95% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/table/build_request_body.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/table/build_request_body.js index 8e8779677ed2..c90a3be6fefb 100644 --- a/src/plugins/vis_type_timeseries/server/lib/vis_data/table/build_request_body.js +++ b/src/plugins/vis-type-timeseries/server/lib/vis-data/table/build_request_body.js @@ -31,7 +31,7 @@ */ import { buildProcessorFunction } from '../build_processor_function'; -import { processors } from '../request_processors/table'; +import { processors } from '../request-processors/table'; export function buildRequestBody(...args) { const processor = buildProcessorFunction(processors, ...args); diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/table/process_bucket.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/table/process_bucket.js similarity index 97% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/table/process_bucket.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/table/process_bucket.js index 8e9ee7598c92..1a51529688ed 100644 --- a/src/plugins/vis_type_timeseries/server/lib/vis_data/table/process_bucket.js +++ b/src/plugins/vis-type-timeseries/server/lib/vis-data/table/process_bucket.js @@ -31,7 +31,7 @@ */ import { buildProcessorFunction } from '../build_processor_function'; -import { processors } from '../response_processors/table'; +import { processors } from '../response-processors/table'; import { getLastValue } from '../../../../common/get_last_value'; import { first, get } from 'lodash'; import { overwrite } from '../helpers'; diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/table/process_bucket.test.js b/src/plugins/vis-type-timeseries/server/lib/vis-data/table/process_bucket.test.js similarity index 100% rename from src/plugins/vis_type_timeseries/server/lib/vis_data/table/process_bucket.test.js rename to src/plugins/vis-type-timeseries/server/lib/vis-data/table/process_bucket.test.js diff --git a/src/plugins/vis_type_timeseries/server/plugin.ts b/src/plugins/vis-type-timeseries/server/plugin.ts similarity index 97% rename from src/plugins/vis_type_timeseries/server/plugin.ts rename to src/plugins/vis-type-timeseries/server/plugin.ts index ef6fc4fd0c20..580f27447791 100644 --- a/src/plugins/vis_type_timeseries/server/plugin.ts +++ b/src/plugins/vis-type-timeseries/server/plugin.ts @@ -44,13 +44,13 @@ import { Observable } from 'rxjs'; import { Server } from 'hapi'; import { VisTypeTimeseriesConfig } from './config'; import { getVisData, GetVisData, GetVisDataOptions } from './lib/get_vis_data'; -import { ValidationTelemetryService } from './validation_telemetry'; +import { ValidationTelemetryService } from './validation-telemetry'; import { UsageCollectionSetup } from '../../usage_collection/server'; import { PluginStart } from '../../data/server'; import { visDataRoutes } from './routes/vis'; // @ts-ignore import { fieldsRoutes } from './routes/fields'; -import { SearchStrategyRegistry } from './lib/search_strategies'; +import { SearchStrategyRegistry } from './lib/search-strategies'; import { uiSettings } from './ui_settings'; export interface LegacySetup { diff --git a/src/plugins/vis_type_timeseries/server/routes/fields.ts b/src/plugins/vis-type-timeseries/server/routes/fields.ts similarity index 100% rename from src/plugins/vis_type_timeseries/server/routes/fields.ts rename to src/plugins/vis-type-timeseries/server/routes/fields.ts diff --git a/src/plugins/vis_type_timeseries/server/routes/vis.ts b/src/plugins/vis-type-timeseries/server/routes/vis.ts similarity index 100% rename from src/plugins/vis_type_timeseries/server/routes/vis.ts rename to src/plugins/vis-type-timeseries/server/routes/vis.ts diff --git a/src/plugins/vis_type_timeseries/server/saved_objects/index.ts b/src/plugins/vis-type-timeseries/server/saved-objects/index.ts similarity index 100% rename from src/plugins/vis_type_timeseries/server/saved_objects/index.ts rename to src/plugins/vis-type-timeseries/server/saved-objects/index.ts diff --git a/src/plugins/vis_type_timeseries/server/saved_objects/tsvb_telemetry.ts b/src/plugins/vis-type-timeseries/server/saved-objects/tsvb_telemetry.ts similarity index 100% rename from src/plugins/vis_type_timeseries/server/saved_objects/tsvb_telemetry.ts rename to src/plugins/vis-type-timeseries/server/saved-objects/tsvb_telemetry.ts diff --git a/src/plugins/vis_type_timeseries/server/ui_settings.ts b/src/plugins/vis-type-timeseries/server/ui_settings.ts similarity index 100% rename from src/plugins/vis_type_timeseries/server/ui_settings.ts rename to src/plugins/vis-type-timeseries/server/ui_settings.ts diff --git a/src/plugins/vis_type_timeseries/server/validation_telemetry/index.ts b/src/plugins/vis-type-timeseries/server/validation-telemetry/index.ts similarity index 100% rename from src/plugins/vis_type_timeseries/server/validation_telemetry/index.ts rename to src/plugins/vis-type-timeseries/server/validation-telemetry/index.ts diff --git a/src/plugins/vis_type_timeseries/server/validation_telemetry/validation_telemetry_service.ts b/src/plugins/vis-type-timeseries/server/validation-telemetry/validation_telemetry_service.ts similarity index 98% rename from src/plugins/vis_type_timeseries/server/validation_telemetry/validation_telemetry_service.ts rename to src/plugins/vis-type-timeseries/server/validation-telemetry/validation_telemetry_service.ts index 87448a531280..f5b33274eceb 100644 --- a/src/plugins/vis_type_timeseries/server/validation_telemetry/validation_telemetry_service.ts +++ b/src/plugins/vis-type-timeseries/server/validation-telemetry/validation_telemetry_service.ts @@ -37,7 +37,7 @@ import { PluginInitializerContext, } from 'opensearch-dashboards/server'; import { UsageCollectionSetup } from '../../../usage_collection/server'; -import { tsvbTelemetrySavedObjectType } from '../saved_objects'; +import { tsvbTelemetrySavedObjectType } from '../saved-objects'; export interface ValidationTelemetryServiceSetup { logFailedValidation: () => void;